LemmyNet / lemmy

🐀 A link aggregator and forum for the fediverse
https://join-lemmy.org
GNU Affero General Public License v3.0
13.3k stars 882 forks source link

Filter to block words #5188

Open MaiteRosalie opened 2 weeks ago

MaiteRosalie commented 2 weeks ago

Requirements

Is your proposal related to a problem?

-

Describe the solution you'd like.

It would be nice if we could block words to filter posts, communities, comments and users.

more context: https://moist.catsweat.com/m/todayilearned@lemmy.world/t/589895/TIL-how-to-block-all-posts-containing-the-words-Trump

Describe alternatives you've considered.

-

Additional context

No response

dessalines commented 2 weeks ago

Surprised no one opened this before, but I couldn't find anything outside of some advanced searching issues that were too big in scope.

This could be added as a user setting (similar to local_site_url_blocklist).

Will probably be a while until I can get to this, unless someone else can work on it.

DraconicNEO commented 2 weeks ago

Maybe it would be a good idea to have it check words and phrases, that way you could more accurately exclude topics i.e. Exclude posts from Donald Trump instead of just Donald and /or Trump Otherwise you would also exclude content with Donald Duck or A Red card will Trump a Blue card and some people might want that but many people won't, so if it can't do phrases many people won't use it or won't be able to use it.