Stop wasting time on boilerplate and start building features that matter. create-lightbear-app is the most comprehensive CLI tool for scaffolding modern SaaS applications with enterprise-grade architecture and best practices baked in.
# The fastest way to start your SaaS journey
bunx create-lightbear-app@latest my-awesome-saas# Create a new project
bunx create-lightbear-app@latest- ๐ฅ Bun - Blazing fast JavaScript runtime & package manager
- ๐ฆ NPM - Stable and widely used
- ๐งถ Yarn - Classic and reliable
- โก PNPM - Fast and efficient
- ๐ Turborepo - Fast builds with smart caching (recommended)
- ๐ ง Nx - Powerful dev tools & generators
- ๐ NPM Workspaces - Simple & lightweight
- ๐ Rush - Coming soon
- ๐ Lerna - Coming soon
- โฒ Next.js App Router - The future of React with RSC
- ๐ Next.js Pages Router - Battle-tested and reliable
- โก Vite + React - Lightning-fast development
- ๐ Astro - Content-focused with islands architecture
- ๐ React Vanilla - Coming soon
- ๐ Remix - Coming soon
- ๐ tRPC - End-to-end typesafe APIs
- ๐๏ธ NestJS - Enterprise Node.js framework
- ๐ GraphQL + Apollo - Flexible data layer
- ๐ REST APIs - Coming soon
- ๐ญ shadcn/ui - Beautiful copy-paste components
- ๐จ Tailwind CSS - Utility-first styling
- ๐ท Prisma - Popular, feature-rich ORM
- ๐ง Drizzle ORM - Lightweight, type-safe
- ๐ Kysely - Type-safe SQL query builder
- โก Neon - Serverless Postgres
- ๐ฅ Supabase - Open source Firebase alternative
- ๐ PlanetScale - Serverless MySQL
- ๐ค Clerk - Complete user management
- ๐ NextAuth.js - Flexible authentication for Next.js
- ๐ฐ Stripe - Complete payment infrastructure
- ๐ More providers - Coming soon
- ๐ Jest - Unit testing
- ๐ญ Playwright - E2E testing
- โ๏ธ React Testing Library - Component testing
- ๐ฅ Biome - Fast, all-in-one linter & formatter
- ๐ ESLint + Prettier - Traditional setup
- ๐ช Husky - Git hooks
- ๐ Commitlint - Commit message linting
- ๐ Storybook - Build components in isolation
- ๐จ Storybook + Chromatic - Visual testing and review
- ๐ React DevTools - Browser extension recommended
- ๐ Storybook + Figma - Design tokens integration
- ๐ฏ Complete UI Suite - Everything included
- ๐ GitHub Actions - Automated workflows
- ๐ณ Docker - Containerization
- ๐ฑ Progressive Web App (PWA) - Native app experience
- ๐ฏ Liveblocks - Realtime collaboration
- ๐ก Ably - Realtime messaging
- โก Performance optimized - Best practices included
Our CLI guides you through every decision with intelligent defaults:
โโโโฌโโโโโโโโโโฌโโโโ โฆ โฌโโโโฌ โฌโโฌโ โโโโโฌโโโโโโโโฌโโ
โ โโฌโโโค โโโค โ โโค โ โโ โฌโโโค โ โโโ โ โโโคโ โโดโ
โโโโดโโโโโโด โด โด โโโ โฉโโโดโโโโด โด โด โโโ โด โด โดโโโโด โด
๐ A powerful CLI tool to scaffold modern SaaS applications
with best practices and popular technology choices
โจ Features: Turborepo/Nx/NPM โข Next.js/Vite/Astro โข shadcn/ui
TypeScript โข tRPC โข Neon/Supabase โข Auth โข Stripe
Docker โข CI/CD โข Testing โข Storybook โข PWA & more
๐ made with love by Lightbear
? What's your project name? โบ my-awesome-saas
? ๐ฆ Choose your package manager: โบ ๐ฅ bun (blazing fast)
? ๐๏ธ Choose your monorepo tool: โบ ๐ Turborepo (recommended - fast builds & caching)
? โ๏ธ Choose your frontend framework: โบ โฒ Next.js (App Router) / ๐ Next.js (Pages) / โก Vite + React / ๐ Astro
? ๐ Choose your backend / API layer: โบ ๐ tRPC (type-safe APIs)
? ๐งฉ Choose your UI components: โบ ๐จ shadcn/ui (beautiful, accessible components)
? ๐จ Choose a base color for shadcn/ui: โบ Slate (Default)
? ๐๏ธ Choose your ORM / Database layer: โบ ๐ท Prisma (popular, feature-rich)
? ๐ Choose your database provider: โบ โก Neon (serverless Postgres)
? ๐ Choose your authentication: โบ ๐ค Clerk (complete auth solution)
? ๐ณ Choose your payments: โบ ๐ฐ Stripe (payment processing)
? ๐งช Select testing tools: โบ ๐ Jest (unit testing), ๐ญ Playwright (e2e testing)
? ๐ Select CI/CD & DevOps tools: โบ ๐ GitHub Actions (CI/CD automation)
? ๐จ Choose your code quality tools: โบ ๐ฅ Biome (fast, all-in-one)
? ๐ ๏ธ Select developer experience tools: โบ ๐ช Husky (Git hooks)
? ๐ Choose UI development tools: โบ ๐ฏ Complete UI Suite (Storybook + Chromatic + DevTools)
? ๐ฑ Enable Progressive Web App (PWA) support? โบ Yes
? ๐ Choose realtime / collaboration features: โบ ๐ฏ Liveblocks (realtime collaboration)my-awesome-saas/
โโโ ๐ฆ apps/
โ โโโ ๐ web/ # Next.js / Astro / Vite frontend
โ โโโ ๐ฑ mobile/ # React Native (optional)
โ โโโ ๐ง admin/ # Admin dashboard
โโโ ๐ packages/
โ โโโ ๐จ ui/ # Shared UI components
โ โโโ ๐ api/ # tRPC API definitions
โ โโโ ๐พ database/ # Database schema & migrations
โ โโโ ๐ง config/ # Shared configuration
โ โโโ ๐ ๏ธ utils/ # Shared utilities
โโโ ๐ณ docker/ # Container configurations
โโโ ๐ .github/workflows/ # CI/CD pipelines
โโโ ๐ docs/ # Documentation
โโโ ๐งช tests/ # E2E tests
Your project comes with comprehensive environment configuration:
# ๐๏ธ Database Configuration
DATABASE_URL="postgresql://user:password@localhost:5432/mydb"
DIRECT_URL="postgresql://user:password@localhost:5432/mydb"
# ๐ Authentication
CLERK_SECRET_KEY="sk_test_..."
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY="pk_test_..."
# ๐ณ Payments
STRIPE_SECRET_KEY="sk_test_..."
STRIPE_WEBHOOK_SECRET="whsec_..."
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY="pk_test_..."
# ๐ Realtime
LIVEBLOCKS_SECRET_KEY="sk_..."
NEXT_PUBLIC_LIVEBLOCKS_PUBLIC_KEY="pk_..."- โ TypeScript First - Full type safety across the stack
- โ Multiple Frontend Options - Next.js, Vite, or Astro for different use cases
- โ Responsive Design - Mobile-first UI components
- โ Dark Mode - Built-in theme switching
- โ Internationalization - Multi-language support ready
- โ SEO Optimized - Meta tags, sitemaps, and more
- โ Performance - Bundle optimization and caching
- โ Security - CSRF protection, secure headers
- โ Monitoring - Error tracking and analytics ready
- โ Documentation - Auto-generated API docs
We love contributions! Check out our Contributing Guide to get started.
# Clone the repository
git clone https://github.com/lightbearco/create-lightbear-app.git
# Install dependencies
bun install
# Start development
bun dev
# Run tests
bun test- ๐ Documentation - GitHub README
- ๐ Video Tutorials - Coming soon
- ๐ Discord Community - Coming soon
- ๐ฆ Follow Updates - Creator's Twitter
Created by the Lightbear Team
๐จโ๐ป Developer: dawar.pro
๐ Website: Coming soon
๐ Sponsor: GitHub Sponsors - Coming soon
โญ Star us on GitHub โ it motivates us a lot!
MIT ยฉ Lightbear