Scalar
Developer portals and documentation
OpenAPI-driven API reference and API client for teams that publish REST API docs
16k 980 today Thriving MIT
Rust command-line tool that turns Markdown files into an online book
Listed by Alston Antony, founder & editor
Health
ActiveStars
22,324
Last commit
yesterday
Nov 2026
Repository age
11 years
since Jul 2015
Latest version
v0.5.4
Jul 2026
Contributors
–
22 active in 90 days
Releases
3
last 12 months
Language
Rust
mdBook is a command-line utility that builds online books from Markdown files. You write chapters in Markdown, and it produces a static site you can host anywhere. It is written in Rust, and has been developed since 2015 under the rust-lang organization. The project's own User Guide is built with it and shows what the output looks like.
You install it as a single binary, for example through Homebrew on macOS or Linux. It runs from the terminal, so it fits easily into scripts and CI pipelines. The code is licensed under the Mozilla Public License 2.0.
mdBook is often compared to GitBook. It covers the case where you want a documentation book generated from plain files kept in version control. It has no hosted editor or accounts, so it suits projects that already work with Git and a terminal.
Markdown files in your repository become a browsable book that you can publish as static files.
Skip if: Your contributors need a web editor and do not use Git.
You write chapters in plain Markdown and build the whole book with one command.
Skip if: You need comments, access control or real-time collaboration.
It ships as a Rust tool from the rust-lang organization and fits the Rust ecosystem.
Skip if: You want a documentation tool in a different language ecosystem.
Hosted documentation platforms charge for features and keep your content in their system. mdBook lets you keep documentation as Markdown in your repository and build a book from it yourself.
Yes. It is open source under the Mozilla Public License 2.0.
It has a similar goal of making books from Markdown, but it is a command-line tool written in Rust. It has no hosted editor.
It runs from the command line on Linux and macOS, and a Homebrew formula is available.
Markdown files. mdBook turns them into an online book.
Developer portals and documentation
OpenAPI-driven API reference and API client for teams that publish REST API docs
16k 980 today Thriving MIT
Developer portals and documentation
Offline documentation browser for developers, compatible with Dash docsets
13k 855 23 days ago Active GPL-3.0
Developer portals and documentation
Generates browsable wikis and diagrams from GitHub, GitLab or Bitbucket repos
18k 2k yesterday Active MIT
Developer portals and documentation
4.5k 508 9 years ago Dormant Unknown
Developer portals and documentation
Offline command-line reference with thousands of man pages for Linux learners
2.1k 180 today Active Apache-2.0
Developer portals and documentation
Fast, mobile-friendly Ruby documentation browser with search, self-hostable via Docker
595 35 15 days ago Slowing MIT