███╗ ███╗███████╗ ██████╗██╗ ██╗██████╗ ██╗ ██╗██╗██╗ ██████╗
████╗ ████║██╔════╝██╔════╝██║ ██║██╔══██╗██║ ██║██║██║ ██╔══██╗
██╔████╔██║█████╗ ██║ ███████║██████╔╝██║ ██║██║██║ ██║ ██║
██║╚██╔╝██║██╔══╝ ██║ ██╔══██║██╔══██╗██║ ██║██║██║ ██║ ██║
██║ ╚═╝ ██║███████╗╚██████╗██║ ██║██████╔╝╚██████╔╝██║███████╗██████╔╝
╚═╝ ╚═╝╚══════╝ ╚═════╝╚═╝ ╚═╝╚═════╝ ╚═════╝ ╚═╝╚══════╝╚═════╝
Assemble your next project like deploying a mech.
mechbuild is a futuristic, interactive CLI scaffolding tool that generates production-ready project boilerplates.
Every developer choice is framed as selecting a mech component:
- your framework is the chassis
- your database is the memory core
- auth is the security module
Built with a cyberpunk aesthetic that doesn't sacrifice practicality.
- 🤖 Futuristic terminal UX — styled prompts, gradients, ASCII art
- 🏗️ Multi-framework support — Next.js, Express, FastAPI, React, Vue, SvelteKit, Go Fiber
- 🗄️ Database integrations — PostgreSQL, MySQL, SQLite, MongoDB, Redis
- 🔐 Auth scaffolding — JWT, OAuth (GitHub/Google), Session/Cookie
- 📦 Extras system — Docker Compose, GitHub Actions CI, ESLint + Prettier, Husky, Conventional Commits
- 💾 Preset system — save and reload build configurations via
~/.mechrc - 🧪 Dry-run mode — preview generated output without writing any files
- 🎨 Beautiful output — boxen, gradient-string, chalk-powered success screens
Terminal screenshots — coming soon
███████╗██████╗ ██╗ ██╗██████╗ ██████╗
...
◆ Designate your mech frame (project name) › my-saas-app
◆ Select frame class (project type) › Full Stack
◆ Install chassis (framework) › Next.js App Router
◆ Bind memory core (database) › PostgreSQL
◆ Arm security module (authentication) › JWT
◆ Mount subsystems (extras) › Docker, GitHub Actions, ESLint
╔══════════════════════════════╗
║ BUILD MANIFEST ║
║ PILOT ID MY-SAAS-APP ║
║ CHASSIS nextjs ║
║ MEMORY postgresql ║
╚══════════════════════════════╝
Deploy this build? › Yes
✔ Initializing frame structure
✔ Writing 14 components
✔ Calibrating configuration
✔ Sealing chassis
╭────────────────────────────────────────────╮
│ BUILD COMPLETE │
│ ⚡ SP//DR online — my-saas-app assembled │
│ │
│ 📁 Location: ./my-saas-app │
│ 🔧 Next Steps: │
│ $ cd my-saas-app │
│ $ npm install │
│ $ npm run dev │
╰────────────────────────────────────────────╯
npm install -g mechbuildnpx mechbuildgit clone https://github.com/YOUR_USERNAME/mechbuild-cli.git
cd mechbuild-cli
npm install
npm run build
npm linkmechbuild
# or explicitly:
mechbuild buildmechbuild --dry-runmechbuild --preset saas-stackmechbuild --save-preset saas-stackmechbuild presetsmechbuild delete-preset saas-stack| Flag | Description |
|---|---|
--dry-run |
Preview generation without writing files |
--preset <name> |
Load a saved preset from ~/.mechrc |
--save-preset <name> |
Save this config as a named preset |
-v, --version |
Show version number |
-h, --help |
Show help |
| Type | Description |
|---|---|
| Web App | Frontend SPA/SSR applications |
| API Server | Backend REST/async APIs |
| Full Stack | Integrated frontend + backend |
| CLI Tool | Command-line interface programs |
| Category | Options |
|---|---|
| Web App | React (Vite), Next.js App Router, Vue (Vite), Svelte |
| API | Express, FastAPI, Django REST, Go Fiber |
| Full Stack | Next.js App Router, Nuxt, SvelteKit |
| CLI Tool | Node CLI Starter, TypeScript CLI Starter |
PostgreSQL · MySQL · SQLite · MongoDB · Redis · None
JWT · OAuth GitHub · OAuth Google · Session + Cookie · None
Docker Compose · GitHub Actions CI · ESLint + Prettier · Husky Hooks · Conventional Commits · README Template
Presets are stored in ~/.mechrc as JSON:
{
"saas-stack": {
"projectName": "my-saas-app",
"projectType": "fullstack",
"framework": "nextjs",
"database": "postgresql",
"auth": "jwt",
"extras": ["docker", "github-actions", "eslint"]
}
}- Vue (Vite) full template set
- SvelteKit full template set
- Go Fiber full template set
- Database migration scaffolding
- Deployment config (Vercel, Railway, Fly.io)
- Plugin system for custom templates
- Interactive template preview
- Config file support (
.mechbuildrc) - Web UI companion app
Contributions are welcome and appreciated!
- Fork the repository
- Create a feature branch
git checkout -b feat/my-feature- Commit using conventional commits
feat: add X
fix: resolve Y- Push and open a Pull Request
Please read CONTRIBUTING.md before submitting.
MIT © mechbuild contributors
SP//DR Build System · Assemble the future.