Skip to content

SCIAM-FR/create-better-s-stack

 
 

Repository files navigation

Better-S-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

demo

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 @sciam-fr/better-s-stack@latest

# Using pnpm
pnpm create @sciam-fr/better-s-stack@latest

# Using npm
npx @sciam-fr/create-better-s-stack@latest

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

Documentation

Visit better-s-stack.sciam.fr for full documentation, guides, and examples. You can also use the visual Stack Builder at https://better-s-stack.sciam.fr/new to generate a command for your stack.

Development

# Clone the repository
git clone https://github.com/SCIAM-FR/create-better-s-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

About

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

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • TypeScript 73.7%
  • Handlebars 23.3%
  • MDX 2.5%
  • CSS 0.3%
  • JavaScript 0.2%
  • Python 0.0%