mdbook-tiny

Crates.iomdbook-tiny
lib.rsmdbook-tiny
version0.1.2
created_at2025-09-07 19:39:35.677231+00
updated_at2025-09-13 00:26:06.686815+00
descriptionUse mdbook to generate tiny and fast static sites
homepage
repositoryhttps://github.com/camerondugan/mdbook-tiny
max_upload_size
id1828457
size83,157
Cameron Dugan (camerondugan)

documentation

README

mdbook-tiny

An alternative backend to mdbook that generates minimal html from your md source.

Pages typically generated are under 14kb, much smaller than the pages you get from mdbook directly.

Trade-offs

Pages without extra assets load on first response from server and get a near perfect lighthouse speed score.

You can keep generating your content both as an mdbook and in this tiny html format.

To get this small size, you lose search, sidebar, code highlighting, code clipboard buttons, rust playground, click to pdf.

Setup

Install:

cargo install mdbook-tiny

Add it as a backend in book.toml:

[output.tiny]
nav-separator = " - "
# relative to your src folder
css-paths = ["css/pico.classless.min.css"]
index = "getting-started.md"
extra-nav.Blog = "blog.md"
extra-nav.Projects = "projects.md"
Commit count: 7

cargo fmt