topboilerplates.com

Svelteflare

A free SvelteKit + Hono SaaS starter deployed edge-first on Cloudflare Workers

Svelteflare
Best for
Developers who want a modern, fully edge-native SaaS starter on Cloudflare Workers with end-to-end type safety between SvelteKit and Hono.
Skip if
You're not deploying to Cloudflare, or you'd rather use a traditional server/Postgres setup than D1 and Workers.

Svelteflare is a free, open-source, MIT-licensed SaaS boilerplate pairing a SvelteKit SPA with a typed Hono API, deployed edge-first on Cloudflare Workers with D1 and Drizzle ORM. It includes Better Auth (email OTP and Google OAuth), Stripe subscription billing, a 56-component shadcn-svelte UI library, end-to-end type-safe RPC, and security middleware like CORS/CSRF/rate limiting.

Pros

  • Free and fully open source (MIT) with no paywalled tiers
  • Edge-first architecture on Cloudflare Workers with D1, keeping hosting costs low
  • End-to-end type safety between SvelteKit frontend and Hono API
  • 56-component shadcn-svelte UI library included, not just a bare-bones starter

Cons

  • Tied to Cloudflare's ecosystem (Workers, D1), less portable to other hosts
  • Built by a small team/individual (Pinebase Dev), so long-term support depends on limited maintainers
  • Being edge/D1-based, some familiar Node.js libraries may not be compatible

Features

Auth and access

  • Auth included
  • Social login

Payments and billing

  • Payments included
  • Subscriptions

AI-friendliness

  • Typed end-to-end

What's in the box

  • Landing page

Data and infra

  • Rate limiting

Licensing and commercial

  • Open source
  • Free tier
  • MIT licensed