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.
Whenever you pass arguments to calibre-server that have
spaces in them, enclose the arguments in quotation marks. For example:
"/some path/with spaces"
- --access-log
- 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.
- --ajax-timeout
- Tempo (in secondi) di attesa di risposta dal server dopo una
richiesta.
- --auth-mode
- Scegli il tipo di autenticazione adoperato. 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".
- --auto-reload
- Ricarica automaticamente il server quando il codice sorgente è
cambiato. Utile per lo sviluppo. Occorre anche specificare un valore
piccolo per il timeout di spegnimento.
- --ban-after
- Numero di login falliti necessari per il ban. The number of login failures
after which an IP address is banned
- --ban-for
- Banna gli indirizzi IP che hanno fallito più volte ad eseguire il
login. Blocca temporaneamente l'accesso per gli indirizzi IP che
hanno fallito ripetutamente ad eseguire il login per il numero specificato
di minuti. Utile per prevenire tentativi di indovinare le password. Se
impostato a zero non viene eseguito alcun ban
- --book-list-mode
- Scegli la modalità predefinita per l'elenco dei libri. 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.
- --compress-min-size
- Dimensione minima per la quale le risposte utilizzano la compressione dei
dati (in byte).
- --custom-list-template
- 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.
- --daemonize
- Run process in background as a daemon (Linux only).
- --displayed-fields
- Limita i campi definiti dall'utente mostrati. 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
- --enable-auth,
--disable-auth
- 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. By default, this option is
disabled.
- --enable-local-write,
--disable-local-write
- Consenti alle connessioni locali non autenticate di apportare modifiche.
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. By default, this option is disabled.
- --enable-log-not-found,
--disable-log-not-found
- Registra le richieste HTTP 404 (Non Trovato). 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. Questa opzione è abilitata come predefinita
- --enable-use-bonjour,
--disable-use-bonjour
- Pubblicizza i feed OPDS con BonJour. Advertise the OPDS feeds via the
BonJour service, so that OPDS based reading apps can detect and connect to
the server automatically. Questa opzione è abilitata come
predefinita
- --enable-use-sendfile,
--disable-use-sendfile
- Trasferimenti di file in zero copy per prestazioni migliorate. 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. Questa opzione è abilitata come predefinita
- --help, -h
- mostra questo messaggio di aiuto ed esci
- --ignored-fields
- Campi di metadati dell'utente da ignorare. 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
- --listen-on
- L'interfaccia su cui ascoltare in attesa di connessioni. 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.
- --log
- 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-users
- 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-job-time
- Tempo massimo dei processi di lavoro. Maximum amount of time worker
processes are allowed to run (in minutes). Set to zero for no limit.
- --max-jobs
- Numero massimo di processi di lavoro. I processi di lavoro vengono avviati
in base alle necessità e utilizzati per lavori di grandi dimensioni
come la preparazione di un libro per la visualizzazione, l'aggiunta
di libri, la conversione, ecc. Normalmente, il numero massimo di tali
processi si basa sul numero di core della CPU. È possibile
controllarlo con questa impostazione.
- --max-log-size
- Dimensione massima del file di log (in MB). The maximum size of log files,
generated by the server. When the log becomes larger than this size, it is
automatically rotated. Set to zero to disable log rotation.
- --max-opds-items
- Numero massimo di libri nei feed OPDS. The maximum number of books that
the server will return in a single OPDS acquisition feed.
- --max-opds-ungrouped-items
- Numero massimo di elementi non raggruppati nei feed OPDS. Group items in
categories such as author/tags by first letter when there are more than
this number of items. Set to zero to disable.
- --num-per-page
- Numero di libri da mostrare in una pagina singola. The number of books to
show in a single page in the browser.
- --pidfile
- Scrivi il PID di processo nel file specificato
- --port
- La porta di ascolto per la connessione.
- --search-the-net-urls
- 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.
- --timeout
- Tempo (in secondi) dopo il quale una connessione inattiva viene
chiusa.
- --trusted-ips
- Consenti a connessioni non autenticate da indirizzi IP specifici di
apportare modifiche. 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.
- --url-prefix
- Un prefisso da anteporre a tutti gli URL. Useful if you wish to run this
server behind a reverse proxy. For example use, /calibre as the URL
prefix.
- --userdb
- 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
- --version
- mostra la versione del programma ed esci
- --worker-count
- Numero di thread di lavoro utilizzati per elaborare le richieste.