SvelteKit & AstroOne-time

Driftwood

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

About this starter

Driftwood ships two apps that share a Tailwind design system: an Astro site for the landing page, blog, pricing and legal pages, and a SvelteKit app behind login. Auth uses Better Auth with Google and email, Stripe handles subscriptions, and there are settings, billing and team pages. The Astro side scores 100 on Lighthouse out of the box.

It is opinionated that marketing and product should deploy separately, so a typo fix on the pricing page never triggers an app release. The shared UI package keeps buttons and colors consistent across both. The limitation: you maintain two frameworks. Contributors need to know Astro and SvelteKit, and session handoff between the two domains needs a careful cookie setup.

Highlights

  • 01Marketing site and app deploy independently
  • 02Shared Tailwind UI package across both apps
  • 03Blog with RSS and OG images generated at build

Tags

  • Astro with Svelte islands on Cloudflare Workers and D1

    • astro
    • cloudflare
    • d1
    One-time$119 once
  • Astro starter for developer-tool SaaS: docs, changelog, pricing, API keys

    • astro
    • starlight
    • api keys
    Open sourceFree
  • Open-source SvelteKit starter with hand-rolled session auth you can read

    • sveltekit
    • open source
    • 2fa
    Open sourceFree
Live demo · Boilerplate Atlas— View template →