#7979th of 178 in SaaS and app starters
cloudflare-workers-nextjs-saas-template
Next.js SaaS starter for Cloudflare Workers with auth, Stripe billing, and MCP
- Stars
- 790
- License
- MIT
- Last commit
- Nov 2026
- Language
- TypeScript
750 on 6 May 2026790 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
A SaaS boilerplate that runs a Next.js App Router app on Cloudflare Workers through Vinext, Cloudflare's experimental Vite-based Next.js implementation. It wires in Lucia auth with passkeys and Google OAuth, Drizzle on D1, per-team Stripe subscriptions, an admin dashboard and a CMS. It also exposes a Hono REST API with generated OpenAPI, an OAuth 2.1 provider and a remote MCP server.
Who it is for: Developers building multi-tenant SaaS on Cloudflare Workers
Strengths
- Auth covers email/password, passkeys, Google OAuth, Turnstile and KV-backed sessions
- Per-team Stripe billing is webhook-driven, with a one-command pnpm stripe:setup
- MCP tools derive from the OpenAPI document generated from Valibot schemas
- Includes TipTap CMS, R2 media, i18n (English, Spanish) and GitHub Actions deploy
Weaknesses
- Depends on Vinext, which the README calls experimental; framework changes need extra checks
- Tied to Cloudflare: D1, KV, R2, Images and Email Service bindings
- Notifications, webhooks, dynamic OpenGraph images and SEO tag updates are still TODO
- README carries a promotional block for the sponsor's product
What it needs
- TypeScript
- Needs Cloudflare Workers, Cloudflare D1, Cloudflare KV, Cloudflare R2, Stripe, pnpm
- env example file
Also in SaaS and app starters
See all 178| Rank | Project | Score |
|---|---|---|
| #77 | aimeosLaravel e-commerce shop with admin backend, JSON API and MCP server | 61 out of 100 |
| #78 | reuiCopy-paste shadcn/ui components and dashboard examples for React | 61 out of 100 |
| #80 | velobase-harnessNext.js AI SaaS boilerplate with credits, payments, workers and anti-abuse | 61 out of 100 |
| #81 | antd-adminReact admin dashboard templates with JWT login, mock API and Ant Design | 60 out of 100 |
| #82 | buildadminVue 3 and ThinkPHP 8 admin panel with visual CRUD code generation | 60 out of 100 |