Production-Ready Astro 6.3 Monorepo Starter
Cloudflare Workers, Tailwind v4, Svelte 5 and everything a modern project needs from the start. MIT-licensed, deploy-ready.
GitHub TemplateCloudflare Workers, Tailwind v4, Svelte 5 and everything a modern project needs from the start. MIT-licensed, deploy-ready.
Get Started in Three Steps
1. Clone the repository (or use as a GitHub template)
git clone https://github.com/casoon/astro-v6-template cd astro-v6-template
2. Install dependencies
pnpm install
3. Start the development server
pnpm dev # starter app pnpm dev:blog # blog app
Structure
astro-v6-template/ ├── apps/ │ ├── starter/ # Landing page + contact form + i18n │ └── blog/ # MDX blog + content collections + RSS ├── shared/ # Design tokens, UI components, utilities ├── e2e/ │ ├── starter/ # Playwright E2E tests for starter │ └── blog/ # Playwright E2E tests for blog ├── biome.json # Lint + format for the entire workspace ├── pnpm-workspace.yaml └── package.json # Workspace root with pnpm catalog
New apps can be added with a folder under apps/.
All apps share design tokens and components from the shared package.
What's Inside
Astro 6.3 + Vite 7
Tailwind CSS v4
Svelte 5 Runes
Cloudflare Workers
Biome
Zod v4
Features
pnpm Workspaces Monorepo
i18n (en/de)
Content Security Policy
OG Images
Astro Actions
Playwright E2E
Post-Build Audit
Secret Scanning
Astro Sessions
RSS Feed
Dark Mode
Site Files
Claude Code Integration
Deployment
wrangler deploy
The Cloudflare adapter generates worker-compatible output directly. Sessions, KV and R2 are pre-configured.
pnpm build:starter pnpm deploy:starter
Swap the Adapter
Astro supports Vercel, Netlify, Node.js and other platforms. Swap the adapter and you're done.
npm install @astrojs/vercel # change adapter in astro.config.mjs
Suitable for
Why Astro – and why a template?
Astro renders static HTML. JavaScript only reaches the browser where it's explicitly included via an island – the result is fast load times without manual optimization. The Cloudflare adapter generates real Workers that run locally under workerd identically to production.
Anyone starting a new Astro project regularly spends the first days on the same tasks: setting up a monorepo, configuring i18n, setting up CSP, configuring linting, integrating tests. This template does that once and for all – so your first commit contains production code, not boilerplate.
Who is this template for?
Developers who want to skip the setup
Agencies & Freelancers
Teams with quality requirements
Multilingual projects
CASOON Open Source Plugins
The template ships with four open source plugins by CASOON – all pre-configured, all MIT-licensed. Together they form a toolchain that automatically catches common quality problems in the Astro workflow.
@casoon/astro-post-audit
Checks SEO, accessibility, hreflang and JSON-LD after every build. Errors block the build before they go live.
@casoon/astro-site-files
Generates robots.txt, sitemap.xml with i18n hreflang, llms.txt, security.txt and humans.txt at build time. No manual maintenance.
@casoon/nosecrets
Prevents API keys and tokens from ending up in the repository – as a pre-commit hook and manual workspace scan.
@casoon/astro-speed-measure
Measures build performance at the level of integrations, Vite plugins and individual pages. JSON baseline and CI summaries included.