This is a community-driven collection of recipes, quick tips, and external community resources that complements Astro Docs.
- Read our Contributing guide to decide whether your content belongs in Astro Tips or official Astro Docs
- Make an issue if you have an idea for a tip or have found a useful resource you think would help others
- Close an issue with a PR
- Join the Discord
Not sure whether to contribute here or to Astro Docs recipes? If a solution is broadly useful, consider proposing it to official Astro Docs first—if it is too specific to maintain there, Astro Tips is a great home for it.
- Contribute to official Astro Docs for short, focused, single-task how-to recipes built around core Astro features, widely used tooling, or common setup gotchas that fit Astro's long-term maintained and translated docs, as well as core API/concept docs and Astro + X guides for popular, actively maintained third-party services.
- Contribute to Astro Tips for:
- Recipes (
src/content/docs/recipes/): in-depth, opinionated, advanced, niche, or experimental step-by-step guides (optionally with runnable projects inexamples/). - Tips (
src/content/docs/tips/): quick tips, patterns, workarounds, and environment- or stack-specific setups for third-party libraries or tooling. - External resources (
src/content/resources.json): links to community blog posts, tutorials, and guides hosted elsewhere—including Astro guides for newer tools or services.
- Recipes (
- Contribute to a package's official docs if the content only covers general library usage without Astro-specific details.
See the full Contributing guide for more details.
Run pnpm install and pnpm astro sync (or pnpm dev) to generate collection JSON Schemas in .astro/collections/. VS Code is pre-configured in .vscode/settings.json to use these schemas for autocompletion and validation in src/content/resources.json, src/content/tags.json, and src/content/authors/*.json, as well as MDX frontmatter via Astro Content Intellisense.
- Create a JSON file in
src/content/authors/<your-slug>.json(for examplesrc/content/authors/jane-doe.json):
{
"name": "Jane Doe",
"github": "janedoe",
"bio": "Short bio or tagline",
"website": "https://janedoe.dev",
"socials": {
"bluesky": "https://bsky.app/profile/janedoe.dev"
}
}Only name is required. Setting github automatically populates your GitHub link and avatar (unless you provide a custom avatar URL). Supported socials keys: bluesky, x, mastodon, linkedin, youtube, discord, twitch, threads, instagram, gitlab, codeberg, codepen, and rss.
- Reference your author ID (the filename without
.json) in theauthorsarray of any tip/recipe frontmatter orsrc/content/resources.jsonentry. Multiple authors are supported:
authors:
- jane-doe
- co-author- Provide best practice solutions to common problems related to building sites with Astro
- Provide in-depth recipes where they are warranted
- Provide quick tips where they are warranted
- Replace Astro Docs or a package's official resources
- Provide incomplete solutions