Build an offline book catalog people can actually browse

Offline library guides

A useful catalog answers three questions quickly: what is this, where is it, and what do I need to open it? A folder of cryptic filenames answers none of them well. You do not need an elaborate database to improve the situation. Start with a small inventory, consistent labels and links that still work when the library moves to another drive.

This is a proposed catalog workflow, not a claim about the features included in a particular library product.

Make one row describe one usable item

Create a spreadsheet or a plain CSV inventory with one row per document edition or other independently usable item. Keep these fields:

Do not count the EPUB and PDF editions of the same book as two different titles without saying how the count works. If both are useful, group them under one title with two format choices. Preserve distinct editions when their differences matter.

Keep unknown metadata visible. A document with an uncertain publication date may still be useful, but a polished catalog should not make that uncertainty disappear.

Choose categories that help someone act

Begin with the questions readers actually ask. “Repair,” “Water,” “Cooking” and “Maps” may be more useful than an imported classification code. For a general collection, add a broad Books section with familiar subjects. Avoid creating a category for every unusual file; a dozen carefully maintained shelves is often easier to browse than a hundred nearly empty ones.

The exact number is an editorial choice, not a technical requirement. Let an item appear in more than one view without duplicating the underlying file. A pump maintenance manual might be found under Water and Repair, while both entries point to the same stable identifier.

Within each shelf, lead with title and issuing organization. Show the file type and a brief description before the download or open link. A reader should not have to open a hundred-megabyte file to learn whether it is the right manual.

Use paths that survive a move

Store the catalog beside its content and link relative to that shared root. For example, a start page at the library root might link to manuals/water/pump-x.pdf. A link containing your personal home directory will usually fail on another computer.

Keep a master inventory separate from generated pages. Correct a title in the inventory, then rebuild the pages rather than editing several copies by hand. If you use a generation script, keep its source and instructions with the library so the next maintainer can reproduce the catalog.

For a simple collection, a local HTML index with ordinary links and a plain-text inventory can be enough. If the interface uses scripts, test it in the actual offline browser: do not assume a page opened from a local file behaves exactly like a hosted website. Provide a file-list fallback rather than making one fancy search component the only entrance.

Label search honestly

Define the scope next to the search box. “Search titles, authors and subjects” is a clear promise. “Search the library” is ambiguous if it cannot inspect document contents.

Build a test set of known titles, authors and subject words. Include punctuation, an accented name if present, a partial title, and a query with no match. For each, record what should appear. A useful zero-result message suggests browsing a shelf or trying a model number; it should not imply that the collection contains no relevant information.

Do not silently mix an online search into the offline results. External references can remain in the catalog if their connection requirement is visible. See manual-name search versus full-text search before promising content-wide results.

A small worked example

Imagine a collection containing a pump manual named PX_Install_Final2.pdf, a gardening EPUB and a reference ZIM. Keep the original source name in the inventory if provenance matters, but display the manual as “Pump X: installation and maintenance, 2020.” Its entry can say: “PDF; diagrams included; tested opening, not full-text search.” The EPUB entry names an EPUB reader. The ZIM entry names a compatible ZIM reader.

Now ask someone unfamiliar with the folder structure to find the pump's maintenance section. If they search “pump,” open the correct file and reach the section without your help, the catalog is doing useful work. If they land on a different model, improve the identifier and description rather than adding more decorative categories.

Maintain the catalog like an inventory

Before accepting an update, check every local link, compare the manifest with the files on disk, and flag duplicate identifiers. Spot-check content as well: a valid link can point to the wrong edition.

Keep removed entries in a change log with a reason rather than leaving dead links. Save the inventory, generator and backup record together. A catalog is not finished when it looks tidy. It is working when another person can reliably find and open the right thing, and its maintainer can explain where each entry came from.