by purple-leafy · 1y ago · 0 comments
2 modes - block only matches, or, block surrounding text (too).
Create as many rules as you like, it will block anything.
I entered it into Google Built-in AI hackathon the other day.
Uses local LLM to scan blocked content to determine if regex was too trigger happy, then lets user unblock.
Not really sentiment analysis purely, though thats something I want to add.
When I'm on hackernews, I'm tired of coming across comments about:
- Donald Trump, Xi, Zelensky, Putin, Musk (Other people)
- China / Russia / Ukraine / USA etc
- Alcohol/drugs/gambling etc
So I basically block all that content
More seriously, any plans to share it? I've been waiting for someone to build a tool like this, although I expected to use sentiment analysis directly rather than regex.
Personally I'd love to block nitpicking comments here on HN, not sure if that could be done with regex though.
Edit: just saw you shared it in another reply.
Needs some tidying up, and you need to figure out how to run the "AI" by following this article [1]
[0] - https://github.com/con-dog/context-aware-pattern-blocker
[1] - https://developer.chrome.com/docs/extensions/ai/prompt-api