
Grimmory
Self-hosted library for ebooks, comics, and audiobooks with built-in readers, metadata lookup, and Kobo and OPDS sync.
Grimmory is a self-hosted library management system for ebooks, comics, audiobooks, and PDFs. It scans your own folders and serves the collection through dedicated browser readers, so the files and the reading data stay on your server. Supported formats cover EPUB, MOBI, AZW3, FB2, PDF, CBZ/CBR/CB7 for comics, and M4B, M4A, MP3, and OPUS for audiobooks. It runs from a Docker Compose stack backed by MariaDB and listens on port 6060 by default.
Each format gets its own reader: an ebook reader with annotations, highlights, bookmarks, search, and custom fonts; a PDF reader with page-level progress and page-spread modes; a comic reader with fit and scroll modes plus left-to-right or right-to-left paging; and an audiobook player with chapters, track listings, and playback speed. Libraries are organised with Smart Shelves and magic shelves driven by rule-based filters, tags, and full-text search. Metadata, covers, descriptions, reviews, and ratings can be pulled from Google Books, Open Library, Amazon, Hardcover, LubimyCzytac, and RanobeDB, then edited field by field or locked so scans do not overwrite them. BookDrop watches a folder and stages incoming files with fetched metadata for review before import, and duplicate detection and sidecar files keep a large collection consistent.
Grimmory is multi-user, with separate shelves, progress, and preferences per account, local logins, and OpenID Connect single sign-on through providers such as Authentik, Pocket ID, and Authelia, including group mappings and content restrictions. Books reach real devices through Kobo sync, which pushes the Kobo shelf and pulls reading progress and ratings back, through KOReader progress sync, or through the OPDS server used by apps like Moon+ Reader. A Komga-compatible API lets Tachiyomi and Komelia clients stream comic pages. Everything is free and open source under AGPL-3.0 with no subscription, which is the main contrast with storefront libraries like Kindle, Scribd, and Audible, and with older self-hosted servers such as Ubooquity.








