3 ms·
I made was tired of reading political crap from some accounts I follow and created a Chrome extension to filter them out. Just define topics you don't want to
by yomismoaqui 2y ago
I made was tired of reading political crap from some accounts I follow and created a Chrome extension to filter them out.
Just define topics you don't want to read about and the AI filter will hide them from your feed.
Technically is just passing the text to Gemini Flash 1.5 with a simple prompt to detect if the tweet is from a forbidden topic.
You can try it here: https://twitter.cercaapp.com https://twitter.cercaapp.com
- natdude 2y agoOh cool - its like anti-virus for your brain. AI firewall! haha
- sebmellen 2y agoYou saved me from having to make this. Thank you! Is the source available? Can this be ported to FireFox?
- KTibow 2y agoThere's a surprising number of extensions like this (see https://github.com/thomasj02/AiFilter https://github.com/thomasj02/AiFilter, https://unbaited.danielpetho.com/ https://unbaited.danielpetho.com/) although it seems most are Chrome-exclusive
- yomismoaqui 2y agoNo source available but the JS code for the extension should be readable on your extensions dir. I'm using MutationObserver to check for tweets appearing and then extract their texts and send them to the server. Server side code is just some Go to handle calls to Gemini Flash, auth, tracking quota usage... To be honest even the prompt used is quite simple, the fun part has been optimizing it using promptfoo for running the evals.