I Built a Universal CLI Scaffolding Tool — Scaffy v1.0.1 is Live
Every time I started a new project, I found myself doing the same thing —
Googling "how to install Laravel", "create-next-app flags", "Django setup
from scratch". Not because I didn't know how, but because I couldn't
remember the exact commands every single time.
So I built Scaffy.
What is Scaffy?
Scaffy is an open source CLI tool that scaffolds any framework in one command
using the framework's official installer — never stale templates, always fresh.
npm install -g scaffy-tool
scaffy laravel
scaffy django
scaffy next
scaffy gin
You pick the framework, answer a few questions, and Scaffy handles the rest.
How it works
Scaffy is built around a simple plugin system. Every framework is exactly
3 files:
- plugin.json — metadata, requirements, version info
- questions.js — what to ask the user
- scaffold.js — what to run
That's it. Anyone can add a new framework in 3 files and open a PR.
What's in v1.0.1
After 3 sprints of development, v1.0.1 ships with 10 frameworks across
4 languages:
| Language | Frameworks |
|---|---|
| PHP | Laravel v13, v12, v11 · Symfony v7 |
| Python | Django v5 · FastAPI |
| Go | Gin v1 |
| JavaScript | ExpressJS v4 · NextJS v14 · NestJS v11 · VueJS v3 |
What makes it different
It uses official installers. Scaffy never ships its own templates.
scaffy laravel runs composer create-project laravel/laravel.
scaffy next runs npx create-next-app@14. You always get the freshest,
most up-to-date project structure the framework team ships.
It checks requirements first. Before running anything, Scaffy checks
that you have the right tools installed at the right versions. No more
cryptic errors halfway through setup.
It detects your package manager. For JavaScript frameworks, Scaffy
checks which of npm, yarn, or pnpm you have installed and offers only
the ones available on your system.
The tech stack
- Node.js 18+ with full ESM
- Commander.js for CLI parsing
- Inquirer.js for interactive prompts
- Jest for testing (150+ tests)
- GitHub Actions CI on Node 18, 20, 22
What's next
-
scaffy add github:user/plugin— install community plugins - AI mode — describe what you want, Scaffy picks the framework
- VS Code extension
- Plugin marketplace
Try it
npm install -g scaffy-tool
scaffy list
GitHub: https://github.com/TanvirHossen112/scaffy
npm: https://www.npmjs.com/package/scaffy-tool
Would love feedback, issues, and PRs. If you want to add a framework,
the plugin system makes it straightforward — open an issue and let's
build it together.
Top comments (0)