TanStarter is a full-stack SaaS boilerplate built with TanStack Start and Cloudflare Workers that provides authentication, payments, database, storage, email, AI features, and marketing pages so developers can launch production‑ready SaaS products in days instead of weeks.
What is TanStarter?
TanStarter is a paid, ready‑to‑deploy foundation for SaaS applications. It takes a developer’s idea and produces a working web app with user accounts, billing, AI capabilities, and a marketing site — all running on Cloudflare’s edge infrastructure (Workers, D1, R2, KV, Email). The product is created by indie maker Fox, who also built MkSaaS and Mkdirs, and is actively maintained with 450+ commits.
Key Features
- Authentication — Email/password, social login (GitHub, Google, etc.), reset password, and user profile management via BetterAuth, all with optional email verification.
- Payments — Charge for subscriptions or one‑time purchases using Stripe or Creem, complete with webhooks, invoices, and a customer billing portal.
- AI Demos — Built‑in examples for text summarization (BART), translation (M2M100), chat, image generation, and image editing using Cloudflare Workers AI and fal.ai adapters.
- Database & Storage — Drizzle ORM on Cloudflare D1 for SQL, Cloudflare R2 for file uploads, and Cloudflare KV for caching.
- Email & Newsletters — Transactional emails via Resend and Cloudflare Email, plus newsletter integration with Beehiiv including waitlist and templated emails.
- Marketing Pages — Landing page, blog (with auto‑generated sitemap and OG metadata), pricing page, about, contact, and legal pages.
- Admin Dashboard — User management, role assignment (ban/unban), API key generation, and analytics integration.
- One‑Command Deployment — Use the TanStarter CLI (
npx tanstarter-cli@latest create) to provision D1, R2, KV, write environment files, run migrations, and deploy to Cloudflare Workers in about five minutes.
Who is it for?
- Indie developers who want to launch a SaaS product quickly without wiring up authentication, billing, and email from scratch.
- AI‑focused founders building text, chat, or image tools who need ready‑to‑use AI adapters and a scalable edge deployment.
- Agency teams that deliver multiple subscriber‑based applications and want a consistent, production‑tested stack.
- Developers learning modern full‑stack patterns — the codebase follows industry best practices (TypeScript, Drizzle ORM, Shadcn UI v4, Tailwind CSS v4, BiomeJS linting) and is designed to work well with AI coding assistants like Claude Code, Codex, and Cursor.
What can you do with TanStarter?
- Launch a subscription app: Set up pricing tiers, accept payments via Stripe or Creem, and manage customers through an admin panel.
- Build an AI SaaS: Integrate the provided AI text, chat, or image demos and extend them with custom models using the same patterns.
- Create a content site: Use the built‑in blog, newsletter, and landing pages, customize the theme with tools like Tweakcn, and optimize for SEO.
- Run an affiliate program: Leverage TanStarter’s affiliate tracking and live chat (Crisp) to grow your user base.
Pricing
TanStarter is a one‑time purchase: $159 (regular $199) for lifetime access, including all updates and unlimited projects. The first 200 customers receive a $40 discount.
FAQ
Can I see what I get before paying?
Yes. A live demo shows the landing page, auth flow, pricing table, dashboard, AI playground, and blog.