Scroll to navigation

CALIBRE-SERVER(1) calibre CALIBRE-SERVER(1)

NAME

calibre-server - calibre-server

calibre-server [options] [path to library folder...]


Start the calibre Content server. The calibre Content server exposes your calibre libraries over the internet. You can specify the path to the library folders as arguments to calibre-server. If you do not specify any paths, all the libraries that the main calibre program knows about will be used.

Sempre que passeu arguments a calibre-server i aquests tinguin espais en blanc, delimiteu els arguments amb cometes. Per exemple: "/some path/with spaces"

[OPCIONS]

Path to the access log file. This log contains information about clients connecting to the server and making requests. By default no access logging is done.

Time (in seconds) to wait for a response from the server when making queries.

Choose the type of authentication used. Set the HTTP authentication mode used by the server. Set to "basic" if you are putting this server behind an SSL proxy. Otherwise, leave it as "auto", which will use "basic" if SSL is configured otherwise it will use "digest".

Automatically reload server when source code changes. Useful for development. You should also specify a small value for the shutdown timeout.

Number of login failures for ban. The number of login failures after which an IP address is banned

Ban IP addresses that have repeated login failures. Temporarily bans access for IP addresses that have repeated login failures for the specified number of minutes. Useful to prevent attempts at guessing passwords. If set to zero, no banning is done.

Choose the default book list mode. Set the default book list mode that will be used for new users. Individual users can override the default in their own settings. The default is to use a cover grid.

Minimum size for which responses use data compression (in bytes).

Path to a JSON file containing a template for the custom book list mode. The easiest way to create such a template file is to go to Preferences-> Sharing over the net-> Book list template in calibre, create the template and export it.

Executa el procés en segon pla com a dimoni (només a Linux).

Restrict displayed user-defined fields. Comma separated list of user-defined metadata fields that will be displayed by the Content server in the /opds and /mobile views. If you specify this option, any fields not in this list will not be displayed. For example: my_rating,my_tags

Socket pre-allocation, for example, with systemd socket activation. Per defecte, aquesta opció està habilitada.

Password based authentication to access the server. Normally, the server is unrestricted, allowing anyone to access it. You can restrict access to predefined users with this option. Per defecte, aquesta opció està inhabilitada.

Fallback to auto-detected interface. If for some reason the server is unable to bind to the interface specified in the listen_on option, then it will try to detect an interface that connects to the outside world and bind to that. Per defecte, aquesta opció està habilitada.

Allow un-authenticated local connections to make changes. Normally, if you do not turn on authentication, the server operates in read-only mode, so as to not allow anonymous users to make changes to your calibre libraries. This option allows anybody connecting from the same computer as the server is running on to make changes. This is useful if you want to run the server without authentication but still use calibredb to make changes to your calibre libraries. Note that turning on this option means any program running on the computer can make changes to your calibre libraries. Per defecte, aquesta opció està inhabilitada.

Log HTTP 404 (Not Found) requests. Normally, the server logs all HTTP requests for resources that are not found. This can generate a lot of log spam, if your server is targeted by bots. Use this option to turn it off. Per defecte, aquesta opció està habilitada.

Advertise OPDS feeds via BonJour. Advertise the OPDS feeds via the BonJour service, so that OPDS based reading apps can detect and connect to the server automatically. Per defecte, aquesta opció està habilitada.

Zero copy file transfers for increased performance. This will use zero-copy in-kernel transfers when sending files over the network, increasing performance. However, it can cause corrupted file transfers on some broken filesystems. If you experience corrupted file transfers, turn it off. Per defecte, aquesta opció està habilitada.

mostra aquest missatge d'ajuda i surt

Ignored user-defined metadata fields. Comma separated list of user-defined metadata fields that will not be displayed by the Content server in the /opds and /mobile views. For example: my_rating,my_tags

The interface on which to listen for connections. The default is to listen on all available IPv4 interfaces. You can change this to, for example, "127.0.0.1" to only listen for connections from the local machine, or to "::" to listen to all incoming IPv6 and IPv4 connections.

Path to log file for server log. This log contains server information and errors, not access logs. By default it is written to stdout.

Manage the database of users allowed to connect to this server. You can use it in automated mode by adding a --. See calibre-server --manage-users -- help for details. See also the --userdb option.

Max. size of single HTTP header (in KB).

Temps màxim per als processos de treball. Temps màxim que els processos de treball poden executar-se (en minuts). Definiu-ho com a zero si no voleu límit.

Maximum number of worker processes. Worker processes are launched as needed and used for large jobs such as preparing a book for viewing, adding books, converting, etc. Normally, the max. number of such processes is based on the number of CPU cores. You can control it by this setting.

Mida màx. del fitxer del registre (en MB). La mida màxima dels fitxers dels registres, generats pel servidor. Quan el registre supera aquesta mida, es rota automàticament. Establiu-ho a zero per inhabilitar la rotació del registre.

Maximum number of books in OPDS feeds. The maximum number of books that the server will return in a single OPDS acquisition feed.

Maximum number of ungrouped items in OPDS feeds. Agrupa els ítems en categories com ara autors o etiquetes per la primera lletra quan hi hagi més d'aquest nombre d'ítems. Establiu-ho a zero per a inhabilitar-ho.

Max. allowed size for files uploaded to the server (in MB).

Number of books to show in a single page. The number of books to show in a single page in the browser.

Desa el PID del procés al fitxer que s'especifiqui

El port on escoltar les connexions.

Path to a JSON file containing URLs for the "Search the internet" feature. The easiest way to create such a file is to go to Preferences-> Sharing over the net->Search the internet in calibre, create the URLs and export them.

Total time in seconds to wait for clean shutdown.

Camí al fitxer del certificat SSL.

Camí al fitxer de la clau privada SSL.

El temps (en segons) després del qual es tanca una connexió ociosa.

Allow un-authenticated connections from specific IP addresses to make changes. Normally, if you do not turn on authentication, the server operates in read-only mode, so as to not allow anonymous users to make changes to your calibre libraries. This option allows anybody connecting from the specified IP addresses to make changes. Must be a comma separated list of address or network specifications. This is useful if you want to run the server without authentication but still use calibredb to make changes to your calibre libraries. Note that turning on this option means anyone connecting from the specified IP addresses can make changes to your calibre libraries.

A prefix to prepend to all URLs. Useful if you wish to run this server behind a reverse proxy. For example use, /calibre as the URL prefix.

Path to the user database to use for authentication. The database is a SQLite file. To create it use --manage-users. You can read more about managing users at: https://manual.calibre-ebook.com/server.html#managing-user-accounts-from-the-command-line-only

mostra el número de versió del programa i surt

Nombre de subprocessos de treball a utilitzar per a processar les peticions.

AUTHOR

Kovid Goyal

COPYRIGHT

Kovid Goyal

d’agost 12, 2022 6.3.0