Google AI Agents

Meet Blume: An Open-Source, Zero-Config Documentation Framework That Ships AI-Ready Docs From a Markdown Folder

Meet Blume: An Open-Source, Zero-Config Documentation Framework That Ships Ai-Ready Docs From A Markdown Folder

Hayden Bleasel, an expert developer from OpenAI, released Blume, an open-source documentation framework. Blume shipped to npm as version 1.0.3 the same day. It is as simple as Drop Markdown into a folder and ship a docs site. No app boilerplate is written or maintained afterward. The project is MIT-licensed and open sourced.

What is Blume?

Blume is a command-line tool paired with a component library for docs. It reads a folder of Markdown or MDX files. From that folder, it produces a production-grade documentation site. That output ships navigation, search, theming, and Open Graph images. Configuration stays optional and is added one file at a time. The code is a TypeScript monorepo; the published package sits at packages/blume. Blume’s own documentation, under apps/docs, is built with Blume itself. It requires Node.js 22.12 or newer. It runs with Bun, pnpm, npm, or yarn.

How Blume Works?

Under the surface, Blume generates and drives a hidden Astro project. First, the CLI loads blume.config.ts and scans your content into a graph. Next, it writes an Astro project into a .blume/ directory. Astro then renders every page through a single catch-all route. That route imports Blume’s shipped components, the generated data, and your overrides. On each run, .blume/ regenerates, and only changed files are rewritten. As a result, hot reload stays fast during editing. The core theme ships no client framework JavaScript. Consequently, pages score well on Core Web Vitals by default. When you need full control, blume eject promotes the runtime into a standalone Astro app. That ejected project still depends on the blume package.


Run blume dev</button>
<button id=”prevBtn” disabled>‹ Prev</button>
<button id=”nextBtn”>Next ›</button>
<button id=”resetBtn”>↺ Reset</button>
<div class=”spacer”></div>
<label class=”toggle on” id=”aiToggle”><span class=”dot”></span> Show AI outputs</label>
</div>

<div class=”foot”>
<span>Blume v1.0.3 · MIT · Node.js 22.12+ · Astro + Vite</span>
<span>Interactive explainer by <a class=”mtp” href=”https://www.marktechpost.com” target=”_blank” rel=”noopener”>Marktechpost</a></span>
</div>
</div>

