MINIFLUX(1)
π miniflux (MINIFLUX(1)) β the manual, but make it group chat π
π NAME π
miniflux is a minimalist and opinionated feed reader. That's the whole vibe, bestie: minimal, opinionated, iconic. π
π SYNOPSIS π
miniflux [options]
β¨ DESCRIPTION β¨
Okay so miniflux is a minimalist and opinionated feed reader. Periodt.
When started without any command option, miniflux runs as a daemon: it starts the HTTP server, the background scheduler that refreshes feeds, and the cleanup jobs. It's giving main character energy with three jobs at once. π
Miniflux requires a PostgreSQL database. The database schema must be up to date before the daemon starts: use -migrate or set RUN_MIGRATIONS. Don't skip the vibe check on your schema, fr fr. π«Ά
Options can be prefixed with one or two dashes. Cute and flexible, iykyk.
π OPTIONS π
-c, -config-file /path/to/miniflux.confβ Load the configuration file. Environment variables override the values defined in the file. β¨-config-dumpβ Print parsed configuration values and exit. The output includes sensitive information like passwords. π¨-create-adminβ Create an admin user from an interactive terminal and exit. The username and password are prompted for. π-debugβ Set log level todebug. π-export-user-feedsusername β Export the feeds of the given user as OPML to the standard output and exit. π€-flush-sessionsβ Flush all sessions (disconnect users) and exit. Bye besties, logged out era. π-h, -helpβ Show usage information and exit. π«Ά-healthcheckendpoint β Perform a health check on the given endpoint and exit. The check fails if the endpoint cannot be reached within3 secondsor does not return HTTP status200. The value"auto"builds the endpoint from the firstLISTEN_ADDRaddress and the base path ofBASE_URL, for examplehttp://127.0.0.1:8080/healthcheck. β-i, -infoβ Show build information and exit. π οΈ-migrateβ Run SQL migrations and exit. ποΈ-refresh-feedsβ Refresh a batch of feeds and exit. π-reset-feed-errorsβ Clear all feed errors for all users and exit. Clean slate energy. β¨-reset-feed-next-check-atβ Reset the next check time for all feeds and exit. β°-reset-passwordβ Reset a user password from an interactive terminal and exit. The username and new password are prompted for. π-run-cleanup-tasksβ Run cleanup tasks (delete old sessions and archive old entries) and exit. π§Ή-v, -versionβ Show application version and exit. π
πΈ CONFIGURATION FILE πΈ
The configuration file is a text file that follows these rules, bestie:
- Each line is in
KEY=VALUEformat. - Lines beginning with
#are comments and are ignored. - Blank lines and lines without
=are ignored. - Whitespace around keys and values is removed.
- Quotes are not removed: values are used as written.
- An empty value keeps the default value.
- Unknown keys are ignored.
- There is no variable interpolation.
Keys are the same as the environment variables described below. Environment variables override the values defined in the config file. No cap. π«Ά
π¦ ENVIRONMENT π¦
Boolean options accept the following values (case-insensitive): 1/0, yes/no, true/false, on/off. β
For variables ending in _FILE, the value is a path to a file that contains the corresponding secret value. π
ADMIN_PASSWORDβ Admin user password, used only ifCREATE_ADMINis enabled. Default is empty. π«ΆADMIN_PASSWORD_FILEβ Path to a secret key exposed as a file, it should contain theADMIN_PASSWORDvalue. Default is empty. πADMIN_USERNAMEβ Admin user login, used only ifCREATE_ADMINis enabled. Default is empty. πADMIN_USERNAME_FILEβ Path to a secret key exposed as a file, it should contain theADMIN_USERNAMEvalue. Default is empty. πAUTH_PROXY_HEADERβ Proxy authentication HTTP header. The optionTRUSTED_REVERSE_PROXY_NETWORKSmust be configured to allow the proxy to authenticate users. Default is empty. π‘οΈAUTH_PROXY_USER_CREATIONβ Set to1to create users based on proxy authentication information. When disabled, users must already exist in Miniflux to sign in through the proxy. Disabled by default. π₯BASE_URLβ Base URL to generate HTML links and base path for cookies. The scheme must behttporhttps. A path component sets the base path when Miniflux is served from a subfolder, for examplehttps://example.org/miniflux/. Default ishttp://localhost. πBATCH_SIZEβ Number of feeds to send to the queue for each interval. Default is100 feeds. π¦CERT_DOMAINβ Use Let's Encrypt to get automatically a certificate for this domain. Miniflux also listens on port80to answer the ACME HTTP challenge. Certificates are cached in the database. This option cannot be used withCERT_FILEandKEY_FILE. Default is empty. β¨CERT_FILEβ Path to SSL certificate. Must be used withKEY_FILE. Default is empty. πCLEANUP_ARCHIVE_BATCH_SIZEβ Number of entries to archive for each job interval. Default is10000 entries. ποΈCLEANUP_ARCHIVE_READ_DAYSβ Number of days before the cleanup job archives read entries. Archiving deletes non-bookmarked, non-shared read entries from the database and records a tombstone to prevent the same entry from being imported again during a later feed refresh. Set to-1to disable automatic archiving of read entries. Default is60 days. πͺ¦CLEANUP_ARCHIVE_UNREAD_DAYSβ Number of days before the cleanup job archives unread entries. Archiving deletes non-bookmarked, non-shared unread entries from the database and records a tombstone to prevent the same entry from being imported again during a later feed refresh. Set to-1to disable automatic archiving of unread entries. Default is180 days. πͺ¦CLEANUP_FREQUENCY_HOURSβ Interval in hours between cleanup jobs (remove old sessions and archive entries). Default is24 hours. β³CLEANUP_REMOVE_SESSIONS_DAYSβ Number of days after which sessions are removed from the database. Default is30 days. πCREATE_ADMINβ Set to1to create an admin user from environment variables. Disabled by default. πDATABASE_CONNECTION_LIFETIMEβ Maximum amount of time in minutes a connection may be reused. Default is5 minutes. β±οΈDATABASE_MAX_CONNSβ Maximum number of database connections. Default is20. πDATABASE_MIN_CONNSβ Minimum number of database connections. Must be less than or equal toDATABASE_MAX_CONNS. Default is1. πDATABASE_URLβ PostgreSQL connection parameters. Default isuser=postgres password=postgres dbname=miniflux2 sslmode=disable. πDATABASE_URL_FILEβ Path to a secret key exposed as a file, it should contain theDATABASE_URLvalue. Default is empty. πDISABLE_APIβ Disable miniflux's API. Default isfalse(the API is enabled). πDISABLE_HSTSβ Disable HTTP Strict Transport Security header if HTTPS is set. Default isfalse(HSTS is enabled). π‘οΈDISABLE_HTTP_SERVICEβ Set the value to1to disable the HTTP service. Default isfalse(the HTTP service is enabled). π«DISABLE_LOCAL_AUTHβ Disable local authentication. When set totrue, the username/password form is hidden from the login screen, and the options to change username/password or unlink OAuth2 account are hidden from the settings page. Password authentication is also rejected by the login form and by the REST API HTTP Basic Authentication, and passwords can no longer be changed. API clients must use an API key instead. This option requires an alternative authentication source such as OAuth2, auth proxy, or WebAuthn/Passkeys. If remote user creation is disabled, only existing users can sign in. To use WebAuthn as the only authentication method, register at least one Passkey while another authentication method is available, before enablingDISABLE_LOCAL_AUTH. Default isfalse. πDISABLE_SCHEDULER_SERVICEβ Set the value to1to disable the internal scheduler service. Default isfalse(the internal scheduler service is enabled). π«FETCHER_ALLOW_PRIVATE_FEED_PROXYβ Set to1to allow feed proxy URLs to use private or loopback network addresses. This option applies to all authenticated users and should only be enabled when the private proxy boundary is trusted. Disabled by default. β οΈFETCHER_ALLOW_PRIVATE_NETWORKSβ Set to1to allow outgoing fetcher requests to private or loopback networks. Disabled by default, private networks are refused. β οΈFETCH_BILIBILI_WATCH_TIMEβ Set the value to1to scrape video duration from Bilibili website and use it as a reading time. Disabled by default. π¬FETCH_NEBULA_WATCH_TIMEβ Set the value to1to scrape video duration from Nebula website and use it as a reading time. Disabled by default. π¬FETCH_ODYSEE_WATCH_TIMEβ Set the value to1to scrape video duration from Odysee website and use it as a reading time. Disabled by default. π¬FETCH_YOUTUBE_WATCH_TIMEβ Set the value to1to scrape video duration from YouTube website and use it as a reading time. Disabled by default. π¬FORCE_REFRESH_INTERVALβ Minimum interval in minutes between two manual refreshes. Default is30 minutes. β°HTTP_CLIENT_MAX_BODY_SIZEβ Maximum body size for HTTP requests in Mebibyte (MiB). Default is15 MiB. π¦HTTP_CLIENT_PROXIESβ Enable proxy rotation for outgoing requests by providing a comma-separated list of proxy URLs. Default is empty. πHTTP_CLIENT_PROXYβ Proxy URL to use when the"Fetch via proxy"feed option is enabled. Default is empty. πHTTP_CLIENT_TIMEOUTβ Time limit in seconds before the HTTP client cancels the request. Default is20 seconds. β±οΈHTTP_CLIENT_USER_AGENTβ The default User-Agent header to use for the HTTP client. It can be overridden in per-feed settings. When empty, Miniflux uses a default User-Agent that includes the Miniflux version. Default is empty. π΅οΈHTTP_SERVER_TIMEOUTβ Read, write, and idle timeout in seconds for the HTTP server. Default is300 seconds. β±οΈHTTPSβ forces cookies to use the secure flag and sends the HSTS header π . Default is disabled.INTEGRATION_ALLOW_PRIVATE_NETWORKSβ set to1to let outgoing integration requests hit private or loopback networks. Disabled by default β meaning private networks get refused, no exceptions, bestie π.INVIDIOUS_INSTANCEβ sets a custom invidious instance to use. Default isyewtu.be.KEY_FILEβ path to the SSL private key. Must be used withCERT_FILE(they're a package deal π«Ά). Default is empty.LISTEN_ADDRβ the address to listen on. Multiple addresses can be specified, separated by commas, for example127.0.0.1:8080, 127.0.0.1:8081β¨.
Use an absolute path to listen on a Unix socket (/var/run/miniflux.sock). When Miniflux creates the socket itself, it uses mode 0660. This mode is hardcoded and cannot be configured β so don't go looking for a setting, it does not exist π.
With systemd socket activation, Miniflux uses the socket passed by systemd and only the first address is taken into account.
Default is 127.0.0.1:8080.
LOG_DATE_TIMEβ displays the date and time in log messages. Disabled by default.LOG_FILEβ supported values are"stderr","stdout", or a file name. Default is"stderr".LOG_FORMATβ supported log formats are"text"or"json". Default is"text".LOG_LEVELβ supported values are"debug","info","warning", or"error". Default is"info".MAINTENANCE_MESSAGEβ defines a custom maintenance message. Default is"Miniflux is currently under maintenance".MAINTENANCE_MODEβ set to1to enable maintenance mode π§. Disabled by default.MEDIA_PROXY_CUSTOM_URLβ sets an external server to proxy media through. Default is empty, which means Miniflux does the proxying itself.MEDIA_PROXY_HTTP_CLIENT_TIMEOUTβ time limit in seconds before the media proxy HTTP client cancels the request β³. Default is120seconds.MEDIA_PROXY_MODEβ possible values are:http-onlyβ proxy only media served over insecure HTTP.allβ proxy all media.noneβ disable the media proxy.
Default is "http-only".
MEDIA_PROXY_PRIVATE_KEYβ sets a custom private key used to sign proxified media URLs π.
By default, a secret key is randomly generated during startup. Proxified URLs are therefore invalidated on restart and are not shared between multiple instances. Set this option to keep them stable.
MEDIA_PROXY_RESOURCE_TYPESβ a comma-separated list of media types to proxify. Supported values are:image,audio,video. Default isimage.METRICS_ALLOWED_NETWORKSβ list of networks allowed to access the metrics endpoint (comma-separated values). Default is127.0.0.1/8.METRICS_COLLECTORβ set to1to enable the metrics collector and expose a/metricsendpoint for Prometheus π. Disabled by default.METRICS_PASSWORDβ metrics endpoint password for basic HTTP authentication. Must be used withMETRICS_USERNAME. Default is empty.METRICS_PASSWORD_FILEβ path to a file that contains the password for the metrics endpoint HTTP authentication. Default is empty.METRICS_REFRESH_INTERVALβ interval in seconds between two collections of database metrics. Default is60seconds.METRICS_USERNAMEβ metrics endpoint username for basic HTTP authentication. Must be used withMETRICS_PASSWORD. Default is empty.METRICS_USERNAME_FILEβ path to a file that contains the username for the metrics endpoint HTTP authentication. Default is empty.OAUTH2_ADDITIONAL_SCOPESβ additional OAuth2 scopes to request. Default is empty.OAUTH2_ADMIN_GROUPβ group for administrators. When set, the admin role is mapped based on the specified group π. Default is empty.OAUTH2_CLIENT_IDβ OAuth2 client ID. Default is empty.OAUTH2_CLIENT_ID_FILEβ path to a secret key exposed as a file; it should contain theOAUTH2_CLIENT_IDvalue. Default is empty.OAUTH2_CLIENT_SECRETβ OAuth2 client secret. Default is empty.OAUTH2_CLIENT_SECRET_FILEβ path to a secret key exposed as a file; it should contain theOAUTH2_CLIENT_SECRETvalue. Default is empty.OAUTH2_GROUP_CLAIMβ claim that contains user groups, which can be used for mapping the admin role.
The claim is read from the user info response, then from the ID token. Users without this claim are not administrators β periodt.
Default is empty.
OAUTH2_OIDC_DISCOVERY_ENDPOINTβ OpenID Connect discovery endpoint. Required whenOAUTH2_PROVIDERis set to"oidc". Default is empty.OAUTH2_OIDC_PROVIDER_NAMEβ name to display for the OIDC provider. Default is"OpenID Connect".OAUTH2_PROVIDERβ possible values are"google"or"oidc". Default is empty.OAUTH2_REDIRECT_URLβ OAuth2 redirect URL. This URL must be registered with the provider and is something likehttps://miniflux.example.org/oauth2/oidc/callback. Default is empty.OAUTH2_USER_CREATIONβ set to1to authorize OAuth2 user creation. When disabled, users must already exist in Miniflux or have a linked OAuth2 account to sign in. Disabled by default.POLLING_FREQUENCYβ interval in minutes for the background job scheduler. It determines how often a batch of feeds is selected for refresh, based on their last refresh time β°. Default is60minutes.POLLING_LIMIT_PER_HOSTβ limits the number of concurrent requests to the same hostname when polling feeds. This helps prevent overwhelming a single server during batch processing by the worker pool π«Ά. Default is0(disabled).POLLING_PARSING_ERROR_LIMITβ the maximum number of parsing errors that the program will try before stopping polling a feed. Once the limit is reached, the user must refresh the feed manually. Set to0for unlimited. Default is3.POLLING_SCHEDULERβ determines the strategy used to schedule feed polling. Supported values are:round_robinβ feeds are polled in a fixed, rotating order.entry_frequencyβ the polling interval for each feed is based on the average update frequency over the past week.
The number of feeds polled in a given period is limited by the POLLING_FREQUENCY and BATCH_SIZE settings. Regardless of the scheduler used, the total number of polled feeds will not exceed the maximum allowed per polling cycle.
Default is "round_robin".
PORTβ overrideLISTEN_ADDRwith:$PORT, which listens on all network interfaces. The value must be between1and65535. Default is empty.RUN_MIGRATIONSβ set to1to run database migrations. Disabled by default.SCHEDULER_ENTRY_FREQUENCY_FACTORβ factor to increase refresh frequency for the entry frequency scheduler. Default is1.SCHEDULER_ENTRY_FREQUENCY_MAX_INTERVALβ maximum interval in minutes for the entry frequency scheduler. Default is1440minutes (24 hours).SCHEDULER_ENTRY_FREQUENCY_MIN_INTERVALβ minimum interval in minutes for the entry frequency scheduler. Must be less than or equal toSCHEDULER_ENTRY_FREQUENCY_MAX_INTERVAL. Default is5minutes.SCHEDULER_ROUND_ROBIN_MAX_INTERVALβ maximum interval in minutes for the round robin scheduler. Default is1440minutes (24 hours).SCHEDULER_ROUND_ROBIN_MIN_INTERVALβ minimum interval in minutes for the round robin scheduler. Must be less than or equal toSCHEDULER_ROUND_ROBIN_MAX_INTERVAL. Default is60minutes.TRUSTED_REVERSE_PROXY_NETWORKSβ a comma-separated list of networks (CIDR notation) allowed to use the proxy authentication header,X-Forwarded-For,X-Forwarded-Proto, andX-Real-Ipheaders π‘οΈ. Default is empty.WATCHDOGβ enable or disable Systemd watchdog. Enabled by default.WEBAUTHNβ enable or disable WebAuthn/Passkey authentication π.
You must provide a username on the login page if you are using non-discoverable (non-resident) credentials, such as some hardware security keys. This is not required for discoverable credentials (Passkeys).
Default is disabled.
WORKER_POOL_SIZEβ number of background workers. Default is16workers.YOUTUBE_API_KEYβ YouTube API key for use withFETCH_YOUTUBE_WATCH_TIME. If nonempty, the duration will be fetched from the YouTube API. Otherwise, the duration will be fetched from the YouTube website πΊ. Default is empty.YOUTUBE_EMBED_URL_OVERRIDEβ YouTube URL which will be used for embeds. Default ishttps://www.youtube-nocookie.com/embed/.
π FILES π
/etc/miniflux.confβ the configuration file installed by the Debian and RPM packages. The systemd service loads it as environment variables β¨.
π EXIT STATUS π
miniflux exits with status 0 on success and 1 on error β
. With -healthcheck, a non-zero status means the health check failed.
π EXAMPLES π
Run the database migrations and create an admin user from environment variables:
export DATABASE_URL="postgres://miniflux:secret@localhost/miniflux?sslmode=disable"
RUN_MIGRATIONS=1 CREATE_ADMIN=1 ADMIN_USERNAME=admin \
ADMIN_PASSWORD=changeme miniflux
Start Miniflux with a configuration file:
miniflux -c /etc/miniflux.conf
Check that a running instance is healthy, for example in a container health check:
miniflux -healthcheck auto
Export the feeds of a user:
miniflux -export-user-feeds someone > feeds.xml
π¦ SEE ALSO π¦
Online documentation: https://miniflux.app/docs/
π AUTHORS π
Miniflux is developed and maintained by FrΓ©dΓ©ric Guillot with contributions from the Miniflux community π«Άπ.
πΈ COPYRIGHT πΈ
Miniflux is released under the Apache 2.0 license.
And that's the whole page, bestie, you made it to the end ππ β¨ β this masterpiece is MINIFLUX(1), dated October 31, 2026. Now go read some feeds, you've earned it ππ¦π
π¦ where this page comes from
- arch rolling: miniflux 2.3.5-1 Β· Apache-2.0
- nixos 26.05: miniflux 2.3.5
- nixpkgs unstable: miniflux 2.3.5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms