Skip to content

Build TypeScript projects with SUPERHUMAN SPEED! Choose your stack, configure your powers, and launch into action!

License

Notifications You must be signed in to change notification settings

BuunGroupCore/precast-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

152 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Precast Logo

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

Website β€’ Builder β€’ Documentation β€’ Discord


✨ 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

Option 1: Visual Builder (Recommended)

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

πŸ“¦ Repository Structure

precast-app/
β”œβ”€β”€ packages/
β”‚   β”œβ”€β”€ cli/                 # Main CLI tool (create-precast-app)
β”‚   β”œβ”€β”€ website/             # Visual builder and documentation site
β”‚   β”œβ”€β”€ ui/                  # Shared UI component library
β”‚   β”œβ”€β”€ utils/               # Shared utilities
β”‚   β”œβ”€β”€ hooks/               # Shared React hooks
β”‚   └── shared/              # Shared configuration and types
β”œβ”€β”€ .github/                 # GitHub workflows and templates
β”œβ”€β”€ docs/                    # Project documentation
└── scripts/                 # Build and maintenance scripts

πŸ”§ Development

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

# Install dependencies
pnpm install

# Build all packages
pnpm build

# Run the website locally
pnpm dev

# Test the CLI locally
cd packages/cli && node dist/cli.js init test-project

Package Scripts

# Run tests
pnpm test

# Run linting
pnpm lint

# Run type checking
pnpm typecheck

# Format code
pnpm format

# Clean all builds
pnpm clean

🀝 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

Development Guidelines

  • Write tests for new features
  • Follow the existing code style
  • Update documentation as needed
  • Keep commits atomic and descriptive
  • Ensure all tests pass before submitting PR

πŸ’– 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

πŸ“Š Stats

Alt

🌟 Showcase

Projects built with Precast:

  • [Your Project Here] - Submit your project via PR!
  • [Example App] - Full-stack demo application
  • [Production Site] - Real-world production deployment

Submit your project to be featured here!

πŸ‘₯ Contributors

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

πŸ“„ License

MIT Β© Buun Group

🚨 Security

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

πŸ”— Links


Made with ❀️ by the Buun Group team

Try the Visual Builder β†’

About

Build TypeScript projects with SUPERHUMAN SPEED! Choose your stack, configure your powers, and launch into action!

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 3

  •  
  •  
  •