<script>
(function () {
var root = document.getElementById(“blume-explainer”);
var token = root.querySelector(“#token”);
var nodes = root.querySelectorAll(“.node[data-stage]”);
var aiNodes = root.querySelectorAll(“.ai-node”);
var aiBranches = root.querySelectorAll(“.ai-branch”);
var stepLabel = root.querySelector(“#stepLabel”);
var stepTitle = root.querySelector(“#stepTitle”);
var stepText = root.querySelector(“#stepText”);
var termText = root.querySelector(“#termText”);
var runBtn = root.querySelector(“#runBtn”);
var prevBtn = root.querySelector(“#prevBtn”);
var nextBtn = root.querySelector(“#nextBtn”);
var resetBtn = root.querySelector(“#resetBtn”);
var aiToggle = root.querySelector(“#aiToggle”);

// token positions per stage (cx, cy)
var pos = [
[85, 90], [250, 90], [470, 90], [700, 70], [700, 163], [842, 90]
];

var steps = [
{ label: “Stage 1 / 6”, title: “A folder of Markdown”, term: “docs/ index.mdx guide.mdx api.mdx”,
text: “You start with .md or .mdx files in a folder. There is no starter to clone and no app boilerplate to maintain.” },
{ label: “Stage 2 / 6”, title: “The CLI loads your config”, term: “blume dev ✓ loaded blume.config.ts”,
text: “blume dev loads blume.config.ts. It reads your content sources, theme tokens, and options, all type-checked by a schema.” },
{ label: “Stage 3 / 6”, title: “Content is scanned into a graph”, term: “scanning content … ✓ 3 pages, nav inferred”,
text: “Blume scans every page into a content graph. Navigation is inferred from your files, so you rarely hand-write it.” },
{ label: “Stage 4 / 6”, title: “A hidden Astro project is generated”, term: “writing .blume/ ✓ only changed files”,
text: “Blume writes a hidden Astro project into .blume/. It regenerates each run, rewriting only changed files, so hot reload stays fast.” },
{ label: “Stage 5 / 6”, title: “Astro + Vite render the pages”, term: “rendering via catch-all route ✓”,
text: “Astro renders every page through one catch-all route. It imports Blume’s components, the generated data, and any overrides you add.” },
{ label: “Stage 6 / 6”, title: “Static HTML ships to dist/”, term: “blume build ✓ dist/ + search index”,
text: “The build outputs static HTML and a local search index into dist/. The core theme ships no client framework JS, helping Core Web Vitals.” }
];

var current = -1;
var playing = false;
var playTimer = null;

function paintNodes(active) {
nodes.forEach(function (n) {
var s = parseInt(n.getAttribute(“data-stage”), 10);
var rect = n.querySelector(“rect”);
if (s === active) {
rect.setAttribute(“stroke”, “#ff7000”);
rect.setAttribute(“stroke-width”, “2.5”);
rect.setAttribute(“fill”, “#241108”);
} else if (s < active) {
rect.setAttribute(“stroke”, “#7a4a1e”);
rect.setAttribute(“stroke-width”, “1.5”);
rect.setAttribute(“fill”, “#1a120b”);
} else {
rect.setAttribute(“stroke”, “#33281f”);
rect.setAttribute(“stroke-width”, “1.5”);
rect.setAttribute(“fill”, “#17120e”);
}
});
}

function moveToken(i) {
if (i < 0) { token.style.opacity = 0; return; }
token.style.opacity = 1;
token.style.transition = “cx .55s cubic-bezier(.4,0,.2,1), cy .55s cubic-bezier(.4,0,.2,1)”;
token.setAttribute(“cx”, pos[i][0]);
token.setAttribute(“cy”, pos[i][1]);
}

function render(i) {
current = i;
if (i < 0) {
stepLabel.textContent = “Ready”;
stepTitle.textContent = “Press Run to watch the build”;
stepText.textContent = “Blume needs only a folder of Markdown. Everything below is generated for you and thrown away on each run, unless you eject.”;
termText.textContent = “npx blume init”;
paintNodes(-1); moveToken(-1);
} else {
var s = steps[i];
stepLabel.textContent = s.label;
stepTitle.textContent = s.title;
stepText.textContent = s.text;
termText.textContent = s.term;
paintNodes(i); moveToken(i);
}
prevBtn.disabled = (i <= 0);
nextBtn.disabled = (i >= steps.length – 1);
reportHeight();
}

function next() { if (current < steps.length – 1) render(current + 1); }
function prev() { if (current > 0) render(current – 1); }

function play() {
playing = true;
runBtn.textContent = “⏸ Pause”;
if (current >= steps.length – 1) render(0); else next();
playTimer = setInterval(function () {
if (current >= steps.length – 1) { stop(); return; }
next();
}, 1700);
}
function stop() {
playing = false;
runBtn.textContent = current >= steps.length – 1 ? “↺ Replay” : “▶ Run blume dev”;
if (playTimer) { clearInterval(playTimer); playTimer = null; }
}

runBtn.addEventListener(“click”, function () {
if (playing) { stop(); }
else { if (current >= steps.length – 1) render(-1); play(); }
});
nextBtn.addEventListener(“click”, function () { stop(); next(); });
prevBtn.addEventListener(“click”, function () { stop(); prev(); });
resetBtn.addEventListener(“click”, function () { stop(); render(-1); });

aiToggle.addEventListener(“click”, function () {
var on = aiToggle.classList.toggle(“on”);
aiNodes.forEach(function (n) {
n.style.opacity = on ? 1 : 0.18;
var r = n.querySelector(“rect”);
r.setAttribute(“stroke”, on ? “#7a4a1e” : “#33281f”);
});
aiBranches.forEach(function (b) {
b.style.opacity = on ? 1 : 0.15;
b.setAttribute(“stroke”, on ? “#7a4a1e” : “#33281f”);
});
reportHeight();
});

// auto-resize for WordPress embed (component offsetHeight + buffer)
function reportHeight() {
try {
var h = root.offsetHeight + 40;
if (window.parent) {
window.parent.postMessage({ type: “blume-explainer-height”, height: h }, “*”);
}
} catch (e) {}
}
window.addEventListener(“load”, reportHeight);
window.addEventListener(“resize”, reportHeight);

render(-1);
})();
</script>
</body>
</html>
“>

Getting Started

Setup takes a single command, so onboarding is short.

Afterward, blume dev starts a hot-reloading server. Meanwhile, blume build writes static HTML and a local search index into dist/. The config file is real TypeScript, validated by a schema.

// blume.config.ts
import { defineConfig } from "blume";

export default defineConfig({
  content: {
    sources: [
      { type: "filesystem", root: "docs" },
      { type: "notion", database: process.env.NOTION_DB },
    ],
  },
});

Because the config is typed, editors catch mistakes before a build runs. The CLI covers the full lifecycle beyond those basics:

Command Purpose
blume init Scaffold a project, interactive by default
blume dev Start the dev server with hot reload
blume build Build the static or server site
blume add Install a source component from the registry
blume sync Re-fetch remote content sources
blume eject Promote the runtime into a standalone Astro app
blume validate Check internal, anchor, asset, and external links
blume doctor Diagnose config and content problems

AI-Ready by Design

Beyond human readers, Blume targets agents too. Every page returns raw Markdown when you append .md to its URL. A single flag emits llms.txt and llms-full.txt for agents. Each page can be copied as Markdown or opened in ChatGPT, Claude, or v0. An optional in-page Ask AI assistant answers reader questions directly. It runs on the AI SDK through the Vercel AI Gateway, OpenRouter, Inkeep, or any OpenAI-compatible endpoint. Blume can also host a Model Context Protocol (MCP) server. Through it, Claude Code, Cursor, and VS Code read docs directly.

claude mcp add --transport http your-docs https://docs.example.com/mcp

That server exposes four read-only tools: search_docs, get_page, list_pages, and get_navigation.

Use Cases With Examples

Those capabilities map to concrete jobs. For an API product, drop in an OpenAPI or AsyncAPI spec. Blume then renders an interactive reference with schemas, auth, and a request playground via Scalar. For a library, point Blume at your GitHub Releases. Each release rolls up into a generated changelog timeline with an RSS feed. For a global audience, add translated files per locale. Blume supports 36 locales, locale-aware routing, and right-to-left layouts. For mixed content, combine local files with remote MDX, Notion, or Sanity. All sources render through the same components.

How Blume Compares

For context, here is Blume against three common documentation approaches. Features change quickly, so verify current details before you adopt.

Dimension Blume Mintlify Docusaurus Astro Starlight
Type Open-source CLI + framework Hosted commercial platform Open-source SSG Open-source Astro theme
License MIT, free Proprietary; paid Pro tier MIT, free MIT, free
Setup Zero-config Markdown folder Config-driven, managed Scaffold + React config Astro project + theme
Engine Hidden Astro + Vite Proprietary hosted React Astro
Core-theme client JS None (static HTML) React runtime Minimal (islands)
llms.txt / llms-full.txt Built-in flag Auto-generated Community plugin Community plugin
Built-in MCP server Yes (four read-only tools) Yes (auto-hosted) Not built-in Not built-in
Eject path Standalone Astro app Not applicable (hosted) Already Astro

Strengths and Weaknesses

Strengths

  • Zero-config start: a folder of Markdown becomes a full site.
  • Static-first output ships no core client JS, aiding Core Web Vitals.
  • Built-in AI surfaces: llms.txt, per-page Markdown, MCP server, and Ask AI.
  • Type-safe config, so editors flag errors before a build runs.
  • Eject path to a standalone Astro app reduces long-term lock-in.

Weaknesses

  • Version 1.0.3 is new, so the ecosystem is still young.
  • It needs Node.js 22.12 or newer, which some environments lack.
  • Request-time features like Ask AI and MCP need a server adapter.
  • The self-hosted model means you own analytics and assistant wiring.
  • It has fewer third-party integrations than mature hosted platforms today.

Key Takeaways

  • Blume turns a Markdown folder into a production docs site with zero config.
  • It drives a hidden Astro and Vite project and can eject to standalone Astro.
  • AI features ship built in: llms.txt, per-page Markdown, and an MCP server.
  • It is MIT-licensed, needs Node.js 22.12+, and reached npm v1.0.3 on launch day.
  • Early adopters include Quiver, moving from Mintlify, and Neon’s add-mcp docs.


Check out the GitHub RepoAlso, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.

Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us

The post Meet Blume: An Open-Source, Zero-Config Documentation Framework That Ships AI-Ready Docs From a Markdown Folder appeared first on MarkTechPost.

Leave a Reply

Your email address will not be published. Required fields are marked *