Miniflux is a minimalist and opinionated feed reader. It's simple, fast, lightweight, and easy to install.
Website: https://miniflux.app
This project is an opinionated fork of Miniflux.
-
The database schema is incompatible with the upstream.
Actually the database migration works fine from version 2.2.8, but not from later versions. So better use a new database for this fork.
Changes from upstream:
-
Google Reader API applies user's
Entry sortingas default sort direction.The upstream uses hardcoded
desc, if a reader didn't request specific sort direction, like Read You does at this moment. And entries always returned ordered newest first. -
Refactor and simplify config parser.
Use env and godotenv for parsing config and env variables. Validate it using validator.
-
Add
LOG_FORMAT=human.It logs something like:
2025/04/20 16:02:00 INFO Starting HTTP server listen_address=127.0.0.1:8080instead of
time=2025-04-20T16:02:00.561+02:00 level=INFO msg="Starting HTTP server" listen_address=127.0.0.1:8080 -
Automatically reopen log file(s) on rotation.
-
Multiple log files.
With configuration like this
LOG_0_FILE=stderr LOG_0_FORMAT=human LOG_0_LEVEL=warning LOG_1_FILE=/var/log/miniflux/miniflux.log LOG_1_FORMAT=human LOG_1_DATE_TIME=true LOG_1_LEVEL=infoall errors and warnings will be logged to both stderr and
/var/log/miniflux/miniflux.log. Info messages will be logged tominiflux.logonly.Any error from second logger will be logged by first logger. Errors from first logger are ignored.
-
Refactor CLI.
Use cobra for parsing flags and args:
$ miniflux -h Miniflux is a minimalist and opinionated feed reader. Usage: miniflux [flags] miniflux [command] Available Commands: completion Generate the autocompletion script for the specified shell config-dump Print parsed configuration values create-admin Create an admin user from an interactive terminal export-user-feeds Export user feeds flush-sessions Flush all sessions (disconnect users) healthcheck Perform a health check on the given endpoint help Help about any command info Show build information migrate Run SQL migrations refresh-feeds Refresh a batch of feeds and exit reset-feed-errors Clear all feed errors for all users reset-feed-next-check-at Reset the next check time for all feeds reset-password Reset user password run-cleanup-tasks Run cleanup tasks (delete old sessions and archives old entries) Flags: -c, --config-file string Path to configuration file --config-yaml string Path to YAML configuration file -d, --debug Show debug logs -h, --help help for miniflux -v, --version version for miniflux Use "miniflux [command] --help" for more information about a command. -
Refactor storage and switch to pgx
DATABASE_URLhave additional variables for pool configuration:pool_max_conn_idle_time: duration string (default 30 minutes) pool_health_check_period: duration string (default 1 minute) pool_max_conn_lifetime_jitter: duration string (default 0)See ParseConfig for details.
Don't specify
pool_max_conns,pool_min_connsandpool_max_conn_lifetime, because config variablesDATABASE_MAX_CONNS,DATABASE_MIN_CONNSandDATABASE_CONNECTION_LIFETIMEoverwrite it.DATABASE_MAX_CONNSchanged its default from 20 to the greater of 4 orruntime.NumCPU(). -
Optionally prefer site icon, instead of feed icon.
New option
PREFER_SITE_ICON=trueconfiguresminifluxalways use auto-detected site icon, instead of icon found in feed description. -
Limit max number of connections per server and rate of connections.
By default the maximum is 8 connections per server. This limit can be changed by adding
CONNECTIONS_PER_SERVERto the config, likeCONNECTIONS_PER_SERVER=10which increases the limit to 10 connections per server.
By default the maximum allowed rate is 10 requests per second per server. This limit can be changed by adding
RATE_LIMIT_PER_SERVERto the config, which defines requests per second, likeRATE_LIMIT_PER_SERVER=100which increases the limit to 100 requests per second or
RATE_LIMIT_PER_SERVER=0.5which decreases the limit to 1 request per 2 seconds.
Connection limits also can be configured per host using YAML config like:
host_limits: "localhost": connections: 3 rate: 100 "a.example.com": rate: 15 "b.example.com": connections: 5 "example.com": rate: 1
Any of
connectionsorrateis optional, but not both of them. If any of them is not specified, value fromCONNECTIONS_PER_SERVERorRATE_LIMIT_PER_SERVERis using.To use this config,
minifluxhas new CLI flag--config-yaml. -
Changed a little how article items looks like.
-
Republished entries marked as unread.
-
Custom comments URL per feed.
Any feed can be configured with custom comments URL instead of feed's comment URL via edit feed UI. The new setting expected to be a templated string like:
{{ .URL }}/comments/. This example appends/comments/to entry URL and use it as comments URL of this entry. As a shortcut, if the template begins with/it directly appends to entry URL, like in previous example.The template can use function
replacelike:{{ replace .URL "/clanek/" "/diskuze/" }}which returns entry URL, where first substring
/clanek/replaced by/diskuze/.Also
.CommentsURLcan be used instead of.URL, which'll return original comments URL modified by the template. -
Click on comments URL mark this entry as read.
If mark entries as read when viewed enabled in user settings.
-
Mark entries as read when scrolled and infinite scroll.
-
Don't trust HTTP headers
X-Forwarded-ForandX-Real-IPby default.Parse them only if request is from one of configured trusted proxies. By default
127.0.0.1is the only trusted IP address. Can be changed with something likeTRUSTED_PROXIES=127.0.0.1,192.168.0.1 -
Option to remove inactive sessions faster.
By default inactive sessions removed after 10 days. It can be changed with
CLEANUP_INACTIVE_SESSIONS_DAYS=30This this configuration inactive sessions will be removed after 30 days.
If
CLEANUP_REMOVE_SESSIONS_DAYS=0sessions will be deleted by inactivity only and active sessions will be refreshed and never deleted, until they will inactive forCLEANUP_INACTIVE_SESSIONS_DAYS. -
Naive deduplication of feed entries.
-
Add operator permission: users who can see admin info.
By default only admin users can see some information. With configuration like
OPERATORS=username1,username2,username3Users
username1,username2andusername3can see list of users and system information likePostgres versionandDatabase size. -
Inline entry reader.
Click entry title and its content will be inlined:
Click the
Downloadbutton and original content will be inlined. -
Fast switch to dark or light mode for current session.
The last item of the main menu is a moon or sun icon. Click on this icon switches theme of current session to dark or light variant and reloads current page.
-
Show feed errors in the list of entries, as a pseudo entry.
So anybody, who uses Google Reader API, will see if some feeds require their attention.
-
Configurable polling interval for feeds, which reached their error limit.
With configuration like
POLLING_ERROR_RETRY=24hthe scheduler will continue to refresh any feed, which reached their error limit, instead of stop polling it. It'll try to refresh them every
24h. -
New content rewrite rule:
html_unescape.This rules converts double encoded content like
<small>Dec <var data-var='date'> 3</var>, <var data-var='time'>02:59:00</var> GMT+0</small>
to
<small>Dec <var data-var='date'> 3</var>, <var data-var='time'>02:59:00</var> GMT+0</small>
-
Add simplified filter for blocking feed entries by authors
-
Add entry blocking rules to categories
Now entries can be blocked by user rules or category rules or feed rules.
-
Optionally mark blocked entries as read, instead of delete them.
With configuration like
BLOCK_MARK_READ=trueit marks entries, blocked by filter rules, as read, instead of deleting them.
-
Permit access to configured list of hosts inside private networks
With configuration like
FETCHER_ALLOW_PRIVATE_HOSTS=127.0.0.1,10.0.0.1:443miniflux has access to 127.0.0.1 (any port) and 10.0.0.1 (port 443 only).
Access to private hosts also can be configured using YAML config like:
privateHosts: "192.168.0.1:443": - "https://example.com/rss-bridge/"
This configuration permits access to
192.168.0.1:443only if requested URL string begins withhttps://example.com/rss-bridge/. -
Deny access to configured list of IP networks.
FETCHER_DENY_NETWORKScontains list of forbidded networks. Default value is0.0.0.0/8100.64.0.0/10168.63.129.16/32192.0.0.192/32198.18.0.0/15240.0.0.0/4::/96::ffff:0:0:0/96100::/642001:2::/482001:db8::/323fff::/205f00::/16fec0::/10
The fetcher isn't allowed to access any IP address from that list, like it can't access private networks. Exclusions can be configured using
FETCHER_ALLOW_PRIVATE_HOSTSorprivateHosts(see above). -
Feed custom proxies should be configured before using it
Before user will be able to select custom feed proxy, it should be configured using YAML config like:
proxies: - name: "Human readable name" id: "this proxy id" url: "http://127.0.0.1:8083"
Now feed settings page shows list of configured proxies, instead of freetyle proxy URL input. If no proxies configured, nothing shown.
-
Using of curl-impersonate:
Using of curl-impersonate can be configured as a proxy, like:
proxies: - name: "curl impersonate Chrome 150" id: "curl_chrome150" curl: [ "/usr/local/bin/curl-impersonate", "--impersonate", "chrome150" ]
After, this proxy can be selected in a feed settings for fetching and/or scraping this feed.
- Supports RSS, Atom, and JSON Feed. Imports and exports OPML.
- Removes pixel trackers and tracking parameters. Blocks external JavaScript.
- Fetches the full content of articles, with custom scraper and rewrite rules.
- Filters articles with regex rules.
- Keyboard shortcuts, touch gestures, and a responsive interface. No mobile app needed.
- 25+ integrations with third-party services, webhooks, and a REST API.
- Works with mobile apps that support the Fever or Google Reader API.
- Authentication with passwords, passkeys, OAuth2, OpenID Connect, or a reverse proxy.
- Single Go binary. Only PostgreSQL is required.
- Available in 24 languages.
See the full list of features.
- Installation
- Configuration
- Command line usage
- Filter, rewrite, and scraper rules
- Webhooks
- Upgrade
- API
- All documentation
Read CONTRIBUTING.md before opening a pull request. Translations are documented in internal/locale/README.md. To report a security vulnerability, see SECURITY.md.
- Authors: Frédéric Guillot and contributors
- Distributed under the Apache 2.0 License