Barcode-first cataloging
Scan an ISBN or EAN-13. Title metadata resolves asynchronously through a chain of nine providers — BnF, Google Books, Open Library, Library of Congress, K10plus, MusicBrainz, OMDb, TMDb, BDGest — with cover-image download.
mybibli is a self-hosted web app to catalog, locate, and loan your personal library. Barcode-first, multi-media, multi-role — and your data never leaves your network.
Screenshots of v1.24.0 on a small sample library — the same code that runs on the household NAS that drives the project, and that's on Docker Hub right now.
Built for collectors who want their library to actually work. Scan a barcode, find a book on a shelf, lend it to a friend — and see what's missing in a series.
Scan an ISBN or EAN-13. Title metadata resolves asynchronously through a chain of nine providers — BnF, Google Books, Open Library, Library of Congress, K10plus, MusicBrainz, OMDb, TMDb, BDGest — with cover-image download.
Books, BD/comics with multi-position omnibus volumes, audio releases, films and series — each typed correctly with the right provider chain selected automatically.
See which volumes are missing in your series at a glance, and name the ones you do not own yet as expected tomes — one click puts them on the wish list, scanning the book fills the gap. Dewey-based browsing and a similar-titles section too.
Configurable hierarchy — room → shelf → row, or whatever fits your home. Each shelf gets a barcode; scan the shelf, scan the volume, done.
Borrower CRUD, loan registration, automatic location restoration on return, admin-configurable overdue threshold, per-borrower history.
Anonymous (read-only), Librarian (catalog + loans), Admin (everything). Session inactivity timeout with keep-alive toast. Four interface languages (EN / FR / DE / IT), per-user.
A built-in MCP server lets an AI agent on your network — Claude Code or any MCP client — read the catalog and propose series, missing tomes, metadata and covers, citing its sources. It can also flag a doubtful title or copy with a management label, correct a series — its name, open or closed, its total — and estimate what a volume is worth, following the skills an admin writes for it. It never changes the catalog: a librarian compares, edits, accepts or rejects each proposal on the Proposals page.
In production. mybibli's own catalog was the first to try it. One afternoon, an AI agent went through the household library looking for what was missing, and came back with 352 suggestions, each with its sources. Reviewing them over a cup of tea, the librarian accepted 245: 190 books gained a description, a publisher, a year, their authors and illustrators, or a cover. Most were titles the usual library catalogs had never heard of, the kind of gaps that would otherwise have waited years for someone to fill them by hand.
One file holds the whole library — the database and every cover. mybibli writes it when you click Back up now, or every hour when something changed, keeps the last day and one backup per day for two weeks, and restores any of them from the same admin tab, writing a safety backup of the current state first. A cover check finds the cover files no title owns and the titles whose cover is missing, and repairs both — but refuses when the covers folder looks unmounted.
Self-hosted means your home network. So mybibli is built defensively from day one — not as an afterthought.
No unsafe-inline, no unsafe-eval. Every template — server-rendered or HTMX fragment — is audited for inline script and style attributes.
Constant-time compare on every state-changing request. Forms inject the token automatically; HTMX inherits via a small JS listener. Exempt-route allowlist is frozen and policed by tests.
A USB barcode burst that arrives while a modal is open is intercepted at document-capture phase — no leakage into background scan fields, no accidental Cancel/Confirm activation.
No cloud sync, no telemetry, no analytics. Argon2 password hashing, HttpOnly + SameSite cookies, soft-delete with 30-day auto-purge.
Server-rendered HTML, type-checked templates, no SPA framework. The whole UI talks to the server with HTMX over the same routes that serve the pages.
Compiled binary, async tokio runtime, zero-cost middleware tower stack.
Compile-time query checking via the offline cache. Versioned migrations checked into the repo.
Compile-time type-checked Jinja-style templates. Auto HTML-escaping, no surprises.
No build step beyond Tailwind. Server-rendered HTML; small ES modules where the UX needs it.
Cookie-based sessions, per-session CSRF synchronizer token, role-based access control.
English + French today, key-by-key parity enforced by tests. New languages drop in as a single YAML file.
~1,650 unit, ~800 DB integration, ~440 Playwright E2E across two CI lanes (seeded + wizard).
Rust tests + clippy + sqlx-prepare check, DB integration, Playwright E2E and wizard E2E — gated on every PR.
v1.29.0 — fewer bugs, built-in backup, and daily-use fixes: mybibli now backs itself up — the whole database and every cover in one file, on demand or every hour, rotated, and restored from the admin page behind a safety backup (#657); a cover check repairs orphan and missing cover files (#658); the Health tab watches slow statements and refusals (#708). Daily use: remove a book from the wish list (#714), send a missing series tome to it (#715), describe a storage location (#716), go through the location tree with the keyboard (#700) — and fewer bugs. Four additive migrations and one new folder to mount, ./backups: see the release notes.