NebulaKit

A production-ready SvelteKit template powered by Cloudflare's full stack. Auth, database, theming, command palette, drag-and-drop, and an LLM chat UI — built in and tested from day one.

Free and MIT-licensed. Deploy to Cloudflare in minutes — this site is built on it.

Batteries included

Cloudflare-native from the ground up — not a generic starter with an adapter bolted on

SvelteKit Framework

Blazing fast web applications with SvelteKit's powerful routing, server-side rendering, and reactive components. Zero-config TypeScript support included.

Cloudflare Workers

Deploy globally in seconds with Cloudflare's edge network. Lightning-fast responses from 300+ locations worldwide with D1, KV, R2, and Workers AI built-in.

Secure Authentication

Built-in authentication with session management, OAuth providers, and secure password hashing. Ready for email/password, Google, GitHub, and more.

Cloudflare D1 Database

SQLite at the edge with migrations, type-safe queries, and zero cold starts. Scale effortlessly with automatic backups and point-in-time recovery.

Workers AI Ready

Pre-configured for AI integration with Cloudflare Workers AI. Add chat, embeddings, image generation, and LLM capabilities with a few lines of code.

Test-Driven Development

Complete testing setup with Vitest and Playwright. Unit, integration, and E2E tests configured out of the box. TDD workflow with 90%+ coverage targets.

Adaptive Theming

Beautiful light and dark themes with CSS custom properties. System preference detection, smooth transitions, and WCAG AA contrast compliance.

Command Palette

Power-user navigation with keyboard shortcuts (⌘K). Quick access to all features, search, and actions without touching the mouse.

Developer Experience

Hot module replacement, TypeScript, ESLint, Prettier, and Git hooks configured. Build, test, and deploy with confidence using best practices.

GitHub Copilot Ready

Pre-configured with comprehensive Copilot instructions for TDD workflows, architectural patterns, and best practices. Accelerate development with AI-powered assistance.

WebSocket & Real-time

Built-in support for Cloudflare Durable Objects and WebSockets. Build real-time applications like chat, notifications, and live updates with ease.

RESTful API Architecture

Clean API design with SvelteKit endpoints. Type-safe request/response handling, middleware support, and automatic validation for robust backend services.

Page Builder

Build pages by dragging blocks into place, then publish them at /p/your-slug. Pages are stored as data, never code. Every save keeps a revision, and a restore can be undone.

Site API and API Keys

A public API under /api/v1, described by an OpenAPI file. Keys have scopes and an expiry. A key is shown once and stored hashed, and you can revoke it in one click.

Shop with Stripe

Products, a cart and Stripe checkout. The server works out every price. Late payments, failed payments and expired sessions are handled, and a replay changes nothing twice.

Transactional Email

Receipts and shipping notices through Resend. Each email goes out at most once per order. With no key set, nothing is sent and the log records what was skipped.

Regional Pricing

Lower prices where money buys more, using a World Bank price table. Off by default, and it only ever lowers a price. A VPN alone earns no discount.

Roles and Permissions

Four roles: owner, superadmin, admin and user. Give each admin only the areas they need. You can only act on someone below your own role.

Audit Log and Sign-in Tracking

See who changed what. The log records changes only, and never a secret value. Sign-in tracking is off by default because it is the one place the site stores an IP address.

Scheduled Jobs

A small cron Worker runs your jobs on a schedule. Each job runs once per scheduled minute, retries are safe, and every run is recorded in the admin.

SEO Toolkit

A site-wide JSON-LD graph, a redirect manager, canonical host handling and security.txt. A Lighthouse admin audits your public pages.

Security Hardening

Security headers on every response, login throttling, and safer OAuth account linking. CI fails if anyone edits a committed migration.

Encrypted Secrets

AI keys and OAuth client secrets are encrypted with AES-256-GCM before they are saved. The admin shows only the last four characters. Rotate the key and old values are re-encrypted when read.

Drag & Drop

A widget board with pointer, touch and keyboard dragging, a widget registry, and a reorder engine that cannot corrupt its own ordering. Nothing here is a screenshot.

Try it live

Skip the plumbing

Every new project starts with the same weeks of setup. This one starts with it finished.

  • Deploy in minutes

    Cloudflare Workers with D1, KV, R2, and Queues pre-configured. No infra setup.

  • Real auth, not a stub

    Email/password plus Google and GitHub SSO, with account linking already handled.

  • Accessible & themeable

    WCAG-AA colors, light and dark, CSS design tokens — and a contrast validator in CI.

  • Tested by default

    A TDD harness with a real coverage gate, not a token test file and good intentions.

  • Complete, not a skeleton

    Command palette, chat UI, and drag-and-drop are working features, not TODOs.

  • Type-safe end to end

    TypeScript throughout, including Cloudflare Workers types for the bindings.

Measured, not claimed

Every public page of the template and of this site, audited on a production build.

100

on every page,
in every category

Lighthouse badge: 100 in all four categories Built on NebulaKit? Take the badge.

Lighthouse 13.5.0, desktop preset, median of 3 runs per page, on . Login and signup are not listed: robots.txt keeps the auth flow out of search on purpose, and Lighthouse scores a crawl block as an SEO failure. Reproduce the whole run with bun run lighthouse.

Ship your idea to the edge

In minutes, not days. Click "Use this template", run the one-time customization, and deploy.