An AI-powered Chrome extension developed as a hackathon project, designed to filter political content and advertisements via keywords for x.com.
- My collegues and I set out to create a Chrome extension leveraging large language models (LLMs).
- In one day, we built a prototype, but the code needed refinement. The original repository is here.
- I started fresh and extracted the best parts to create this polished, working version.
Follow these steps to get the X-Filter extension running locally:
git clone https://github.com/nuckarronjones/X-Filter-App
cd X-Filter-Appcd frontend
npm install
cd ../backend
npm install
- In the backend/ directory, create a .env file: OPENAI_API_KEY=your_openai_api_key_here
cd ../frontend
npm run build
- This will generate a dist/ folder containing the production-ready frontend.
cd ../backend
npm run start
- The backend will now be running locally.
- Open Chrome and navigate to chrome://extensions/.
- Enable Developer mode (toggle in the top-right corner).
- Click Load unpacked and select the frontend/dist/ folder.
- The extension should now appear in your Chrome toolbar.
- Enjoy your enhanced x.com experience, free of poitical content and advertisements disguised as posts.