Skip to content
HN On Hacker News ↗

Mayberry, a self-hosted little library branch

▲ 130 points • 34 comments • by philips • 4d ago • HN discussion ↗

Pangram verdict · v3.3

We believe that this text is a mix of AI and human-written content.

78 %

AI likelihood · overall

Mixed
22% human-written 78% AI-generated
SEGMENTS · HUMAN 1 of 14
SEGMENTS · AI 13 of 14
WORD COUNT 565
PEAK AI % 100% · §3
Analyzed
Nov 22
backend: pangram/v3.3
Segments scanned
14 windows
avg 40 words each
Distribution
22 / 78%
human / AI fraction
Verdict
Mixed
Pangram v3.3

Article text · 565 words · 14 segments analyzed

Human AI-generated
§1 Human · 0%

Important: Mayberry has moved to a library card access model. Learn MoreRun a tiny library branch from your own computer. Curate the shelf, hand out cards to friends & family, and let them browse from any e-reader they already own.Run Your Own BranchHost Your Own Branch.Turn the ebook folder on your computer into a curated shelf with its own address, open only to the readers you choose.Your branch runs quietly in the background, handling the catalog, networking, and discovery so you can focus on the collection itself.macOS & LinuxCopycurl -fsSL https://mayberry.pub/install.sh | shWindowsCopyirm https://mayberry.pub/install.ps1 | iexAfter installation simply run mayberry in your terminal to get started.Get a Library CardVisit a Friend's Branch.Sign up for an anonymous library card, then ask a friend who runs a branch to add your card.

§2 AI · 100%

Once they do, their shelf opens up in the reading app you already love.A Neighborhood of Self-Hosted ShelvesNo central warehouse.

§3 AI · 100%

No corporate servers.

§4 AI · 100%

The Mayberry Public Library System is made entirely of small branches like yours, each one hosted and curated by the person who runs it.The BranchA headless Go-daemon that turns your local ePub folder into a private library branch you host yourself. Runs invisibly.The Library SystemA shared index that lists every branch in the system so friends can find your shelf and ask for access.Anonymous TunnelingHost your branch without port forwarding, VPNs, or exposing your home IP address.

§5 AI · 100%

Privacy by design.Get StartedAdd Mayberry to Your ReaderPoint your e-reader's OPDS browser at https://mayberry.pub.

§6 AI · 100%

When a branch asks you to sign in, enter your library card ID as both the username and the password.

§7 AI · 100%

Here's how on each device.Any app or device that supports OPDS feeds will work. Just add https://mayberry.pub as a catalog, then sign in with your library card ID as both the username and the password.Desktop AppWant to browse and send from your computer?CommonStacks is the perfect companion for Mayberry. Browse the full catalog, download books, and send them directly to your e-reader from your desktop.Download CommonStacksUnder the HoodTechnical DetailsMayberry is a network of self-hosted little library branches.

§8 AI · 100%

You keep your books on your own computer.

§9 AI · 100%

A shared catalog lets readers discover your branch, and you decide which card IDs can open it.

§10 AI · 100%

Downloads happen through encrypted tunnels. Nobody sees your IP.

§11 AI · 100%

Nobody tracks what you read.Privacy By DesignYour branch connects outbound to the proxy via a WebSocket tunnel.

§12 AI · 100%

No ports to forward and no IP exposed.

§13 AI · 100%

Access is granted with anonymous card IDs, never personal accounts.Your IP addressHidden (outbound tunnel)Your identityHidden (anonymous card ID)Download historyHidden (no logs, IPs stripped)Branch namePublic (subdomain)Book catalogPublic (OPDS)Download countsPublic (ranking)Advanced CryptographyAll token signing uses Ed25519, the same scheme used by SSH, Signal, and WireGuard. All traffic is encrypted with TLS 1.3.Download token10 minAuthorizes a single book download from a specific branch.Tunnel token24 hrAuthorizes a branch to register its WebSocket tunnel.All identifying headers are stripped at the proxy before reaching a branch.Simple & LightweightNo DRM.Files are served as-is. Mayberry is a library, not a storefront.No user tracking.A card ID is just a random string. No analytics, no cookies, no fingerprinting.No central storage.Your files stay on your machine. The catalog only has metadata.Hours of operation.If your computer is off, your branch is simply unavailable.Open SourceTransparency You Can VerifyThe Mayberry branch software is fully open source. Every line of code that runs on your machine is available for anyone to audit or review.

§14 AI · 100%

No black boxes, no hidden behavior.github.com/SoFriendly/mayberry-branch