pagersGitHub

Markdown docs, compiled to static HTML — in one Rust binary

pagers turns a folder of .md files into a fast, self-contained static site: navigation, themes, clean URLs and a page graph included. No Node, no runtime, no server.

1
Rust binary
8
built-in themes
0
JavaScript required
first build
$ pagers build ./docs --output dist  Built 13 pages and 8 assets into dist in 6.8ms$ pagers serve dist➜ Serving dist at http://localhost:8080

Everything a docs site needs.

Sensible defaults, real output — each feature is one flag or zero flags away.

Zero configuration

Point pagers at a folder of Markdown and it builds a complete site — sidebar navigation, clean trailing-slash URLs, and an "On this page" outline are generated for you.

GitHub-flavoured Markdown

Tables, task lists, footnotes, alerts, fenced code with per-language accents, and {#custom-ids} — rendered by pulldown-cmark, no JavaScript required.

Eight themes, light & dark

A compiled md.css with light, dark and six colour palettes. Theme follows the OS by default, with a one-click toggle persisted in localStorage.

Built-in page graph

Every build emits graph.html — an interactive map of how your pages link to each other — plus graph.json and Graphviz DOT for further analysis.

Landing pages too

pagers landing builds a whole single-page site — marketing, waitlist, docs hub, linktree — from one landify.yaml, with 12 layouts and 64 themes.

Wikipedia importer

pagers wiki convert turns any Wikipedia article into clean local Markdown, rewriting internal links to filenames so whole wikis become browsable sites.

MCP server

pagers-mcp exposes build, serve and site inspection as MCP tools — let your editor or agent work with the docs directly.

pagers vs docsify.

Same Markdown-in, docs-out idea — opposite rendering model.

docsifypagerspick
RenderingIn the browser at runtimeAhead of time → static HTML
JavaScript requiredRequiredNone for content
HostingNeeds correct SPA fallbackAny static host
Offline / cacheableOnly the shellFully
Search enginesLimitedFull HTML + sitemap
RuntimeNode at build timeOne Rust binary

Up and running in under a minute.

Install the binary, point it at a Markdown folder, serve the result — or scaffold a landing page with pagers landing new.

install
$ curl -fsSL https://raw.githubusercontent.com/hieudoanm/pagers/main/scripts/install.sh | sh$ cargo install --path crates/pagers-cli➜ installed pagers ~/.local/bin
build & serve
$ pagers build ./docs --output dist  Built 13 pages and 8 assets into dist in 6.8ms$ pagers serve dist --port 8080➜ Serving dist at http://localhost:8080

Or generate a landing page: pagers landing new --type product → pagers landing build -o public/. Full walkthrough in getting started.

Ship your docs anywhere.

One binary, one pagers build, one static folder — ready for GitHub Pages, any CDN, or a plain web server.