saifii-cli
v1.1.2
Published
CLI to scaffold projects from prebuilt boilerplates (FastAPI, Laravel, React, Express, Django, Next.js, monorepo, and more).
Maintainers
Readme
saifii-cli
A CLI tool to instantly scaffold projects from production-ready boilerplates. Stop copying files — just run one command.
Installation
Install globally via npm:
npm install -g saifii-cliVerify installation
saifii --versionThat's it — no cloning, no manual linking required.
git clone https://github.com/0xsaifdev/saifii-cli.git
cd saifii-cli
npm install
npm linknpm link makes the saifii command available globally on your machine, pointing at your local checkout.
Usage
Create a project
saifii create <template-name> <project-name>Example:
saifii create react my-app
saifii create django my-api
saifii create laravel my-siteThis will:
- Copy the boilerplate into a new
<project-name>folder - Copy
.env.example→.envautomatically - Initialize a git repository
- Install dependencies using the right package manager
List available templates
saifii listAvailable Templates
| 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 |
| htmlcssjs | HTML + CSS + Vanilla JavaScript | JavaScript |
Notes by Template Type
Python projects (django, fastapi)
Dependency installation is not done automatically. After scaffolding, set up a virtual environment manually:
cd <project-name>
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txtPHP / Laravel projects (laravel)
Requires Composer installed on your machine. The CLI runs composer install and php artisan key:generate automatically.
pnpm projects (monorepo, next-supabase-auth)
Requires pnpm installed. The CLI detects pnpm-workspace.yaml or pnpm-lock.yaml and runs pnpm install automatically.
Requirements
| Tool | Minimum Version |
|---|---|
| Node.js | 18+ |
| npm | 8+ |
| PHP + Composer | 8.2+ (for laravel only) |
| Python + pip | 3.10+ (for django / fastapi only) |
| pnpm | 8+ (for monorepo / next-supabase-auth only) |
