One Command Setup
Run npx astro-starlight-docs-template init and answer a few questions. Everything is configured automatically.
Building documentation is easy with Astro and Starlight. But making it production-ready requires implementing analytics, GDPR compliance, SEO optimization, and modern AI crawler support. This tool does all of that in one command.
One Command Setup
Run npx astro-starlight-docs-template init and answer a few questions. Everything is configured automatically.
GDPR Compliant
Regional cookie consent with Google Consent Mode v2. Fully compliant with EU regulations out of the box.
Google Analytics Ready
Pre-configured GA4 with consent mode, IP anonymization, and secure cookie flags. No manual setup needed.
SEO Optimized
Open Graph tags, Twitter Cards, and Schema.org structured data ready. Rank higher in search results.
LLM Friendly
Generates llms.txt for AI crawlers like ChatGPT, Claude, and Gemini. Make your docs AI-discoverable.
Plugin Ecosystem
OpenAPI docs, Mermaid diagrams, blog, image zoom, and more — all pre-configured and ready to use.
Navigate to your project
cd my-astro-docsRun the optimizer
npx astro-starlight-docs-template initnpm install -g astro-starlight-docs-templateastro-starlight-docs-template initBuild and deploy
npm run buildllms.txt| Feature | Manual Setup | This Tool |
|---|---|---|
| Time Required | 4-6 hours | 2 minutes |
| GDPR Compliance | Research required | Built-in |
| Consent Mode v2 | Complex setup | Automatic |
| OpenAPI Docs | Separate tool | Integrated |
| Mermaid Diagrams | Plugin research | Pre-configured |
| Blog | Custom setup | Ready to go |
| Maintenance | Your responsibility | npm updates |