DEV Community

Muhammad Saif
Muhammad Saif

Posted on

Build a CLI Tool to Stop Copy-Pasting Boilerplate

I Built a CLI Tool to Stop Copy-Pasting Boilerplate

Every new project meant the same ritual: Google or AI Tool for boilerplate, copy-paste from docs, set up npm, init git, configure files. Rinse, repeat.

Frustrated, I built saifii-cli — a one-command solution that handles it all.

What It Does

npx saifii-cli
Enter fullscreen mode Exit fullscreen mode

That's it. You get:

  • Full project structure
  • npm install auto-run
  • git init auto-run
  • All configs ready to go
  • Multiple boilerplate templates to choose from

Started as a personal time-saver. Now it's got enough templates that I thought it'd be useful to share.

Why I Built This

As a developer juggling multiple projects, I was losing 15-20 minutes per new project just on setup. Multiply that across dozens of projects a year, and it adds up. So I automated it.

How to Use It

  1. Install: npm install -g saifii-cli
  2. Create a new project: npx saifii-cli
  3. Pick your template
  4. Start coding

Templates Available

Template Stack Language
react React 19 + TypeScript + Vite + Tailwind CSS v4 JavaScript / TypeScript
next Next.js 15 + TypeScript + Tailwind CSS v4 + App Router JavaScript / TypeScript
next-supabase-auth Next.js + Supabase Auth + Tailwind CSS JavaScript / TypeScript
monorepo Turborepo + Next.js + Express API + pnpm workspaces TypeScript
express Express.js + CORS + Cookie Parser + dotenv JavaScript
django Django 5 + Django REST Framework + CORS headers Python
fastapi FastAPI + SQLAlchemy + Pydantic Settings + Alembic Python
laravel Laravel 11 + MVC structure + SQLite default PHP
vanilla HTML + CSS + Vanilla JavaScript JavaScript

Open to Feedback

Built this for myself, but if it helps your workflow too, I'd love to hear about it. And if you find it useful, a star on the repo means the world. It keeps me motivated to add more templates and features.

Github -> saifii-cli

Happy coding! 🚀

Top comments (0)