Dev builds Chrome extension that filters YouTube feed with a small local model via WebGPU, no server
manjunath_shiva · reddit · 2026-10-06
Developer manjunathshiva released an open-source Chrome extension that filters your YouTube feed using a small decision model (opendecider-nano, ONNX) running entirely in the browser — no server, no API key, offline after one download.
Features
- Hides 11 video categories (music, gaming, comedy, vlogs, news, etc.) or follows natural-language rules like "hide crypto" / "only cooking"
- One-switch Shorts hiding
- Bonus: right-click any text to check it for prompt injection with the same model
How it runs
- ONNX Runtime Web in an offscreen document; fp16 on WebGPU (755 MiB), q8 on WASM without GPU (569 MiB)
- 40 titles classified in 1.1s on WebGPU, 15s on CPU (M4 Max); 3 GiB RAM while loaded, unloads after 10 idle minutes
- Weights pinned by revision and SHA-256; only network calls are to Hugging Face
Accuracy: on 400 videos, rules like "hide music" average 0.934 balanced accuracy; 11-way classification is harder at 0.780. Evaluated on English titles only. Apache-2.0, Web Store version under review, loadable manually from GitHub Releases.
More from coding & agent
- AI agents solve 909 open math problems in 2 days on 18-year-old's Left to Solve site — julianibarz · 2026-11-29
- 'Verification is AI's next trillion-dollar category' — proof checkers, evals, agents auditing agents — McDonaghMatthew · 2026-11-29
- Vibe-codevember day 28: 'Hive', a Three.js creative coding demo built with AI — thespite · 2026-11-29
- 'End user programming!': a three-word verdict on what LLM coding really unlocks — round · 2026-11-29
- Founder claims LLMs aren't even the right ML approach for writing programs — jfischoff · 2026-11-29
- Gmail's official MCP only drafts, never sends: devs slam over-cautious agent design — steipete · 2026-11-29