For any static site, from a blog to a docs site.A site that answers back.
An Astro starter with AI built in. Every page can summarize itself, translate itself and answer your questions, from the browser, with no backend behind it. This demo is the blog; docs and landing page come in the same repo.
Latest posts
Open any post and try the TL;DR, Translate and Ask the author buttons at the top.
Hello from a blog that answers back
What changes when every post can summarize itself, translate itself and answer questions, with no server behind the site.
How to add posts
Frontmatter fields, the AI switches per post, drafts, tags and where images go.
How "Ask the author" answers
The persona, the rules, what the model sees, and why answers stop at the edge of the post.
Translate in place, not on another site
Why the Translate button rewrites the post where it is, how it keeps headings and code, and what it does with your language.
What a TL;DR leaves out
Summaries are useful and lossy. Here is how the TL;DR button is prompted, and the kinds of sentences it tends to drop.
Also in this repo
The blog is the root project. Two more complete sites ship in examples/, with the same AI wiring and the same design tokens.
- blog
Blog
This site. Posts that summarize, translate and answer questions.
Read it - docs
Docs: Astro AI Docs
Starlight docs with an Ask AI dialog that answers from your own pages, using the Pagefind index.
Open the demo - landing
Landing page: Astro AI Landing Page
A product page where visitors check whether the product fits them, and an FAQ that answers follow-ups.
Open the demo