create-supafast-template
v0.1.2
Published
CLI to scaffold fullstack (Next.js + shadcn + Supabase) or landing (Astro + Tailwind) projects
Maintainers
Readme

create-supafast-template
CLI to scaffold projects with zero subcommand prompts:
- Fullstack — Next.js + shadcn/ui
- Landing page — Astro + Tailwind CSS
- Supabase — optional for both templates (
supabase init+supabase start)
Usage
npm create supafast-template@latestAfter choosing the template type, the CLI asks whether to initialize a Supabase local database (default: yes for fullstack, no for landing).
Use . as the project name to scaffold in the current directory (it must be empty, except for an optional .git folder):
mkdir my-landing && cd my-landing
npm create supafast-template@latest . -- --type landing --no-supabaseNon-interactive (CI / scripting):
npm create supafast-template@latest my-app -- --type fullstack --supabase
npm create supafast-template@latest my-landing -- --type landing --no-supabase
npm create supafast-template@latest . -- --type landing --no-supabasePrerequisites
- Node.js 18+
- npm
- Supabase (optional): Docker Desktop running (~7GB RAM recommended for local stack)
What gets created
Fullstack (--type fullstack)
create-next-appwith recommended defaults (TypeScript, Tailwind, ESLint, App Router, nosrc/)shadcn init -dshadcn add --all --yes- Supabase (if enabled):
supabase init+supabase start - Custom
app/page.tsxtemplate
Landing page (--type landing)
create astrowithbasicstemplateastro add tailwind --yes(Tailwind v4 via official Vite plugin)- Supabase (if enabled):
supabase init+supabase start - Custom landing templates:
src/pages/index.astrosrc/layouts/Layout.astro(imports global styles once)src/styles/global.css(@import "tailwindcss"+ design tokens)
Commands run (non-interactive)
Fullstack
npx create-next-app@latest <name> --yes --ts --tailwind --eslint --app --import-alias "@/*"
npx shadcn@latest init -d
npx shadcn@latest add --all --yesSupabase (when enabled)
npx supabase init
npx supabase startLanding
npm create astro@latest <name> -- --yes --template basics --install --skip-houston
npx astro add tailwind --yesTroubleshooting
Supabase did not start
Ensure Docker Desktop is installed and running, then:
cd <project-name>
npx supabase startshadcn components partially installed
cd <project-name>
npx shadcn@latest add --all --yesLocal development
npm install
npm run build
npm link
npm create supafast-template@latest test-app -- --type fullstackLicense
MIT
