TypeScript MIT

create-better-t-stack

A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations

A

AmanVarshney01

Dernière activité 27 sept. 2026
AmanVarshney01/create-better-t-stack

5,8 k

étoiles

333

forks

166

issues ouvertes

better-authbunclack-promptclidrizzle-ormexpofumadocshonoprismashadcn-uisolidsveltekittailwindcsstanstack-routerturborepotypescript

Ce README est souvent en anglais.

Better-T-Stack

A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations


Vercel OSS Program

Sponsors

Sponsors

better-t-stack-demo.mp4

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

# 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

Claude Code plugin

Want your AI assistant to scaffold and extend projects with Better-T-Stack? Install the plugin and it will plan a valid stack and generate it through the bundled MCP server instead of hand-rolling boilerplate.

/plugin marketplace add AmanVarshney01/create-better-t-stack
/plugin install better-t-stack@better-t-stack

Then ask: "create a fullstack app with Next, Hono, Postgres and Better Auth", or run /better-t-stack:new <description>. See plugin/ and the Agent Workflows docs.

Features

  • Frontend: React (TanStack Router, React Router, TanStack Start), Next.js, Nuxt, Svelte, Solid, Astro, React Native (Bare, NativeWind, Unistyles), or none
  • Backend: Hono, Express, Fastify, Elysia, Self (fullstack web app), 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 or Clerk (optional)
  • Addons: Turborepo, Nx, PWA, Tauri, Electrobun, Biome, Lefthook, Husky, Starlight, Fumadocs, Ultracite, Oxlint, MCP, OpenTUI, WXT, Skills
  • 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 - The scaffolding CLI tool
  • Documentation: apps/web - Official website and documentation
  • Plugin: plugin - Claude Code plugin (MCP server + skills + commands + agent)

Documentation

Visit 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

# 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.

Star History

Star History Chart

Projets similaires

The best way to start a full-stack, typesafe Next.js app

TypeScriptclicreate-t3-apphacktoberfest
Tt3-oss
29,2 k étoiles1,5 k

Scaffold production-ready full-stack apps in TypeScript, Rust, Python, Go, and Java with a visual builder and CLI. Choose your frontend, backend, database, auth, AI, payments, and DevOps integrations, all wired together.

TypeScriptboilerplateclidotnet
MMarve10s
752 étoiles53

Create Next Stack is a website and CLI tool used to easily set up the boilerplate of new Next.js apps.

TypeScriptboilerplateclieslint
Aakd-io
569 étoiles31