The Leanest AI SaaS Boilerplate for Svelte 5
Stop fighting Next.js bloat, Server Action caching confusion, and Stripe Tax nightmares. SveltStart AI gives you the complete commercial architecture: pure Svelte 5 Runes, multi-provider AI streaming, self-hosted Better-Auth, and 4% Polar.sh MoR.
How do I use Svelte 5 Runes for ultra-fast reactive state?
<script lang="ts">
// Pure Svelte 5 Runes — No legacy stores!
let count = $state(0);
let double = $derived(count * 2);
$effect(() => {
console.log(`Real-time count update: ${count}`);
});
</script>
<button onclick={() => count++} class="btn">
Count: {count} (Double: {double})
</button>Everything You Need to Ship & Monetize
Skip weeks of repetitive plumbing. Every architectural decision is pre-wired, tested, and optimized for speed and revenue generation.
Pure Svelte 5 Runes
Built strictly with $state, $derived, and $props. Enjoy instantaneous local reactivity, full TypeScript type safety, and zero legacy reactive statement confusion.
Vercel AI SDK v7 Engine
Stream conversations at 60fps from OpenAI (GPT-4o), Anthropic (Claude 3.5 Sonnet), or OpenRouter (DeepSeek). Includes auto-scroll, markdown parsing, and code-copying.
Self-Hosted Better-Auth
Own your users and sessions in PostgreSQL. Supports email/password, social OAuth (GitHub & Google), secure HTTP-only cookies, and server hook protections without vendor lock-in.
Polar.sh 4% MoR Billing
Global sales tax, EU VAT, and merchant compliance handled automatically with a low 4% fee. Supports one-time purchases and recurring subscriptions out-of-the-box for your SaaS.
Supabase PG & Drizzle ORM
Pre-configured for Supabase PgBouncer and Supavisor transaction poolers (prepare: false). Type-safe schemas for auth, billing, conversation history, and telemetry.
Tailwind CSS v4 & Dark Mode
Modern Tailwind v4 with CSS-first @theme variables, Shadcn-Svelte components, and zero-FOUT dark mode default with persistent theme switching.
Why SveltStart AI Outperforms Generic Next.js Starters
Next.js boilerplates come with heavy runtime baggage and vendor subscriptions. See how SveltStart AI delivers a leaner, faster, and more profitable foundation.
Pure Svelte 5 Runes ($state, $derived)
Compiled fine-grained reactivity. Zero Virtual DOM overhead, zero hydration mismatch traps.
React 19 RSC & Virtual DOM
Heavy Virtual DOM diffing, complex Server Action caching traps, and state re-render cascades.
Polar.sh 4% MoR (Merchant of Record)
Automates global EU VAT and US state sales tax compliance without bureaucratic liability.
Raw Stripe / Paddle
Stripe Tax costs extra (5–8% total fees) and leaves sales tax registration liability on you.
Self-Hosted Better-Auth ($0 Forever)
Sessions stored in PostgreSQL. Own your user data with zero vendor lock-in or surprise fees.
Clerk / Auth0 / Supabase Auth
Expensive per-MAU subscription pricing ($0.05+/user) that explodes as your SaaS scales.
0 KB Client Validator Leakage
Server-only Zod boundary guardrail keeps client JS bundles ~80% smaller and blazing fast.
200 KB+ Vendor Client Bundles
Heavy Zod schemas bundled into browser JavaScript, dragging down mobile Lighthouse scores.
Pooler Hardened (prepare: false)
Pre-configured Drizzle ORM ensures zero crashes on Supabase Supavisor transaction poolers.
Default Direct Connections
Serverless functions quickly exhaust PostgreSQL connection limits under traffic spikes.
Unlimited Commercial Use
100% full source code ownership. Ship unlimited SaaS products with zero royalty fees.
Single-Site / Restrictive Seats
Often limited to a single domain or requiring expensive multi-seat team upgrades.
Ready to ship without framework fatigue?
Save 40+ hours of boilerplate plumbing and launch your AI product today.
Simple, Fair Pricing. Choose Your License.
Pay once, own the code forever. Choose between a single production project or unlimited commercial SaaS apps.
Starter License
Perfect for solo developers shipping a single production AI micro-SaaS application.
- Full SvelteKit 3 + Svelte 5 source code
- 1 Commercial SaaS Project License
- Fast AI models (GPT-4o Mini & Claude 3.5 Haiku)
- Better-Auth self-hosted identity & sessions
- Supabase PostgreSQL Drizzle ORM schema
- Polar.sh 4% MoR checkout integration
- 1 Year of security & framework updates
- Community Discord support
14-day 100% money-back guarantee
Lifetime Access
Pay once and keep the boilerplate forever. Ship unlimited AI products with zero recurring fees.
- Everything in Starter License included
- Unlimited commercial SaaS projects
- All 6 foundation AI models (Claude 3.5, GPT-4o, DeepSeek)
- Lifetime access & all future major updates
- Automated GitHub repo access & invites
- Database migrations & seed automation
- Zero subscription fees forever
- Priority 1-on-1 developer onboarding support
14-day 100% money-back guarantee
Frequently Asked Questions
Everything you need to know about the architecture, licenses, payments, and deployment.