Template: a SaaS starter you can ship this week
This page is sample content from the template. It is rendered from src/home/home.en.ts, so changing that one file changes the homepage.
Example
ExampleThe short answer
This template is a ready-made SaaS foundation: Better Auth for sign-in, Stripe or Waffo for payments, Cloudflare D1 and R2 for data and files, and a blog, all running on Cloudflare Workers. You edit one data file per language to turn this page into your own launch page.
What the SaaS starter includes
Authentication
Better Auth handles email sign-in, password reset and social login, with route guards for signed-in and admin pages.
Payments
Stripe and Waffo are wired behind one provider setting. A project enables exactly one of them.
Data and files
Cloudflare D1 through Drizzle ORM stores data, and Cloudflare R2 stores uploaded files.
Content and languages
Markdown blog posts are built at compile time, and paraglide provides English and Chinese messages.
How to replace this sample homepage
Choose one keyword cluster
Decide the single topic the homepage should rank for, then write the title, description and h1 around it.
Edit the data file
Rewrite src/home/home.en.ts section by section. Add src/home/home.zh.ts only if you want a Chinese homepage.
Run the checks
Run pnpm check. The unit tests validate the schema, the section order and the in-page anchors before you ship.
SaaS starter FAQ
Start from this template
Replace the sample copy, set your pricing and ship.