https://github.com/amanvarshney01/create-better-t-stack
A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations
https://github.com/amanvarshney01/create-better-t-stack
better-auth bun clack-prompt cli commander drizzle-orm fumadocs hono prisma shadcn-ui tailwindcss tanstack-router turborepo typescript
Last synced: 13 days ago
JSON representation
A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations
- Host: GitHub
- URL: https://github.com/amanvarshney01/create-better-t-stack
- Owner: AmanVarshney01
- License: mit
- Created: 2025-02-10T17:06:23.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-04-05T17:45:41.000Z (10 months ago)
- Last Synced: 2025-04-05T18:27:22.042Z (10 months ago)
- Topics: better-auth, bun, clack-prompt, cli, commander, drizzle-orm, fumadocs, hono, prisma, shadcn-ui, tailwindcss, tanstack-router, turborepo, typescript
- Language: TypeScript
- Homepage: https://better-t-stack.pages.dev/
- Size: 1.02 MB
- Stars: 238
- Watchers: 3
- Forks: 9
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Better-T-Stack
A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations
## Sponsors

## Philosophy
- Roll your own stack: you pick only the parts you need, nothing extra.
- Minimal templates: bare-bones scaffolds with zero bloat.
- Latest dependencies: always use current, stable versions by default.
- Free and open source: forever.
## Quick Start
```bash
# Using bun (recommended)
bun create better-t-stack@latest
# Using pnpm
pnpm create better-t-stack@latest
# Using npm
npx create-better-t-stack@latest
```
## Features
- Frontend: React (TanStack Router, React Router, TanStack Start), Next.js, Nuxt, Svelte, Solid, React Native (NativeWind/Unistyles), or none
- Backend: Hono, Express, Fastify, Elysia, Next API Routes, Convex, or none
- API: tRPC or oRPC (or none)
- Runtime: Bun, Node.js, or Cloudflare Workers
- Databases: SQLite, PostgreSQL, MySQL, MongoDB (or none)
- ORMs: Drizzle, Prisma, Mongoose (or none)
- Auth: Better-Auth (optional)
- Addons: Turborepo, PWA, Tauri, Biome, Lefthook, Husky, Starlight, Fumadocs, Ruler, Ultracite, Oxlint
- Examples: Todo, AI
- DB Setup: Turso, Neon, Supabase, Prisma PostgreSQL, MongoDB Atlas, Cloudflare D1, Docker
- Web Deploy: Cloudflare Workers
Type safety end-to-end, clean monorepo layout, and zero lock-in: you choose only what you need.
## Repository Structure
This repository is organized as a monorepo containing:
- **CLI**: [`apps/cli`](apps/cli) - The scaffolding CLI tool
- **Documentation**: [`apps/web`](apps/web) - Official website and documentation
## Documentation
Visit [better-t-stack.dev](https://better-t-stack.dev) for full documentation, guides, and examples. You can also use the visual Stack Builder at `https://better-t-stack.dev/new` to generate a command for your stack.
## Development
```bash
# Clone the repository
git clone https://github.com/AmanVarshney01/create-better-t-stack.git
# Install dependencies
bun install
# Start CLI development
bun dev:cli
# Start website development
bun dev:web
```
## Want to contribute?
Please read the Contribution Guide first and open an issue before starting new features to ensure alignment with project goals.
- Docs: [`Contributing`](/apps/web/content/docs/contributing.mdx)
- Repo guide: [`.github/CONTRIBUTING.md`](.github/CONTRIBUTING.md)
## Star History