Calibre Zen Guide

How to Access Your Calibre Library From Another Device

Reach your calibre library from another device on your own network: turn on the content server, read in any browser in the house, and keep it up from a home server.

Your calibre library lives on one computer. The reading happens on the phone, the tablet and the laptop. Calibre Zen and calibre answer that with the same feature: a content server that serves the library as web pages to any browser in the house. No app to install, no folder to mount, no second copy of your books.

The usual shortcut is to put the library folder on a network share. The calibre manual says no. Network filesystems often lack locking and hardlinking, and calibre manages that folder directly. Serving the library over the network is the supported way, and the setup is short.

What you need

1. Start the content server

Click the Connect/share button on the main toolbar and choose Start Content server. That is the exact step in the calibre manual. Your firewall or anti-virus may ask whether to allow access to the program. Choose Allow or OK.

In Calibre Zen the button sits in the same place, in the trimmed top menu. The app also shows the content server at the right end of the status bar, next to the Layout menu, running jobs and Report a bug.

Test it on the machine that runs it first. Open a browser there and go to http://127.0.0.1:8080. That address only works on the computer running the app, which makes it a clean check: server if it fails here, network if it works here and nowhere else.

2. Read the address off the Connect/share menu

Click Connect/share again. The entry that said Start Content server now reads Stop Content server, and the address your other devices need sits next to it as an IP address and a port, like this:

Stop Content server [192.168.1.5, port 8080]

Build the address from those two pieces: http:// in front, a colon between the IP and the port. For the example above it becomes http://192.168.1.5:8080, which is what you type on the phone or the laptop.

If that address looks wrong, the manual’s troubleshooting notes that a non-standard network can make the shown IP incorrect, and the correct one is yours to work out. On Linux, hostname -I prints the machine’s own addresses.

3. Open the library on the other device

Type the address into any browser on the phone, tablet or other computer and sign in if you set a login. You get a cover grid of the whole library, and a tap on a cover shows its metadata with Read and Download buttons.

Read opens the book in the browser itself. Leave the server running and calibre keeps your last read position, so you can carry on from another device. Swipe to turn pages, swipe up and down to jump between chapters.

Two details for awkward devices. A very old or limited browser can use the mobile view by adding /mobile to the address. Some e-ink browsers cannot handle a login prompt at all, and the manual’s workaround is to put the credentials in the URL, as in http://username:password@192.168.1.5:8080.

4. Keep sharing with the window closed

Closing the window normally stops the server. Calibre Zen has a tray mode that keeps it up, documented in Share with the window closed. Two entries do the same thing. Restart in headless mode is in the Preferences menu under the gear button, and Close and keep sharing is in the Connect/share menu, with the content server.

The window closes and an icon appears a moment later, in the menubar on macOS and in the tray on Windows and Linux. Its menu is the control panel. Sharing at an address shows where your books are, with Open in browser and Copy address below it. Open Calibre Zen brings the window back. Share on this network lets other computers in the house see the books, and without it only this computer can. Allow changes from this computer lets the web page on this machine edit books without a login. Add books from a folder moves each book you drop in there into your library.

Those settings are the same ones as Preferences → Sharing over the net, so a change in one shows in the other. Headless mode starts from the window in this version. Starting it at login comes later.

5. Put it on a home server instead

If your books should be readable while your main computer is asleep, run the library on the always-on machine: a NAS, a Raspberry Pi 4 or 5, a small PC or an old laptop. Calibre Zen ships a Docker image for that (home server), with a step-by-step guide for a first setup. It serves an ordinary calibre library, the folder that holds metadata.db, so nothing about your books changes.

mkdir calibre-zen && cd calibre-zen
curl -fsSLO https://raw.githubusercontent.com/purplecandy/calibre-zen/zen/packaging/docker/compose.yaml
echo 'CALIBRE_ZEN_PASSWORD=a-long-password-of-your-own' > .env
docker compose up -d

Then open http://your-server:8080, with your server’s address in place of your-server, and sign in as reader with the password from .env. The first start creates three folders next to the Compose file: library for your books, config for settings and users, and add-books for new files.

Run id before you start. If the numbers after uid= and gid= are not both 1000, change PUID and PGID in compose.yaml to match, or the container cannot write to your books.

To serve a library you already have, stop the container, then put the library in the library folder or point ./library in compose.yaml at it. Nothing in it is moved or renamed.

Add books by copying them into add-books, where each one moves into the library a few seconds later, or with the upload button in the web app. Reading apps that speak OPDS, KOReader among them, browse the shelf at http://your-server:8080/opds with the same username and password. Kobo and Kindle browsers can open the address and download books too.

Updates are two commands, docker compose pull && docker compose up -d, and your books and settings stay where they are. latest is the steady tag and edge has the newest changes. Add more people with docker exec -it calibre-zen zen-entrypoint --manage-users. Every setting, from the user the image runs as to HTTPS behind a reverse proxy, is in the Docker guide on GitHub.

6. Reaching it from outside the house

Reading at home needs nothing more. Reaching the library from outside is a bigger job, and the docs say to leave it for later.

The easy way is a private network such as Tailscale or WireGuard. Your phone joins it and the library stays off the open internet, with no ports to open.

The public way is a reverse proxy that adds HTTPS, such as Caddy, Traefik or nginx. Basic sign in suits that setup best, and one line under the service in compose.yaml turns it on. Set CALIBRE_ZEN_URL_PREFIX as well if you serve the library under a path such as /books.

command: ['--auth-mode', 'basic']

Never open port 8080 to the internet without HTTPS in front of it. The password would travel in the clear.

When it won’t help

Takeaways

Questions

Do I need to install an app on my phone to read my calibre library there?

No. The content server serves your library as web pages, so any browser on the same network can search, read and download books. Adding the address to your home screen makes it feel like an app.

Can two devices read the library at the same time?

Yes. The server hands out one book to as many browsers as you like, and if it stays running it remembers your last read position so you can carry on from another device.

Is it safe to open my calibre library to the internet?

Only with protection. Use a private network such as Tailscale, or a reverse proxy that adds HTTPS and a password. Never open the port without HTTPS, because the password would travel in the clear.

Download Calibre Zen Calibre Zen docs