calibre-server

Serve ebook libraries over the network

TLDR

Start content server with library
$ calibre-server [/path/to/library]
Start on specific port
$ calibre-server --port [8080] [/path/to/library]
Enable authentication
$ calibre-server --enable-auth --userdb [users.sqlite] [/path/to/library]
Manage user accounts
$ calibre-server --manage-users --userdb [users.sqlite]
Enable local write access
$ calibre-server --enable-local-write [/path/to/library]
Serve multiple libraries
$ calibre-server [/library1] [/library2]
Advertise via Bonjour
$ calibre-server --enable-use-bonjour [/path/to/library]

SYNOPSIS

calibre-server [options] [librarypath_...]

DESCRIPTION

calibre-server exposes Calibre ebook libraries over the network. Users can access, browse, and read books directly in a web browser. The server supports OPDS feeds, offline caching, and authentication.

PARAMETERS

--port=number

Port to listen on (default: 8080)
--listen-on=address
Interface to bind to (default: all)
--enable-auth
Require password authentication
--userdb=path
Path to SQLite user database
--manage-users
Interactive user management mode
--enable-local-write
Allow local clients to modify library
--enable-use-bonjour
Advertise OPDS via Bonjour/mDNS
--url-prefix=prefix
URL path prefix for reverse proxy
--daemonize
Run as background daemon
--pidfile=path
Write process ID to file

FEATURES

OPDS Feeds

Compatible with OPDS-based reading apps
Offline Reading
Browser caches books for offline access
Remote Access
Access library from any device on network

INSTALL

sudo dnf install calibre
sudo pacman -S calibre
sudo zypper install calibre
nix profile install nixpkgs#calibre

CAVEATS

Enable authentication before exposing to internet. On macOS, binary is inside calibre.app bundle. Use --enable-local-write for calibredb remote access.

SEE ALSO

calibredb(1), calibre(1), ebook-convert(1)

RESOURCES

Source code · Homepage · Documentation