New: six AI app starters, tested with real usage-based billingSee AI starters

SvelteKit & AstroOpen source

Sandpiper Kit

Open-source SvelteKit starter with hand-rolled session auth you can read

About this starter

Sandpiper Kit avoids auth libraries entirely. Sessions, password hashing with Argon2, email verification, rate-limited login and TOTP two-factor are all implemented in about 600 lines you can audit. The database layer is Drizzle on Postgres, emails go through any SMTP server, and Stripe Checkout handles payments with a webhook that updates a subscriptions table.

The maintainer is opinionated about understanding your own auth, and every file has comments explaining why each check exists. It is a good kit to learn from. The limitation: billing stops at checkout. There is no plan switching, proration or invoice history in the UI, and OAuth providers are left as an exercise with one GitHub example.

Highlights

  • 01Auth in 600 commented lines, no library
  • 02TOTP two-factor and login rate limits
  • 03Works with any SMTP provider

Tags

  • Astro marketing site and SvelteKit app, one repo, one design system

    • astro
    • sveltekit
    • monorepo
    One-time$99 once
  • Samphire

    Featured

    SvelteKit and Supabase starter with teams, billing and a tidy admin

    • sveltekit
    • supabase
    • teams
    One-time$129 once
  • SvelteKit plus PocketBase: a whole SaaS in one binary and one Node process

    • pocketbase
    • sveltekit
    • self-hosted
    FreeFree
Live demo · Forkable— View template →