Skip to main content

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.

Neutral placeholder imageExample
Sample output (placeholder)

Upload a file

Example result (placeholder)Example
Example result (placeholder)

The 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

  1. Choose one keyword cluster

    Decide the single topic the homepage should rank for, then write the title, description and h1 around it.

  2. 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.

  3. 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.