2018-11-10 07:00:06 +01:00
|
|
|
.\" Manpage for miniflux.
|
2019-06-09 05:13:40 +02:00
|
|
|
.TH "MINIFLUX" "1" "June 8, 2019" "\ \&" "\ \&"
|
2018-11-10 07:00:06 +01:00
|
|
|
|
|
|
|
.SH NAME
|
|
|
|
miniflux \- Minimalist and opinionated feed reader
|
|
|
|
|
|
|
|
.SH SYNOPSIS
|
2019-06-03 03:20:59 +02:00
|
|
|
\fBminiflux\fR [-vic] [-create-admin] [-debug] [-flush-sessions] [-info] [-migrate]
|
|
|
|
[-reset-feed-errors] [-reset-password] [-version] [-config-file] [-config-dump]
|
2018-11-10 07:00:06 +01:00
|
|
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
\fBminiflux\fR is a minimalist and opinionated feed reader.
|
|
|
|
|
|
|
|
.SH OPTIONS
|
|
|
|
.PP
|
2019-06-03 03:20:59 +02:00
|
|
|
.B \-c
|
|
|
|
.RS 4
|
|
|
|
Load configuration file\&.
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
.B \-config-file
|
|
|
|
.RS 4
|
|
|
|
Load configuration file\&.
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
.B \-config-dump
|
|
|
|
.RS 4
|
|
|
|
Print parsed configuration values\&.
|
|
|
|
.RE
|
|
|
|
.PP
|
2018-11-10 07:00:06 +01:00
|
|
|
.B \-create-admin
|
|
|
|
.RS 4
|
|
|
|
Create admin user\&.
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
.B \-debug
|
|
|
|
.RS 4
|
|
|
|
Show debug logs\&.
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
.B \-flush-sessions
|
|
|
|
.RS 4
|
|
|
|
Flush all sessions (disconnect users)\&.
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
.B \-i
|
|
|
|
.RS 4
|
|
|
|
Show application information\&.
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
.B \-info
|
|
|
|
.RS 4
|
|
|
|
Show application information\&.
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
.B \-migrate
|
|
|
|
.RS 4
|
|
|
|
Run SQL migrations\&.
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
.B \-reset-feed-errors
|
|
|
|
.RS 4
|
|
|
|
Clear all feed errors for all users\&.
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
.B \-reset-password
|
|
|
|
.RS 4
|
|
|
|
Reset user password\&.
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
.B \-v
|
|
|
|
.RS 4
|
|
|
|
Show application version\&.
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
.B \-version
|
|
|
|
.RS 4
|
|
|
|
Show application version\&.
|
|
|
|
.RE
|
|
|
|
|
2019-06-09 02:16:12 +02:00
|
|
|
.SH CONFIGURATION FILE
|
|
|
|
The configuration file is a text file that follow these rules:
|
|
|
|
.LP
|
|
|
|
- Miniflux expects each line to be in KEY=VALUE format.
|
|
|
|
.br
|
|
|
|
- Lines beginning with # are processed as comments and ignored.
|
|
|
|
.br
|
|
|
|
- Blank lines are ignored.
|
|
|
|
.br
|
|
|
|
- There is no variable interpolation.
|
|
|
|
.PP
|
|
|
|
Keys are the same as the environment variables described below.
|
|
|
|
.br
|
|
|
|
Environment variables override the values defined in the config file.
|
|
|
|
|
2018-11-10 07:00:06 +01:00
|
|
|
.SH ENVIRONMENT
|
|
|
|
.TP
|
|
|
|
.B DEBUG
|
|
|
|
Set the value to 1 to enable debug logs\&.
|
|
|
|
.TP
|
2019-06-09 02:16:12 +02:00
|
|
|
.B LOG_DATE_TIME
|
|
|
|
Display the date and time in log messages\&.
|
|
|
|
.TP
|
2018-11-10 07:00:06 +01:00
|
|
|
.B WORKER_POOL_SIZE
|
|
|
|
Number of background workers (default is 5)\&.
|
|
|
|
.TP
|
|
|
|
.B POLLING_FREQUENCY
|
|
|
|
Refresh interval in minutes for feeds (default is 60 minutes)\&.
|
|
|
|
.TP
|
|
|
|
.B BATCH_SIZE
|
|
|
|
Number of feeds to send to the queue for each interval (default is 10)\&.
|
|
|
|
.TP
|
2020-05-25 23:06:56 +02:00
|
|
|
.B POLLING_SCHEDULER
|
|
|
|
The scheduler used for polling feeds. Possible values include: "round_robin", "entry_count_based"
|
|
|
|
.TP
|
|
|
|
.B SCHEDULER_ENTRY_COUNT_BASED_MAX_INTERVAL
|
|
|
|
The maximum interval in minutes for the entry-count-based scheduler
|
|
|
|
.TP
|
|
|
|
.B SCHEDULER_ENTRY_COUNT_BASED_MIN_INTERVAL
|
|
|
|
The minimum interval in minutes for the entry-count-based scheduler
|
|
|
|
.TP
|
2018-11-10 07:00:06 +01:00
|
|
|
.B DATABASE_URL
|
|
|
|
Postgresql connection parameters\&.
|
|
|
|
.br
|
|
|
|
Default is "user=postgres password=postgres dbname=miniflux2 sslmode=disable"\&.
|
|
|
|
.TP
|
|
|
|
.B DATABASE_MAX_CONNS
|
|
|
|
Maximum number of database connections (default is 20)\&.
|
|
|
|
.TP
|
|
|
|
.B DATABASE_MIN_CONNS
|
|
|
|
Minimum number of database connections (default is 1)\&.
|
|
|
|
.TP
|
|
|
|
.B LISTEN_ADDR
|
2018-11-12 01:21:57 +01:00
|
|
|
Address to listen on. Default is 127.0.0.1:8080\&.
|
|
|
|
.br
|
|
|
|
Use absolute path to listen on Unix socket (/var/run/miniflux.sock)\&.
|
2018-11-10 07:00:06 +01:00
|
|
|
.TP
|
|
|
|
.B PORT
|
|
|
|
Override LISTEN_ADDR to 0.0.0.0:$PORT\&.
|
|
|
|
.TP
|
|
|
|
.B BASE_URL
|
|
|
|
Base URL to generate HTML links and base path for cookies\&.
|
|
|
|
.br
|
|
|
|
Default is http://localhost/\&.
|
|
|
|
.TP
|
2019-09-15 20:55:56 +02:00
|
|
|
.B CLEANUP_FREQUENCY_HOURS
|
2018-11-10 07:00:06 +01:00
|
|
|
Cleanup job frequency, remove old sessions and archive read entries\&.
|
|
|
|
.br
|
|
|
|
Default is 24 hours\&.
|
|
|
|
.TP
|
2019-09-15 20:55:56 +02:00
|
|
|
.B CLEANUP_ARCHIVE_READ_DAYS
|
2018-12-28 22:55:12 +01:00
|
|
|
Number of days after marking read items as removed\&.
|
|
|
|
.br
|
|
|
|
Default is 60 days\&.
|
|
|
|
.TP
|
2019-09-15 20:55:56 +02:00
|
|
|
.B CLEANUP_REMOVE_SESSIONS_DAYS
|
|
|
|
Number of days after removing old sessions from the database\&.
|
|
|
|
.br
|
|
|
|
Default is 30 days\&.
|
|
|
|
.TP
|
2018-11-10 07:00:06 +01:00
|
|
|
.B HTTPS
|
|
|
|
Forces cookies to use secure flag and send HSTS header\&.
|
|
|
|
.TP
|
|
|
|
.B DISABLE_HSTS
|
|
|
|
Disable HTTP Strict Transport Security header if \fBHTTPS\fR is set\&.
|
|
|
|
.TP
|
2018-11-12 00:54:19 +01:00
|
|
|
.B DISABLE_HTTP_SERVICE
|
|
|
|
Set the value to 1 to disable the HTTP service\&.
|
|
|
|
.TP
|
|
|
|
.B DISABLE_SCHEDULER_SERVICE
|
|
|
|
Set the value to 1 to disable the internal scheduler service\&.
|
|
|
|
.TP
|
2018-11-10 07:00:06 +01:00
|
|
|
.B CERT_FILE
|
|
|
|
Path to SSL certificate\&.
|
|
|
|
.TP
|
|
|
|
.B KEY_FILE
|
|
|
|
Path to SSL private key\&.
|
|
|
|
.TP
|
|
|
|
.B CERT_DOMAIN
|
|
|
|
Use Let's Encrypt to get automatically a certificate for this domain\&.
|
|
|
|
.TP
|
|
|
|
.B CERT_CACHE
|
|
|
|
Let's Encrypt cache directory (default is /tmp/cert_cache)\&.
|
|
|
|
.TP
|
|
|
|
.B OAUTH2_PROVIDER
|
|
|
|
OAuth2 provider to use\&. Only google is supported\&.
|
|
|
|
.TP
|
|
|
|
.B OAUTH2_CLIENT_ID
|
|
|
|
OAuth2 client ID\&.
|
|
|
|
.TP
|
|
|
|
.B OAUTH2_CLIENT_SECRET
|
|
|
|
OAuth2 client secret\&.
|
|
|
|
.TP
|
|
|
|
.B OAUTH2_REDIRECT_URL
|
|
|
|
OAuth2 redirect URL\&.
|
|
|
|
.TP
|
2020-03-28 22:50:11 +01:00
|
|
|
.B OAUTH2_OIDC_DISCOVERY_ENDPOINT
|
|
|
|
OpenID Connect discovery endpoint\&.
|
|
|
|
.TP
|
2018-11-10 07:00:06 +01:00
|
|
|
.B OAUTH2_USER_CREATION
|
|
|
|
Set to 1 to authorize OAuth2 user creation\&.
|
|
|
|
.TP
|
|
|
|
.B RUN_MIGRATIONS
|
|
|
|
Set to 1 to run database migrations\&.
|
|
|
|
.TP
|
|
|
|
.B CREATE_ADMIN
|
|
|
|
Set to 1 to create an admin user from environment variables\&.
|
|
|
|
.TP
|
|
|
|
.B ADMIN_USERNAME
|
|
|
|
Admin user login, used only if \fBCREATE_ADMIN\fR is enabled\&.
|
|
|
|
.TP
|
|
|
|
.B ADMIN_PASSWORD
|
|
|
|
Admin user password, used only if \fBCREATE_ADMIN\fR is enabled\&.
|
|
|
|
.TP
|
|
|
|
.B POCKET_CONSUMER_KEY
|
|
|
|
Pocket consumer API key for all users\&.
|
|
|
|
.TP
|
|
|
|
.B PROXY_IMAGES
|
|
|
|
Avoids mixed content warnings for external images: http-only, all, or none\&.
|
|
|
|
.br
|
|
|
|
Default is http-only\&.
|
2019-06-02 16:13:35 +02:00
|
|
|
.TP
|
|
|
|
.B HTTP_CLIENT_TIMEOUT
|
|
|
|
Time limit in seconds before the HTTP client cancel the request\&.
|
|
|
|
.br
|
|
|
|
Default is 20 seconds\&.
|
|
|
|
.TP
|
|
|
|
.B HTTP_CLIENT_MAX_BODY_SIZE
|
|
|
|
Maximum body size for HTTP requests in Mebibyte (MiB)\&.
|
|
|
|
.br
|
2019-06-09 05:13:40 +02:00
|
|
|
Default is 15 MiB\&.
|
2020-03-28 22:50:11 +01:00
|
|
|
.TP
|
|
|
|
.B AUTH_PROXY_HEADER
|
|
|
|
Proxy authentication HTTP header\&.
|
|
|
|
.TP
|
|
|
|
.B AUTH_PROXY_USER_CREATION
|
|
|
|
Set to 1 to create users based on proxy authentication information\&.
|
2018-11-10 07:00:06 +01:00
|
|
|
|
|
|
|
.SH AUTHORS
|
2019-07-11 02:27:17 +02:00
|
|
|
.P
|
2018-11-10 07:00:06 +01:00
|
|
|
Miniflux is written and maintained by Fr\['e]d\['e]ric Guillot\&.
|
|
|
|
|
|
|
|
.SH "COPYRIGHT"
|
2019-07-11 02:27:17 +02:00
|
|
|
.P
|
2018-11-10 07:00:06 +01:00
|
|
|
Miniflux is released under the Apache 2.0 license\&.
|