Mayberry 把電腦裡的電子書變成可分享的私人圖書館
Self-hosted library branch over public web OPDS
想把電子書借給親友,常得先把書放到別人的平臺上。
- Mayberry 讓你把電腦裡的 ePub 資料夾變成自己的私人圖書館,朋友用匿名借書卡取得許可權後,就能透過支援 OPDS 的閱讀器瀏覽和下載書籍。書檔留在你的電腦,分享連線會經過加密通道。
- 不過電腦關機時,圖書館也會暫時無法使用。
AI 伴隨問答
針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:
Important: Mayberry has moved to a library card access model. Learn More
Run 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 Branch
Host 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 & Linux
Copy
curl -fsSL https://mayberry.pub/install.sh | sh
Windows
Copy
irm https://mayberry.pub/install.ps1 | iex
After installation simply run mayberry in your terminal to get started.
Get a Library Card
Visit a Friend's Branch.
Sign up for an anonymous library card, then ask a friend who runs a branch to add your card. Once they do, their shelf opens up in the reading app you already love.
A Neighborhood of Self-Hosted Shelves
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.
The Branch
A headless Go-daemon that turns your local ePub folder into a private library branch you host yourself. Runs invisibly.
The Library System
A shared index that lists every branch in the system so friends can find your shelf and ask for access.
Anonymous Tunneling
Host your branch without port forwarding, VPNs, or exposing your home IP address. Privacy by design.
Get Started
Add Mayberry to Your Reader
Point your e-reader's OPDS browser at https://mayberry.pub. When a branch asks you to sign in, enter your library card ID as both the username and the password. 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 App
Want 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.
Under the Hood
Technical Details
Mayberry is a network of self-hosted little library branches. You keep your books on your own computer. A shared catalog lets readers discover your branch, and you decide which card IDs can open it. Downloads happen through encrypted tunnels. Nobody sees your IP. Nobody tracks what you read.
Privacy By Design
Your branch connects outbound to the proxy via a WebSocket tunnel. No ports to forward and no IP exposed. Access is granted with anonymous card IDs, never personal accounts.
Your IP address Hidden (outbound tunnel)
Your identity Hidden (anonymous card ID)
Download history Hidden (no logs, IPs stripped)
Branch name Public (subdomain)
Book catalog Public (OPDS)
Download counts Public (ranking)
Advanced Cryptography
All token signing uses Ed25519, the same scheme used by SSH, Signal, and WireGuard. All traffic is encrypted with TLS 1.3.
Download token 10 min
Authorizes a single book download from a specific branch.
Tunnel token 24 hr
Authorizes a branch to register its WebSocket tunnel.
All identifying headers are stripped at the proxy before reaching a branch.
Simple & Lightweight
No 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 Source
Transparency You Can Verify
The Mayberry branch software is fully open source. Every line of code that runs on your machine is available for anyone to audit or review. No black boxes, no hidden behavior.