Astrok

Write your docs once, in Markdown. Astrok publishes them as a website for people and as clean, linkable sources for AI agents.

Keep one folder of Markdown. Astro turns it into readable pages, while Astrok publishes the original files, stable IDs and metadata for assistants to find and cite. Add Solid 2 components wherever a page needs interaction.

What you’re looking at

This site is built with Astrok. Its reading pages come from the Markdown in the example’s knowledge folder. Use View Markdown and Agent manifest below to compare a page with its published source. The interactive demos show what you can add to those pages.

Try Astrok locally

With Node 24 installed:

git clone https://github.com/f1b0-gh/astrok.git
cd astrok
npm ci
npm run dev

Open http://127.0.0.1:4341/workspace/ for the interactive example. The pages and source downloads remain readable without JavaScript.

To add Astrok to an existing Astro project, follow the installation instructions. The integration uses @astrokjs/astro and @astrokjs/okf, available on npm under the next tag. The guide includes the configuration and page route needed to use them.

This site's reading pages come from 3 Markdown files, published with their exact sources and metadata.

View Markdown · Agent manifest