---
title: mdBookShelf
tagline: A wrapper that serves multiple mdBook instances together as one static shelf.
type: systems
status: active
authorship: own
featured: true
order: 7
stack: ['Python', 'mdBook', 'Static sites']
links:
  repo: https://github.com/Hanthebot/mdBookShelf
  live: https://books.hanthebot.dev
---

mdBookShelf wraps a collection of mdBook instances and serves them as a single static
"shelf": one index that lists the books, consistent navigation between them, and no
server-side state anywhere. It is the tool behind books.hanthebot.dev, which holds my
complete set of HKUST lecture notes as separate books plus the 2425f and 2425s course
subdomains.

The design constraint was boring by intention: build once, deploy statically to
Cloudflare, never keep a daemon alive just to serve notes.
