create-launchstack
v1.0.6
Published
An interactive, dynamic scaffolding CLI to generate custom Next.js boilerplates.
Maintainers
Readme
create-launchstack
An interactive, dynamic scaffolding CLI to generate custom Next.js boilerplates.
What is this?
create-launchstack is an opinionated yet flexible scaffolder for modern Next.js apps. Instead of spending an afternoon picking auth, wiring a database, choosing a styling library, and stitching everything into app/providers.tsx, you answer a few questions and get a production-ready Next.js 15 project with every provider already composed and every .env.example already filled in.
Pick what you want, skip what you don't, and start shipping.
Quick start
Pick your favorite package manager:
npx create-launchstackyarn create-launchstackpnpm create-launchstackWhat you can choose
Every step is optional — pick None on any prompt and the scaffolder skips that layer cleanly.
Styling
| Option | Description |
| ------------ | -------------------------------------------------------- |
| tailwind | Tailwind CSS — core utility styles |
| shadcn | Shadcn UI — Tailwind + Radix prebuilt components |
| daisyui | DaisyUI — Tailwind + prebuilt components |
| flyonui | FlyonUI — Tailwind component library with JS behaviors |
Authentication
| Option | Description |
| -------------- | ----------------------------------------------------------- |
| clerk | Clerk — secure hosted auth, middleware, ready components |
| next-auth | NextAuth / Auth.js — flexible database-driven sessions |
| better-auth | Better Auth — type-safe, pairs nicely with Drizzle |
Database & ORM
| Option | Description |
| --------------- | ------------------------------------------------------------ |
| supabase | Supabase Postgres + serverless client SDK |
| prisma | Postgres + Prisma ORM |
| neon-drizzle | Neon (serverless Postgres) + Drizzle ORM |
| firebase | Firebase Cloud Firestore (NoSQL, serverless client SDK) |
Payments
| Option | Description |
| ---------------- | ---------------------------------------------------------- |
| stripe | Stripe — preconfigured checkout routes and webhooks |
| lemon-squeezy | Lemon Squeezy — preconfigured checkout routes and webhooks |
Emails
| Option | Description |
| ------------- | ---------------------------------------------------- |
| resend | Resend — type-safe client and simple API routes |
| sendgrid | SendGrid — secure client and API routes |
| nodemailer | Nodemailer — bring your own SMTP / transport |
State Management & Data Fetching
| Option | Description |
| ----------------- | -------------------------------------------- |
| tanstack-query | TanStack Query — server state and caching |
| zustand | Zustand — lightweight global client state |
Forms
| Option | Description |
| ------------------ | ---------------------------------------- |
| react-hook-form | React Hook Form |
| formik | Formik |
| zod | Zod form validation helpers |
Animations
| Option | Description |
| ---------------- | -------------- |
| framer-motion | Framer Motion |
| motion | Motion |
API Clients
| Option | Description |
| -------- | ----------- |
| axios | Axios |
You'll also be asked for your preferred package manager (npm, pnpm, yarn, bun), whether to initialize a git repository, and whether to run install automatically.
Requirements
- Node.js 18.17 or later
- One of: npm, pnpm, yarn, or bun
- Git (optional, only needed if you choose to initialize a repo)
Usage example
A typical session looks like this:
- Run
npm create launchstack@latest my-app. - Answer a short series of prompts — styling, state, database, auth, payments, email, forms, animation, API client.
- Pick your package manager, then choose whether to initialize git and auto-install dependencies.
- The CLI layers the matching templates, merges every
package.json, concatenates each provider's.env.example, and composesapp/providers.tsxin the correct order (auth → state → styling → children). - When it finishes, you get a printed checklist of next steps — usually just
cd my-appandnpm run dev.
If you picked neon-drizzle, the next-steps note will also remind you to run npm run db:push after filling in your .env.
What you get
A fully working Next.js 15 application with the App Router, ready to develop against:
- Every selected provider is installed and wired up — no copy-pasting from docs.
- A composed
app/providers.tsxthat nests your auth, state, and styling providers in the right order, and is wrapped intoapp/layout.tsx. - A merged
package.jsoncontaining only the dependencies your selections actually need. - A combined
.env.examplewith the keys for every provider you opted into. - TypeScript, ESLint, and a sensible base configuration out of the box.
- Optional auto-initialized git repository and auto-installed dependencies.
Development / Contributing
Want to hack on the CLI itself or add a new template? Contributions are welcome.
git clone https://github.com/shreyzeous21/create-launchstack.git
cd create-launchstack
npm installBuild the TypeScript sources:
npm run buildBuild and run the CLI locally in one step:
npm run devWatch mode while iterating:
npm run watchTemplates live under templates/, grouped by category (auth, db, styling, payments, emails, animations, api-clients, state-management, forms, base). Each option folder can include its own package.json, .env.example, and a template.json manifest that declares providers to be composed into app/providers.tsx.
License
Author
Made by Shrey.
If create-launchstack saves you time, a star on the repo is the kindest thank-you.
