What it is
AntiRot is a shipped browser extension backed by a FastAPI service. It watches YouTube navigation, sends the current video URL to the server, shows a blocking overlay when a video is classified as low-value, and now doubles as a focus control panel for the rest of the YouTube interface.
How it works
The extension registers an anonymous install token, then sends video URLs and optional custom rules to the hosted API at api.antirot.in. The backend verifies the install, rate limits abuse, checks a classification cache, pulls transcripts through Supadata when needed, and routes the final transcript to OpenRouter for a strict allow-or-block answer.
What shipped
- Version 0.6.2 of the Chrome Manifest V3 extension.
- Granular YouTube cleanup controls for Shorts, recommendations, comments, live chat, playlists, end screens, autoplay, annotations, and more.
- Balanced and Strict focus presets, plus expanded popup organization and light, dark, and system theme support.
- Anonymous install verification, request tracking, and rate limiting to protect the public API without collecting real user identities.
- Server-side classification caching in SQLite, with Supabase-ready tables for installs, cache entries, and request events.
- Fail-open behavior so API failures never trap the user away from a video.
Stack
Chrome Manifest V3, vanilla JavaScript, Python 3.11, FastAPI, OpenRouter, Supadata, SQLite, Supabase, Docker, and Google Cloud Run.