Show HN: XedOut (A Safari Extension filter for X.com) (github.com)

🤖 AI Summary
A developer released XedOutV2, a Safari extension that uses AI to hide unwanted content on X (formerly Twitter). It offers a video filter, an ad/promoted-post blocker, image-aware analysis, and a customizable “AI-Powered Custom Filter” that runs user prompts (e.g., “political content”, “cryptocurrency”) against GPT-4o-mini to return true/false and hide matching tweets. The project is open source (MIT) and runs as a Safari web extension (requires macOS 14+, Xcode 15+, Safari 17+). Setup is straightforward: clone the repo, open in Xcode, enable the extension in Safari, and enter an OpenAI API key stored locally in the browser. Technically, all filtering happens client-side in the browser: contentScript → background script → OpenAI API. Calls are made from the extension directly to OpenAI (default model gpt-4o-mini); text-only checks cost roughly $0.001 per post and image-enabled checks about $0.01, so $10 buys ~10,000 text checks or ~1,000 image checks. The repo includes manifest, background.js (API calls), contentScript.js (DOM filtering) and popup UI. This approach balances powerful, prompt-driven moderation with privacy claims (no third-party servers), but raises practical considerations: exposing your API key locally, per-post latency/cost while scrolling, and extension permissions. The project welcomes contributions and plans for multi-provider support, analytics, whitelists, and profiles.
Loading comments...
loading comments...