Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Static Astro 7 starter for Cloudflare Pages: marketing, blog, docs via Markdown, i18n-ready, SEO, light/dark — no CMS.
Astro Cloudflare Starter is a static site boilerplate for building marketing, blog, and documentation pages with Astro 7 and deploying them to Cloudflare Pages, using Markdown content from Git with no CMS or database.
It is a production-ready starter template that takes Markdown and JSON content from src/content/ and TypeScript configuration from src/config/ and outputs a fully static site to the dist/ folder. The site includes marketing pages, a blog, and Starlight-powered documentation with full-text search. The template runs on Astro 7 and is designed for deployment to Cloudflare Pages, with a GitHub repository published by milzamsz.
locale frontmatter field, and adding a language is documented in docs/guides/internationalization.llms.txt are all generated from a single site.config.ts.wrangler.jsonc if not needed.site.config.ts and nav.config.ts, and start writing Markdown.site.config.ts, then write pages in src/content/pages; the generated site includes SEO tags, RSS, and an sitemap./docs Starlight section to publish guides, and override the edit link to point contributors to your repository.Connect the repository to Cloudflare Pages and set the build command to pnpm build with output directory dist, or deploy manually with npx wrangler pages deploy dist. The repo includes a wrangler.jsonc for Cloudflare configuration and a CLEANUP_SECRET Cloudflare secret for the optional R2 cleanup worker. Full setup steps are in SETUP.md.
