Introduction
Kavel is a production-ready starter kit for building full-stack apps on Cloudflare, pick the modules you need and ship.
Kavel scaffolds a type-safe monorepo that runs entirely on Cloudflare's edge: a Hono API and a TanStack Start web app, sharing types over oRPC, backed by D1 and Drizzle ORM. Every feature is a module you opt into at create time (auth, email, i18n, UI, payments, and marketing pages) so you never carry code you didn't ask for.
Why Kavel
- Edge-native. Workers, D1, and Web-standard APIs throughout, no Node runtime, no cold-start penalty.
- End-to-end types. The API is contract-first with oRPC; the web app calls it through a fully typed client. Rename a field and the compiler finds every call site.
- Modular. Each capability is a self-contained module. Start minimal, add modules later without a rewrite.
- Batteries, not lock-in. Standard tools (Bun, Turbo, Drizzle, Better Auth, Stripe, Paraglide, Base UI) wired together and yours to edit.
The stack
- Runtime: Cloudflare Workers, deployed with Wrangler
- API: Hono + oRPC (contract-first, end-to-end typed)
- Web: TanStack Start (SSR + file-based routing)
- Data: Cloudflare D1 + Drizzle ORM
- Tooling: Bun (package manager + runtime), Turbo, Biome, TypeScript strict
Create your app
One command scaffolds the monorepo and lets you choose modules interactively:
bash
From there, head to the Quick Start to run it locally, or browse the Modules to see what each one adds.