Detoxify: Impossible To Be Distracted.
Detoxify is an AI-powered Chrome extension that uses Google's Gemini AI to intelligently filter your YouTube feed based on your preferences, helping you focus on content that matters to you.
- Quick Start
- Project Inspiration
- What Detoxify Does
- How It Works
- Key Features
- Privacy & Security
- Contributing
- License
- Contact
- Clone the Repository
git clone https://github.com/Saarthakkj/detoxify_yt.git -b multiple_url_handling
cd detoxify_yt
- Load the Extension in Chrome
- Open Chrome and navigate to
chrome://extensions/
- Enable "Developer mode" in the top-right corner
- Click "Load unpacked" and select the
extension
folder from the cloned repository
- Configure Gemini API Key
- Get your Gemini API key from Google AI Studio
- Click on the Detoxify extension icon in Chrome
- Enter your API key in the settings
- Initialize and Use
- Navigate to YouTube
- Type your prefered category and toggle the filter on
- Chose batch size per video : 8-12 (ideal)
- The extension will automatically start filtering content based on your preferences
Detoxify was inspired by Harkirat Singh's YouTube video on building Chrome extensions. His guidance and teaching approach provided the foundation for this project. This extension exists as a contribution to the knowledge Harkirat shared, taking his concepts further by implementing AI-powered content filtering for YouTube.
The project aims to continue the spirit of innovation that Harkirat encourages in his content, helping users create more meaningful experiences online.
Detoxify transforms your YouTube browsing experience by:
- Letting you specify exactly what type of content you want to see
- Using Gemini AI to instantly detect videos matching your preferences
- Filtering out content that doesn't align with your specified interests
- Automatically removing distracting shorts and unwanted videos
- Providing a cleaner, more focused YouTube feed tailored to your needs
- Set Your Preferences: Simply type in what categories of content you're interested in
- Browse YouTube: Navigate YouTube as you normally would
- Real-time AI Processing: The extension uses Google's Gemini AI to analyze video content as they load
- Smart Filtering: Videos are instantly filtered based on your preferences
- Continuous Updates: Your feed refreshes automatically as you scroll, with only relevant content
The extension processes videos in batches for efficiency (8-12 videos at a time is optimal) with an average processing time of just 1.59 second per batch.
- True Real-Time Filtering: Unlike other tools, Detoxify processes content almost instantaneously
- Simple Preference Setting: Just type what you want to see, and Gemini handles the rest
- Personalized Content: View only the content that matches your specified interests
- Distraction Removal: Automatically filters out shorts and other unwanted content
- Fast Processing: Efficient batch processing with minimal latency (~1 second)
- User Control: Easily toggle filtering on/off as needed
- Private Operation: All processing happens on your device
- Your API key is securely stored using Chrome's Storage API
- All communication with Google's API uses secure HTTPS
- No user data is collected or stored
- Content analysis happens on-demand and isn't retained
We welcome contributions to improve Detoxify:
- Fork the repository
- Create a feature branch (
git checkout -b feature/enhancement
) - Commit your changes (
git commit -m 'Add enhancement'
) - Push to the branch (
git push origin feature/enhancement
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Prakhar Agrawal
- Email: prakhar20585@gmail.com
Saarthak Saxena
- Twitter: @curlydazai
- Email: saarthaksaxena7@gmail.com
Project: GitHub Repository
Made with ❤️ for a cleaner YouTube experience