LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

calibre-server

Serve ebook libraries over the network

TLDR

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

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
copy
sudo pacman -S calibre
copy
sudo zypper install calibre
copy
nix profile install nixpkgs#calibre
copy

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

RESOURCES

Copied to clipboard
Kai