Skip to content

ashemag/x-feed-filter

Repository files navigation

X Feed Filter

Chrome extension that uses AI to filter negative/toxic posts from your X (Twitter) feed.

Setup

1. Database

Create a Supabase project and run the SQL in supabase/migrations/.

2. Configuration

Edit background.js:

const SUPABASE_URL = 'https://YOUR_PROJECT.supabase.co';
const SUPABASE_ANON_KEY = 'your-anon-key';

const AI_CONFIG = {
    provider: 'openai', // or 'groq'
    openai: {
        apiKey: 'sk-your-key',
        // ...
    }
};

3. Install

  1. Go to chrome://extensions/
  2. Enable Developer mode
  3. Click Load unpacked → select this folder

Usage

Browse X. Negative posts get blurred automatically. Click "Show anyway" to reveal.

Cost

  • OpenAI gpt-4o-mini: ~$0.15/1M tokens
  • Groq llama-3.1-8b: free tier available

License

MIT

About

🛡️ AI-powered Chrome extension that filters negative content from your X (Twitter) feed

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors