Obvious junk dies instantly
Engagement bait, crypto pumps, NSFW, clickbait phrasing — caught by regex before the model is even asked. A tech/business safelist protects real content from false positives.
A Chrome extension that filters X and YouTube with a small AI model running on your own machine. Noise gets blurred. Signal gets through. Nothing leaves your laptop.
Requires a Mac with Chrome and ~2 GB disk for the model. Everything is open source.
When someone signs up to your SaaS, grab their email domain, get a summary from Firecrawl, have an LLM generate the best starting configuration…
✓ AI: specific tool and tactic ✗I mass launched 70+ startups since 2013. Here's my stack: a $5/month VPS, PHP, jQuery, SQLite. No frameworks. No team. $2.7M ARR.
✓ AI: concrete numbers, real stack ✗Every tweet on your home feed gets a decision in under a second. Nothing is sent anywhere — the model runs in Ollama on localhost.
Engagement bait, crypto pumps, NSFW, clickbait phrasing — caught by regex before the model is even asked. A tech/business safelist protects real content from false positives.
Novelty, specificity, density, authenticity — scored by Gemma running locally (~780ms median). Concrete numbers and real experience read as signal; vague hype reads as noise.
Only confident noise calls get blurred. Everything is reversible — peek under any blur with one click, and tune the confidence threshold to taste.
One tap on ✗ fixes a bad decision and records the mistake. Real corrections graduate into the eval set that gates every future version.
Every version of the filter runs against a 109-tweet golden set before it ships — real tweets, tiered by what missing them would cost. A regression gate blocks any change that loses signal.
The same extension runs an inverted filter on YouTube: everything is blurred by default, and only music (and optionally motivational videos) is revealed. For when you came to press play, not to lose an evening.
Every thumbnail is blurred until the local model confirms it's music. The trending video you didn't come for stays a gray rectangle.
Classification uses just the title and channel with a 2B model, so the grid resolves in a blink. Search and channel pages are never touched.
A counter tracks Shorts binges. Past your limit — 10 Shorts or 5 minutes — a gentle full-screen nudge asks if this is really where the evening goes.
Local mode is free forever and never leaves your machine. Cloud mode is for everyone who doesn't want to run a local AI model: rai runs the classification for you. While rai is in beta, it's free — no card, no subscription, no account, no email.
From the Chrome Web Store or GitHub — see below.
⚙ settings → Mode → Cloud. No setup, no forms.
One click. The key is your account — save it and scroll.
Same filter. Same rules. Zero setup.
Cloud mode sends tweet text and video titles to rai's server for classification. The privacy policy lists exactly what's sent and to whom.
The setup script installs the local AI runtime, downloads the right model for your machine, fixes permissions, and proves the whole pipeline with a live classification before you ever open Chrome.
git clone https://github.com/phuaky/xrai.git && cd xrai bash scripts/setup.sh # ... ✓ Model classified a test tweet: {"prediction":"noise","confidence":0.78}
Open chrome://extensions → enable Developer mode → Load unpacked → select the extension/ folder.
The rai pill appears bottom-right with live shown/hidden counts. 👁 peeks under any blur, ✗ corrects mistakes, ⚙ tunes everything.
Four plain answers before you install. rai behaves like an ad blocker, not a bot.