A full-stack SaaS starter monorepo with React 19, tRPC, Drizzle ORM, Better Auth, Stripe, and Cloudflare Workers.
AmanVarshney01/create-better-t-stack
A CLI that scaffolds end-to-end type-safe TypeScript projects, letting you pick frontend, backend, database, ORM, auth and addons.
- Stars
- 5,857
- Forks
- 328
- Open issues
- 87
- Last commit
- 14 days ago
What is it?
Better-T-Stack is a command-line scaffolding tool that generates TypeScript web projects from a set of configurable choices. You pick a frontend framework (such as React with TanStack Router, Next.js, Nuxt, Svelte, Solid, Astro or React Native), a backend (Hono, Express, Fastify, Elysia or Convex), an API layer (tRPC or oRPC), a runtime, a database with its ORM, and an auth option like Better Auth or Clerk.
The generated projects are meant to be minimal, with no extra code beyond the chosen stack, and use current stable dependency versions. Optional addons cover monorepo tooling like Turborepo and Nx, linters such as Biome and Oxlint, docs sites, PWA and desktop shells, and an MCP server. A web Stack Builder can also produce the matching command for a given stack.
Key features
- 01Pick frontend, backend, API, runtime, database and ORM independently
- 02Supports tRPC or oRPC for end-to-end type-safe APIs
- 03Choose Better Auth or Clerk for authentication
- 04Optional addons for Turborepo, Nx, Biome, Tauri, Starlight and Fumadocs
- 05Works with Bun, pnpm or npm to run the generator
Use cases
- Starting a new full-stack TypeScript app with a specific combination of tools
- Bootstrapping a monorepo with a shared backend and multiple clients
- Generating a mobile app with React Native alongside a web backend
- Letting an AI coding assistant scaffold a project through the bundled MCP server
Quick start
- 1
Scaffold a new project with bun (recommended)
bun create better-t-stack@latest - 2
Or scaffold with pnpm
pnpm create better-t-stack@latest - 3
Or scaffold with npm
npx create-better-t-stack@latest
Things to know
- The Claude Code plugin and the Stack Builder are optional extras and not required to use the CLI.
In collections
Topics
FAQ
- What is create-better-t-stack?
- A CLI that scaffolds end-to-end type-safe TypeScript projects, letting you pick frontend, backend, database, ORM, auth and addons. Better-T-Stack is a command-line scaffolding tool that generates TypeScript web projects from a set of configurable choices. You pick a frontend framework (such as React with TanStack Router, Next.js, Nuxt, Svelte, Solid, Astro or React Native), a backend (Hono, Express, Fastify, Elysia or Convex), an API layer (tRPC or oRPC), a runtime, a database with its ORM, and an auth option like Better Auth or Clerk.
- Is create-better-t-stack free to use? What license does it have?
- create-better-t-stack is open source under the MIT license. Check the license terms before using it in commercial products.
- Is create-better-t-stack still maintained?
- Actively maintained. The last commit to create-better-t-stack was on Oct 24, 2026.
- What can I use create-better-t-stack for?
- Starting a new full-stack TypeScript app with a specific combination of tools Bootstrapping a monorepo with a shared backend and multiple clients Generating a mobile app with React Native alongside a web backend Letting an AI coding assistant scaffold a project through the bundled MCP server
- How do I install create-better-t-stack?
- Scaffold a new project with bun (recommended): bun create better-t-stack@latest Or scaffold with pnpm: pnpm create better-t-stack@latest Or scaffold with npm: npx create-better-t-stack@latest
- Where can I get create-better-t-stack?
- The source code and installation instructions are on GitHub: https://github.com/AmanVarshney01/create-better-t-stack
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Open-source project management app for boards and cards, positioned as a self-hostable alternative to Trello.
An open-source, modular Next.js SaaS starter with auth, organizations, Stripe billing, an admin panel, docs, blog and changelog, each toggleable.
An edge-native SaaS starter on TanStack Start and Cloudflare Workers, with auth, Stripe billing, email, i18n and an admin console.
A CLI that records each package.json dependency override in an appendix and scans for security issues, so overrides can be maintained safely.
A JavaScript framework for building type-safe web APIs, generating OpenAPI specs from JSDoc comments, with built-in SSE streaming for LLM responses.