Skip to content

DMsuDev/mfog-cli

Repository files navigation

MFoG Logo

Fast offline project generator for modern web apps

Runtime - Node.js License MIT Published on NPM

React Vue Angular Next.js

Table of Contents

Overview

MFOG is an offline CLI generator for modern web applications.

It allows you to scaffold projects using prebuilt local templates, without requiring an internet connection or downloading external boilerplates.

This makes project creation easy for environments with limited connectivity or for users who prefer a faster setup process.

MFOG App Preview

Note

This project is inspired by CRAO (Create React App Offline) by Baronsindo.

🔗Original repository: https://github.com/Baronsindo/create-react-app-offline/tree/master

CLI Installation

Install MFOG globally via npm:

npm install -g @dmsudev/mfog

Once installed, the mfog command will be available in your terminal.

Note

If you had the deprecated package modular-framework-offline-generator previously installed, uninstall it first:

npm uninstall -g modular-framework-offline-generator

Create a project

Run the CLI:

mfog

You will be prompted for a project name, and MFOG will generate a new directory with a ready-to-use project structure.

It includes:

  • Project scaffold (React / Vue / Angular / Next.js)
  • Preconfigured files
  • Local dependency setup (fully offline)

Project structure

After generation, move into your project:

cd your-project-name

Development

Inside the newly created project, you can run:

npm run dev

This starts the development environment so you can begin working on your application.

If you created a Vue.js or Next.js project, you need to run the following command:

npm start

Frameworks

  • 🟢 Vue v3.5.26
  • 🔵 React v19.2.0
  • 🔴 Angular v21.1.0
  • ⚫ Next.js v16.1.1

Roadmap

  • Offline local templates
  • React, Vue, Angular, Next.js support
  • Offline cache system to replace bundled templates and reduce package size

License

This project is licensed under the MIT License.
See the LICENSE file for more information.

Thanks for checking out MFOG! ❤️

About

Modular CLI for creating projects from multiple frameworks using offline local templates.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors