Linux command
calibre-server 命令
趣味
复制后可按需替换文件名、目录或参数。
常用示例
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]
说明
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.
参数
- --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
FAQ
What is the calibre-server command used for?
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.
How do I run a basic calibre-server example?
Run `calibre-server [/path/to/library]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --port=_number_ do in calibre-server?
Port to listen on (default: 8080)