Documentation sites generated from Markdown with an interactive API playground, search and analytics, aimed at developer products that want docs to look designed.
Build me documentation that replaces Mintlify: Markdown in, a fast designed site out, with a request playground and search that works. STACK - Astro with Starlight as the base, or Astro from scratch if the design must be entirely yours. Do not build a static site generator - Pagefind for search — it builds an index at build time and searches entirely in the browser, with no server and no per-query cost - SQLite through better-sqlite3 only for the analytics, if you want them - Caddy in front THE CONTENT - MDX or Markdown files in the repository, alongside the code they document. Documentation that lives elsewhere goes stale, and this is the whole argument for a static generator - Front matter: title, description, sidebar order, tags, and a version - Components available inside the content: callouts, tabs, accordions, code groups, parameter tables, and a request playground - A sidebar generated from the directory structure with explicit ordering where it matters - Every page has a permanent URL. Moving a page writes a redirect rather than breaking every link anyone has shared THE API PLAYGROUND, WHICH IS WHAT THE FEE BUYS - Generated from an OpenAPI document: every endpoint gets a page with its parameters, its schemas, its responses and examples, without anybody writing them twice - A form built from the schema, with types, required fields, enums and defaults respected - Authentication handled: the reader enters a token once, it is kept in their browser's session storage and never sent anywhere but the API being called - Send the request from the browser where CORS allows, and through a small proxy on your own server where it does not. That proxy must refuse private address ranges and be rate-limited, or it becomes a request forgery machine - The response shown with status, headers, timing and a formatted body - A curl command for every request, and code samples in several languages generated from the same source rather than written by hand - If the OpenAPI document is in the repository, the docs cannot drift from the API. That is the point SEARCH - Pagefind indexes at build time and runs in the browser. No search server, no query cost, works offline, and it is fast on thousands of pages - Index the headings and the body separately so a heading match ranks higher - Filters by section and by version - Keyboard shortcut to open it, arrow keys to move, Enter to go. This is used constantly and every extra click is felt - Record what people searched for, and especially what returned nothing — an empty search result is a request for a page, and it is the single most useful piece of documentation analytics there is VERSIONS AND LANGUAGES - Versioned documentation as directories, with a switcher, and a canonical URL pointing at the current version so search engines do not index four copies - A banner on an old version saying so, with a link to the current one - Translations only if you have somebody to maintain them; a half-translated documentation site is worse than an untranslated one DESIGN - Fast: server-rendered or static HTML, no framework at runtime, under 100KB for a page - A self-hosted variable font as WOFF2, never one from a third-party CDN - Dark and light, both legible, with every colour pair measured against WCAG AA rather than chosen by eye - Code blocks with syntax highlighting done at build time, a copy button, filename labels, and line highlighting - A table of contents on the right that tracks the reading position - Works at 320px with nothing hidden and nothing clipped WHAT DOCUMENTATION SITES GET WRONG - Open Graph tags and a generated share image per page, so a link posted in chat is legible - JSON-LD: TechArticle and BreadcrumbList - A sitemap, canonical URLs, and an llms.txt - An edit-this-page link straight to the file in the repository, which is how a typo gets fixed by the person who found it - A was-this-helpful control, counted per page, with an optional free-text box — and somebody actually reading the answers - Every code sample tested, or at least compiled, in CI. A documentation site full of examples that no longer run is worse than no examples ANALYTICS - First-party, no third party: page, referrer, a coarse device bucket, and a salted visitor hash. No cookie - Failed searches, helpful votes, and the pages nobody reaches - Or nothing at all, which is a legitimate choice OPERATIONS - Built in CI on every merge and deployed as static files, with the playground proxy as the only server component - .env for the proxy: BASE_URL, ALLOWED_API_HOSTS, RATE_LIMIT - Cache headers: hashed assets immutable, HTML short - A link checker in CI, internal and external, so a dead link is a failing build WHAT MATTERS MOST The OpenAPI-generated playground and search. Build generation from the specification first — that is the difference between documentation and a website — and record the searches that find nothing, because that list is your writing backlog. Give me the repository, the OpenAPI generator, the playground proxy, the CI workflow, and a README with deploy steps behind Caddy.
What you lose
- An interactive request playground generated from an OpenAPI file, with authentication handled
- Search tuned for documentation, and analytics on what people looked for and did not find
- A design system for docs that stays consistent as the site grows
If you would rather not build
- Docusaurus, with a large plugin ecosystem
- Docsify, for the very simplest case
What it costs
as published on their pricing page
| Plan | Billed monthly | Billed yearly | Last read |
|---|---|---|---|
| — | $150/mo | — | — |
Their pricing page is where these came from. Seeing a different price? Tell us.
The escape hatch
open source · no votes, no paid placement
Starlight
$0A documentation theme for Astro with search and versioning built in.
withastro/starlightfree · open source
Pagefind
$0Static search that indexes at build time; no service to run.
Pagefind/pagefindfree · open source
Why this verdict
our own opinion · changed only by a person
73/100
Verdict yes at 73. Starlight plus Pagefind gets you most of it free; the playground is the piece worth building, and the failed-search log is the piece worth keeping.
History
tracked since 10 Aug 2026 · nothing is ever overwritten
Questions about Mintlify
answered from the record above
Is Mintlify free?
No — the plan we track is $150 a month. Startup from around $150/month billed monthly; a free tier covers a single editor.
Can you replace Mintlify by building your own?
YES. Replaceable in one session with an AI coding agent. Replacement score 73 out of 100, build time one session. Read what you lose before you decide.
How much does Mintlify cost?
$150 a month on Startup — $1,800 a year. Recorded 10 Aug 2026.
What do you lose by replacing Mintlify?
An interactive request playground generated from an OpenAPI file, with authentication handled; Search tuned for documentation, and analytics on what people looked for and did not find; A design system for docs that stays consistent as the site grows. If any of those carry weight for you, keep paying.
Is there an open-source alternative to Mintlify?
Yes: Starlight, Pagefind. The prompt on this page is for when you want it your way instead.
Related entries
same category first, most replaced first
Every week, something stops being worth paying for.
New verdicts, prices that moved, entries added. One email a week. Unsubscribe in one click. Nothing is being sent yet — your address is kept here, and the first issue is the first thing it is used for.
free forever · no tracking pixel · stored here, never passed to anyone

