Options

Command line flags and their environment variable equivalents.

The server accepts options as command line arguments and/or environment variables. A command line flag takes precedence over its environment variable.

FlagEnvironment variableDescription
-addrYARR_ADDRAddress to run the server on (default 127.0.0.1:7070)
-baseYARR_BASEBase path of the service URL
-authYARR_AUTHUsername and password in the format username:password
-auth-fileYARR_AUTHFILEPath to a file containing username:password. Takes precedence over -auth
-cert-fileYARR_CERTFILEPath to the TLS certificate file
-key-fileYARR_KEYFILEPath to the TLS key file
-dbYARR_DBStorage file path
-log-fileYARR_LOGFILEPath to the log file
-client-timeoutYARR_CLIENT_TIMEOUTOverall HTTP timeout for feed and site fetches (default 30s)
-open—Open the server in the browser

HTTPS

Both -cert-file and -key-file are required to enable HTTPS.

Timeout

-client-timeout accepts a human-readable duration such as 120s, 2m or 1m30s. Increase it when slow upstreams (e.g. self-hosted feed generators) take longer than the default 30s to respond.