// cloudflare-native saas · pro

Clone it. Charge your first customer by tonight.

FlareStarter Pro is a revenue-ready, multi-tenant SaaS on Cloudflare — teams, seat billing, metered API credits and AI chat, wired end to end and ready to rebrand.

zsh — my-app
$ git clone github.com/FlareStarter/flarestarter-pro my-app
$ cd my-app && pnpm install
✓ orgs · seats · credits · AI
✓ audit · 2FA · referrals
$ pnpm dev
http://localhost:3000
$

// built on Cloudflare Workers · TanStack Start · Stripe · better-auth · Drizzle · Tailwind

// why edge-native

Runs on Workers

edge

Every route executes on Cloudflare Workers — deployed to the edge with near-zero cold starts.

Data layer included

D1 · KV

D1 for your database and KV for sessions and cache — provisioned and bound out of the box.

Yours to own

full source

Full source code under a commercial license — unlimited projects, lifetime updates, delivered as a private GitHub repo.

// the pro stack

The revenue stack, already wired.

Teams & RBAC

Organizations with email invitations and owner/admin/member roles, enforced end to end.

Seat billing

Per-org Stripe subscriptions — seat quantity syncs as members join and leave, with a daily reconciliation cron.

API keys

Hashed keys with per-plan KV rate limiting and daily usage metering.

Credits

Org balances on an append-only ledger — idempotent top-ups, overdraft-proof spends.

AI chat

Streaming Workers AI chat metered by credits, with automatic refunds on upstream failure.

Audit & 2FA

An append-only security audit trail, plus TOTP two-factor with backup codes.

Growth suite

Double-sided referral rewards, Stripe promotion codes and lifecycle drip emails.

Solo or team

Ship a team SaaS, or flip one switch for a single-player product — same codebase.

// batteries included

Authentication

Email + social login, email verification, and sessions on D1 — via better-auth.

Billing

Stripe subscriptions and a one-time lifetime purchase, with idempotent webhooks.

Admin console

Roles, ban, impersonation, and a dashboard built on real data.

Storage

Cloudflare R2 with validated uploads and a private serving route.

Email

Resend with string templates; degrades to the console locally.

i18n

Path-based English/Chinese routing with per-locale SEO.

SEO

Sitemap, hreflang, canonical, OpenGraph and robots — per locale.

Security

Turnstile, security headers, CSP, rate limiting and fail-fast env validation.

// ai-agent friendly

Clone it, then build with your agent.

End-to-end TypeScript, vertical feature slices, real tests and in-app docs give your coding agent the context to extend the app safely. Ships with an AGENTS.md so it knows the conventions from the first prompt.

$ Claude · Codex · your agent

Ready to charge for it?

Buy once, clone the private repo, and ship your SaaS this week — no infra to manage.

$git clone github.com/FlareStarter/flarestarter-proGet Pro