JSPM

  • Created
  • Published
  • Downloads 119
  • Score
    100M100P100Q73143F
  • License MIT

CLI tool to scaffold modern web applications with your chosen stack

Package Exports

  • create-precast-app
  • create-precast-app/package.json

Readme

Precast Logo

create-precast-app

🚀 Build TypeScript projects with SUPERHUMAN SPEED!

Choose your stack, configure your powers, and launch into action!

npm version npm downloads GitHub Stars License

WebsiteBuilderDocumentationDiscord


✨ Features

  • 🎯 Visual Builder - Configure your stack visually at precast.dev/builder
  • 🎨 Multi-framework support - React, Vue, Angular, Next.js, Nuxt, Svelte, Solid, Remix, Astro, Vite, and Vanilla JS
  • 🔧 Backend integration - Express, Fastify, Hono, NestJS, or Next.js API Routes
  • 🗄️ Database setup - PostgreSQL, MySQL, MongoDB, SQLite with Prisma, Drizzle, or TypeORM
  • 🔐 Authentication - Better Auth, NextAuth, Clerk, Supabase Auth, Auth0, Firebase Auth
  • 💅 UI libraries - Shadcn/ui, DaisyUI, Material UI, Chakra UI, Ant Design, Mantine
  • 🤖 AI Integration - Claude Code with MCP servers, GitHub Copilot configuration
  • 📦 Smart package management - Automatic fallback handling for compatibility issues

🚀 Quick Start

Visit precast.dev/builder to visually configure your stack and copy the generated command.

Option 2: Command Line

# Interactive mode
npx create-precast-app@latest

# With options
npx create-precast-app my-app --framework react --backend express --database postgres

# Full configuration
npx create-precast-app my-app \
  --framework next \
  --backend express \
  --database postgres \
  --orm prisma \
  --styling tailwind \
  --ui-library shadcn \
  --auth better-auth \
  --install

📖 Commands

Command Description Documentation
init Create a new project with your chosen stack Docs
add Add resources to existing project (component, route, api) Docs
add-features Add features to existing project (UI libs, AI context) Docs
list List available templates and features Docs
banner Create a banner template for customization Docs

Examples

# Create a Next.js app with everything configured
npx create-precast-app my-nextjs-app \
  --framework next \
  --backend none \
  --database postgres \
  --orm prisma \
  --styling tailwind \
  --ui-library shadcn \
  --auth better-auth \
  --ai claude \
  --mcp-servers postgresql,github \
  --install

# Create a React + Express full-stack app
npx create-precast-app my-fullstack-app \
  --framework react \
  --backend express \
  --database postgres \
  --orm drizzle \
  --api-client tanstack-query \
  --install

# Add authentication to existing project
npx create-precast-app add-features \
  --auth better-auth \
  --provider github,google

🛠️ Available Options

Category Options
Frontend Frameworks react vue angular next nuxt svelte solid remix astro vite vanilla
Backend Frameworks express fastify hono nest none
Databases postgres mysql sqlite mongodb none
ORMs prisma drizzle typeorm mongoose none
Styling tailwind css scss css-modules styled-components emotion
UI Libraries shadcn daisyui material-ui chakra-ui ant-design mantine
Authentication better-auth next-auth clerk supabase-auth auth0 firebase-auth
AI Assistance claude copilot none

📈 Star History

Star History Chart

🎯 Why Precast?

  • Zero Config - Sensible defaults that just work
  • Production Ready - Best practices and security built-in
  • Type Safe - Full TypeScript support across the stack
  • Modern Stack - Latest versions of all dependencies
  • AI Ready - Claude Code and GitHub Copilot pre-configured
  • Fast Development - Hot reload, auto-completion, and more
  • Extensible - Easy to customize and extend

🔧 Development

# Clone the repository
git clone https://github.com/BuunGroupCore/precast-app.git

# Install dependencies
pnpm install

# Build the CLI
pnpm --filter create-precast-app build

# Test locally
./packages/cli/dist/cli.js init test-project

🤝 Contributing

We love contributions! Please see our Contributing Guide for details.

How to Contribute

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

💖 Sponsors

A huge thank you to our sponsors who make this project possible!

Sponsor us on GitHub

Gold Sponsors

Become our first gold sponsor!

Silver Sponsors

Your company here

Bronze Sponsors

Support the project

👥 Contributors

Thanks to all the amazing people who have contributed to this project!

📄 License

MIT © Buun Group Core

🚨 Security

For security issues, please email security@precast.dev instead of using the issue tracker.

📊 Stats

Alt


Made with ❤️ by the Buun Group Core team

Try the Visual Builder →