NanoShip

The Next.js SaaS boilerplate built for Cloudflare

NanoShip is a Next.js SaaS starter kit for Cloudflare Workers. Auth, credits, payments, and an AI chat module come wired through OpenNext. Clone it, run one command, and ship.

What is in the boilerplate

Ship your SaaS in three steps

  1. 1

    Clone and install

    Copy the template and run pnpm install.

  2. 2

    Run ship init

    Set your brand, domain, and keys, then let the ship skill wire them in.

  3. 3

    Deploy to Cloudflare

    Build with OpenNext and ship to Workers.

5
Starter pages
13
Lean database tables
0
Cloud credentials to build
1
Command to set up

Frequently asked questions

What is NanoShip?

A Next.js SaaS boilerplate for Cloudflare. You get Google auth, credits, payments, an AI chat module, i18n, theming, and five starter pages, ready to clone and ship.

Which stack does it use?

Next.js 15 App Router, Cloudflare Workers through OpenNext, D1 with Drizzle ORM, and Tailwind CSS.

Why Cloudflare instead of Vercel?

It runs on Cloudflare Workers through OpenNext, so you get D1, KV, and R2 at the edge with no vendor lock in. It also builds locally with no cloud credentials.

Is it open source and self hostable?

Yes. It is a code template you own and deploy to your own Cloudflare account.

Can I remove the AI chat module?

Yes. It lives in its own service and routes, so you can delete it without touching the rest.

How do I rebrand it?

Fill your values in the seed folder and run the ship skill, which writes them into the project.