Motivation
Documentation ends up everywhere: runbooks in Markdown, appliance manuals as PDFs, saved web
pages, a few EPUBs, notes in .txt. SleepyDocs is a self-hosted library for the homelab that
gives all of it one home and one interface, without a database, an import step, or an account.
The folder is the library: copy a file in and it's there seconds later, in the browser and on
your e-readers.
What it does
- Magic folder: add, edit, move, or delete files and every screen updates within seconds. No import, no rescan button.
- Every format, rendered natively: highlighted Markdown, sandboxed HTML, the browser's own PDF viewer, readable EPUBs, and plain text, in a Catppuccin web app with a file tree, instant search, and keyboard navigation.
- Built for Kobo: an OPDS catalog that mirrors your folders, with search, for KOReader, plus a no-JavaScript page for the stock Kobo browser.
- Everything becomes EPUB: Markdown, HTML, text, and PDF are converted in the background into e-ink-friendly EPUBs with chapters and a table of contents, so downloads are instant.
- Read-only and offline: your folder is mounted read-only, and nothing is loaded from the internet. No CDN, no telemetry.
The conversions are done by sleepyconvert, another one of my tools.
Quick start
docker run -d --name sleepydocs \
-p 8734:8734 \
-v /path/to/your/docs:/library:ro \
-v sleepydocs-cache:/cache \
--restart unless-stopped \
sleepyboy/sleepy-docs:latest| Where | Address |
|---|---|
| Any browser | http://<server>:8734 |
| Kobo with KOReader | http://<server>:8734/opds |
| Kobo stock browser | http://<server>:8734/kobo |
There's no login, since it's meant for a trusted home network. To reach it from outside, put it behind a reverse proxy with authentication, or a VPN like WireGuard or Tailscale. The GitHub page has a guide for setting up KOReader on a Kobo.



