A LAN-only household catalog for reading records and the physical and digital copies the house actually owns.
Household Library is a small Go web app for one household. Each person signs in and keeps their own reading record (status, rating, dates, notes). The same catalog can be viewed as household inventory: hardcovers, paperbacks, ebooks, audiobooks, leatherbounds, and special editions the house owns, has lent, or has borrowed.
It is not a social site. There is no public catalog and no OAuth. Optional lookups against Open Library, Hardcover, and Google Books only backfill identifiers and cover art.
- 📚 Two views of one catalog — Personal readings ("mine") and household inventory of copies the house holds
- 🏷️ Works, editions, and holdings — A story, its published forms (ISBN, ASIN, format), and each physical or digital copy
- ⭐ Per-person readings — Wishlist, reading, read, did-not-finish, or unknown, with a 0–5 rating in half-star steps
- 📥 Goodreads import — CSV export becomes readings for the signed-in person, matched on ISBN, ASIN, then title and author
- 🔍 Identifier backfill — Missing ISBNs and ASINs filled from Open Library, then Hardcover, then Google Books
- 📱 Kindle and Amazon exports — Match ASINs from a local Kindle library export or an Amazon data download, without an Amazon developer account
- 🖼️ Cover art — Covers from Open Library, Amazon by ASIN, or Google Books, stored with the catalog
- 🏠 LAN deployment — Pure-Go SQLite, cross-compiled binaries for Raspberry Pi and other ARM boards, systemd unit included
The server is a single Go binary. HTTP routes use Chi. Pages are templ components styled with Tailwind CSS. The books list is the HTMX surface: filters request a fragment and swap the results in place. Adding a book, importing, and work detail are ordinary page loads.
SQL is the schema source of truth. Goose migrations live next to sqlc queries, and sqlc generates the database package. The SQLite driver is pure Go (modernc.org/sqlite), so builds stay CGO_ENABLED=0 and cross-compile cleanly.
Accounts are created from the binary. There is no registration page. Sessions are HTTP-only cookies. The app is meant to stay on the household LAN.
Private Repository: https://github.com/dillius/my-library
This is a private repository. To request access to the source:
- Visit my homepage: https://dillius.com
- Navigate to the Contact section on the homepage
- Submit a request using the Contact Me form with:
- Your name and email
- Reason for access (code review, collaboration, learning, etc.)
- Brief background about your Go or web development experience
- Specific areas of the codebase you're interested in
The complete codebase includes:
- Domain model — Works, editions, holdings, and per-user readings, with ownership for household and personal copies
- Import pipeline — Goodreads CSV import plus Kindle and Amazon identifier matching that does not overwrite existing readings
- Catalog backfill — Open Library search, optional Hardcover and Google Books fallbacks, and throttled cover downloads
- Generated data layer — Goose migrations and sqlc queries checked in with the generated Go
- Server-rendered UI — templ pages, a vendored HTMX books list, and Tailwind CSS v4
- Household ops — User admin flags, health check, backups of the SQLite database plus covers, and a Raspberry Pi install path
- Language: Go 1.27
- HTTP: Chi
- UI: templ, HTMX 2, Tailwind CSS v4
- Database: SQLite (pure Go,
CGO_ENABLED=0) via sqlc and Goose - Catalog data: Open Library, optional Hardcover and Google Books
- Deploy: Single static binary, systemd on Linux, cross-compile for arm64 and armv6/armv7
- No CGO: The same build recipe runs on a laptop and a Pi
- Generators are committed: CI regenerates sqlc, templ, and CSS and fails if the tree is dirty
- Import is resumable: Each Goodreads row commits on its own, and uploading the same file again continues the work
- Identifiers are sticky: A later import does not blank an ISBN or ASIN that was filled in afterward
- Small client surface: HTMX on the books list, a short vanilla script for lookup widgets
This project is a household tool: a private catalog for what we have read and what is on the shelf. Access is granted for educational, collaborative, and professional purposes.