Better-T-Stack

A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations
GitHub
2.23k
Created 5 months ago, last commit 2 days ago
29 contributors
733 commits
Stars added on GitHub, month by month
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
7
8
9
10
11
12
1
2
3
4
5
6
2024
2025
Stars added on GitHub, per day, on average
Yesterday
+12
Last week
+14.3
/day
Last month
+20.2
/day
npmPackage on NPM
Monthly downloads on NPM
0
0
0
0
0
0
0
7
8
9
10
11
12
1
2
3
4
5
6
2024
2025
README

Better-T-Stack

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

demo

Quick Start

# Using npm
npx create-better-t-stack@latest

# Using bun
bun create better-t-stack@latest

# Using pnpm
pnpm create better-t-stack@latest

Features

  • Zero-config setup with interactive CLI wizard
  • End-to-end type safety from database to frontend via tRPC
  • Modern stack with React, Hono/Elysia, and TanStack libraries
  • Multi-platform supporting web, mobile (Expo), and desktop applications
  • Database flexibility with SQLite (Turso) or PostgreSQL options
  • ORM choice between Drizzle or Prisma
  • Built-in authentication with Better-Auth
  • Optional PWA support for installable web applications
  • Desktop app capabilities with Tauri integration
  • Monorepo architecture powered by Turborepo

Repository Structure

This repository is organized as a monorepo containing:

Documentation

Visit better-t-stack.dev for full documentation, guides, and examples.

Development

# Clone the repository
git clone https://github.com/better-t-stack/create-better-t-stack.git

# Install dependencies
bun install

# Start CLI development
bun dev:cli

# Start website development
bun dev:web

Want to contribute?

Just fork the repository and submit a pull request!

Sponsors

Sponsors

Star History

Star History Chart