Cloudflare SaaS Stack
A batteries-included Next.js starter for building and deploying SaaS products on Cloudflare.
- Category
- Boilerplates & Templates
- Added
- GitHub stars
- 3.7k
About
About Cloudflare SaaS Stack
Cloudflare SaaS Stack, from the Supermemory team, is an opinionated starter for building and shipping SaaS products on Cloudflare. It is a Next.js project bootstrapped with c3 that combines Tailwind CSS, Drizzle ORM, NextAuth for authentication, Cloudflare D1 as a serverless SQLite database, Cloudflare Pages for hosting and shadcn/ui for components. The authors say it is the stack behind Supermemory.
Install Wrangler and log in to a Cloudflare account, clone the repo, install bun, then run bun install, bun run setup and bun run dev. Extra scripts handle the Pages build, local preview, deploy and Cloudflare type generation, and Drizzle migrations work against local or production D1. GitHub lists no license. It suits developers who want a low-cost Cloudflare deployment.
Cloudflare SaaS Stack features
6 features
- Next.js on Cloudflare Pages
- Drizzle ORM with Cloudflare D1
- NextAuth authentication
- shadcn/ui components
- Wrangler preview and deploy scripts
- Migrations for local and production D1
Install Cloudflare SaaS Stack
1 command
Terminal
$ git clone https://github.com/Dhravya/cloudflare-saas-stackWhat you can build with Cloudflare SaaS Stack
3 use cases
- Deploying a SaaS to Cloudflare on a small budget
- Setting up D1 migrations with Drizzle
- Starting an app on the stack Supermemory uses
Boilerplates & Templates
Similar to Cloudflare SaaS Stack
More boilerplates & templates like Cloudflare SaaS Stack: the closest by what they do, then the most starred.
ChadNextTemplateChadNext is an MIT-licensed Next.js starter with shadcn/ui, Lucia auth, Prisma, Server Actions, Stripe and file uploads ready to build on.
HikariTemplateHikari by CoreMVP is a free Next.js 16 starter with Supabase sign-in, a protected dashboard, Stripe subscription billing, docs and a blog.
Agentic React + shadcn/uiTemplateAgentic React + shadcn/ui is a GitHub template with Next.js 16, Neon Postgres and a test harness that lets AI agents drive your app.
LaunchpadTemplateLaunchpad is a Turborepo template with a Next.js 14 app, Supabase auth, a shadcn/ui package, Storybook docs and shared lint and TypeScript configs.
SvelteKit + shadcn-svelte TemplateTemplateA full-stack SvelteKit template using shadcn-svelte, Tailwind CSS v4, better-auth and Drizzle on PostgreSQL, scaffolded by the @gantonl/templates CLI.
Next.js + Supabase Auth StarterTemplateThis MIT starter combines Next.js, Supabase authentication, server actions, Zod, TypeScript, Tailwind CSS and shadcn/ui for a type-safe sign-in flow.
Pricing
Ship it with Pro
The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What Cloudflare SaaS Stack is, how to install it, its license and its alternatives.
Wrangler installed and a login through wrangler login, which requires a Cloudflare account. The README also uses bun for install and scripts.
Cloudflare D1, a serverless SQLite-style database, accessed with Drizzle ORM.
A batteries-included Next.js starter for building and deploying SaaS products on Cloudflare.
Cloudflare SaaS Stack lists Next.js on Cloudflare Pages, Drizzle ORM with Cloudflare D1, NextAuth authentication, shadcn/ui components, Wrangler preview and deploy scripts and Migrations for local and production D1.
The directory lists these uses for Cloudflare SaaS Stack: Deploying a SaaS to Cloudflare on a small budget, Setting up D1 migrations with Drizzle and Starting an app on the stack Supermemory uses.
Cloudflare SaaS Stack is made by supermemoryai, at https://github.com/supermemoryai. Its site is https://github.com/supermemoryai/cloudflare-saas-stack.
Cloudflare SaaS Stack was added to the directory on July 24, 2024.
Cloudflare SaaS Stack is in Boilerplates & Templates. Starters, boilerplates and full templates on shadcn/ui: SaaS kits, dashboards and landing pages to start a project from.
Templates, Starter kit, SaaS, Next.js, Drizzle, Authentication and Tailwind CSS. Each tag has a page listing the other resources that carry it.
No. Cloudflare SaaS Stack's site cannot be framed, so its page shows screenshots of it and a link to the site.
Cloudflare SaaS Stack lists this command: `git clone https://github.com/Dhravya/cloudflare-saas-stack`.
The directory lists no shadcn CLI command for Cloudflare SaaS Stack. Check its docs at https://github.com/supermemoryai/cloudflare-saas-stack for how to add it.
Cloudflare SaaS Stack's repository is https://github.com/supermemoryai/cloudflare-saas-stack.
The directory links no separate docs for Cloudflare SaaS Stack; start from its site at https://github.com/supermemoryai/cloudflare-saas-stack.
The directory records no license for Cloudflare SaaS Stack. Check its repository or site before you use it.
The directory records no price for Cloudflare SaaS Stack. Its site, https://github.com/supermemoryai/cloudflare-saas-stack, is where its pricing, if any, is stated.
No. Cloudflare SaaS Stack is made by supermemoryai and listed here as a link. A shadcn.io Pro plan covers shadcn.io's own blocks, templates and tools.
Other resources in Boilerplates & Templates, newest first: ChadNext, Hikari, Agentic React + shadcn/ui and Launchpad. Their pages are linked under Similar to Cloudflare SaaS Stack.
Open its category, Boilerplates & Templates, or one of its tags (Templates, Starter kit and SaaS): each page lists the resources that share it.
4.9 out of 5 from 150+ developers
Found your stack? Ship it.
6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.
Get Pro




