Mayberry lets you run a tiny lending library from your own laptop

Self-hosted library branch over public web OPDS

Mayberry turns the ePub folder on your computer into a private library branch with its own address, reachable from any OPDS-capable e-reader. A headless Go daemon handles the catalog, anonymous card-based access, and outbound WebSocket tunneling, so there's no port forwarding and your IP stays hidden. A shared index helps friends find your shelf, and access is granted with random card IDs rather than personal accounts. The branch software is open source.

No central warehouse. No corporate servers. The Mayberry Public Library System is made entirely of small branches like yours, each one hosted and curated by the person who runs it.
  1. fg137

    So plex/jellyfin but for books.

    I personally don't know anyone who hosts plex server of files ripped from legitimately acquired media, or anyone that uses such a server from an actual friend. If someone does, and wants to do the same for books, all the power to them.

    Realistically though, I'd expect someone who doesn't buy or borrow a book (from a library, friend, or ebook from Libby) will go straight to Anna's Archive or z library. I yet need to meet someone who nicely asks their reader friend to share epub of a de-DRMed book.

    (ok, in plain words, the most likely use case for this is piracy, but with more steps.)

  2. mawise

    This is really cute! I've had an idea floating around in my head for a while to build a "Little Free Digital Library" inspired by the Little Free Libraries people build in their front yards. It would be a solar powered raspberry pi that hosts a private (offline) wifi network where you can browse and dowload from the host's curated book collection. A great way to share my favorite books from gutenberg or standard ebooks.

  3. philips

    I submitted this because I found the idea inspiring.

    That said…

    I think it would be better if the library cards were public keys and I set the access controls on a list of keys. The card numbering seems underbaked.

    The practical problem this solves in practice is there are lots of ereaders that have opds and wifi but can’t access things over tailscale or equivalent.

More from this day

2026-11-22