miniflux / v2

Minimalist and opinionated feed reader
https://miniflux.app
Apache License 2.0
6.98k stars 727 forks source link

FR: Global block/keep rules #1326

Closed thiagowfx closed 4 months ago

thiagowfx commented 2 years ago

As a follow-up of https://miniflux.app/docs/rules.html#filtering-rules:

Block rules ignore articles with a title that match the regex. Keep rules keeps only articles that matches the regex.

...one generalization is add block/keep rules globally.

Explanation

Currently one can only add block rules on a per-feed basis.

The idea here would be to add two new settings (/settings): global block rules and global keep rules (=affects all feeds).

Practical usage

The use case for "global keep rule" may be limited, I don't have any myself. I am mostly interested in a "global block rule", but I think it could make sense to add "global keep rule" as well for consistency purposes.

I'd be willing to give it a try to implement this (although I am not familiar with the codebase as of today), but first I'd like to know whether it sounds like a feasible FR.

SansGuidon commented 9 months ago

I support this request, I have missed this feature at least a few times this week as I often end up blocking the same keywords globally in my newsfeed, typically things related to topics I don't have interest forever or at this time. It would be nice to block those globally instead of having to repeat the same rules in all feeds (I have hundred RSS feeds :-) ). Thanks !