Runs entirely on Cloudflare

Ship your SaaS.
Host it for $0/month.

0Stack is a production-ready SaaS starter on Cloudflare Workers: auth, Stripe billing, database, file storage, and email — set up in one command, deployed to 300+ cities in the next.

✓ You're in. Watch your inbox for the founding-price launch.

Launching soon at $79 for the first cohort — then $129. No spam, just the launch email.

0stack — setup in 90 seconds
$ npm install && npm run setup
✓ D1 database created
✓ R2 bucket created
✓ KV namespace created
✓ Secrets written to .dev.vars
✓ Migrations applied
$ npm run deploy
⚡ Live at https://your-saas.workers.dev
100kfree requests / day
$0egress fees on R2
300+cities at the edge
1command to deploy

Batteries included

Everything between “idea” and “first paying customer”

🔐

Auth that just works

Email & password, magic links, Google + GitHub OAuth — powered by better-auth, stored in your own D1. No per-user pricing, ever.

💳

Stripe billing, done right

Subscriptions, trials, customer portal, and idempotent webhooks — replay-tested. Dunning states surface in the UI out of the box.

🗄️

A real database, no servers

Cloudflare D1 with Drizzle ORM: typed queries, generated migrations, and a local dev DB that persists between restarts.

📦

File uploads on R2

Avatar and file flows with zero egress fees, served through your Worker with owner checks — private by default.

✉️

Transactional email

React Email templates sent through Resend. In local dev, emails print to your console — no API key needed to start.

🤖

AI-assistant-ready

Ships with CLAUDE.md, AGENTS.md, and Cursor rules — Claude Code and Cursor understand the codebase from the first prompt.

Why not a free template?

Free Cloudflare starters get you 30% of the way — then abandon you

The free-template experience

  • Auth only — billing is “left as an exercise”
  • The most-starred CF template: untouched for a year+
  • Next.js squeezed through an adapter layer
  • Webhooks without signature checks or replay safety
  • Setup means a weekend of dashboard archaeology

Founding cohort

One price. Unlimited products.

$129
$79

founding price — first cohort only

  • Full source code, private GitHub repo access
  • Unlimited commercial projects — you own what you build
  • 12 months of updates, pinned-version releases
  • Complete docs: setup, billing, customization, feature removal
  • 14-day no-questions refund
✓ You're in. Watch your inbox for the launch.

Questions, answered

What exactly do I get?

The complete 0Stack codebase (Vite 8 + React 19 + Hono on a single Worker, D1 + Drizzle, R2, better-auth, Stripe, Resend), the one-command setup script, an integration test suite, CI config, and full documentation — delivered via private GitHub repo access.

Do I need a paid Cloudflare plan?

No. Everything runs on the free tier: 100k requests/day, 5 GB database, 10 GB storage with free egress. The $5/month Workers plan lifts limits when you have real traction.

Is this another Next.js boilerplate?

No — and that's the point. 0Stack is a Vite SPA and a Hono API in one Worker. No adapter layer, no framework lock-in, sub-second builds, and a request path you can read in an afternoon.

What does “waitlist” get me?

One email when 0Stack launches, with the $79 founding price (it goes to $129 after the first cohort). Nothing else, no spam.