Transform your Reddit browsing into an AI-powered insights engine! Scrape Reddit threads, filter the noise, and instantly send context to your favorite AI assistant for summarization, debate analysis, or sentiment checks.
- Overview
- ✨ Key Features
- Supported Platforms
- 🚀 Installation
- 🛠️ Usage
- 🔧 Configuration
- 🌍 Internationalization
⚠️ Known Issues & Limitations- 🤝 Contributing
- 📄 License
Reddit to AI is a powerful Chrome extension that Bridges the gap between Reddit discussions and Large Language Models (LLMs). It allows you to scrape comprehensive data from any Reddit thread—including the main post, nested comments, and images—and seamlessly transfer it to an AI chat interface (like ChatGPT or Gemini) with a pre-configured prompt.
Whether you're a researcher analyzing sentiment, a user looking for a "TL;DR", or just someone who wants to understand a complex debate, this tool automates the tedious copy-pasting and formatting process.
- Smart Scraping:
- Extracts title, author, subreddit, post content, and metadata.
- Recursive Comment Scraping: Configurable depth (Quick, Standard, Deep, Full) to capture nested replies.
- Image Support: Automatically scrapes and attaches up to 10 images from the post to the AI prompt.
- Content Filters:
- Hide Bots: Automatically filter out AutoModerator and other bot comments.
- Min Score: Ignore low-quality or downvoted comments.
- Limit Count: Cap the number of comments to fit within context windows.
- Author Filtering: Focus on the OP (Original Poster) or flaired users.
- Prompt Engineering:
- Built-in Presets: One-click templates for Summarization, Debate Analysis, Sentiment Analysis, ELI5 (Explain Like I'm 5), and Key Takeaways.
- Custom Templates: Design your own prompts using the
{content}placeholder.
- History & Management:
- Local History: Keep track of recently scraped threads and re-send them to different AI platforms instantly.
- JSON Export: Export scraped thread data for offline analysis.
- Privacy First:
- No Remote Server: All processing happens locally in your browser.
- Secure Storage: API keys (optional legacy feature) and settings are stored in
chrome.storage.sync.
The extension currently supports automatic pasting and prompt injection for:
- Google Gemini (gemini.google.com)
- OpenAI ChatGPT (chatgpt.com)
- Anthropic Claude (claude.ai)
- Google AI Studio (aistudio.google.com)
- Clone the Repository:
git clone https://github.com/KhazP/Reddit-to-AI.git
- Open Chrome Extensions:
- Navigate to
chrome://extensions/in your browser. - Enable Developer mode (top right toggle).
- Navigate to
- Load Unpacked:
- Click Load unpacked.
- Select the folder where you cloned the repository.
- Pin it: Pin the "Reddit to AI" icon to your toolbar for easy access!
- Navigate to Reddit: Open any Reddit thread you want to analyze.
- Open Extension: Click the Reddit to AI icon.
- Configure (Optional):
- Use Quick Filters in the popup to hide bots or set a minimum score.
- Choose your destination platform (e.g., Gemini, ChatGPT).
- Scrape & Send:
- Click Scrape & Send.
- The extension will scroll the page to load comments, extract the data, and open a new tab with your chosen AI.
- The prompt and data will be automatically pasted into the chat box.
Right-click the extension icon and select Options to access advanced settings:
- Scraping Settings:
- Comment Depth: Control how deep the scraper goes (Level 0 to Full recursion).
- Content Filters: Set strict rules for what comments to include (Score, Author, etc.).
- Prompt Presets:
- Customize the default templates for each analysis type.
- Appearance:
- Language: Switch the interface language.
- Notifications: Toggle browser notifications for status updates.
Reddit to AI is ready for the world! The interface is fully localized for:
- 🇺🇸 English
- 🇩🇪 German (Deutsch)
- 🇪🇸 Spanish (Español)
- 🇫🇷 French (Français)
- 🇵🇹 Portuguese (Português)
- 🇯🇵 Japanese (日本語)
- 🇨🇳 Chinese (Simplified) (简体中文)
- 🇹🇷 Turkish (Türkçe)
- Context Window Limits: Extremely large threads (500+ comments) may exceed the input limit of some AI models. Use the "Limit Comments" or "Min Score" filters to reduce data size.
- DOM Changes: Reddit frequently updates its UI. If scraping stops working, please open an issue – selectors may need updating.
- Browser Security: Some browsers may block the automatic paste action. You may need to grant clipboard permissions or use
Ctrl+Vmanually if the auto-paste fails.
Contributions are welcome! If you'd like to add a new language, support a new AI platform, or fix a bug:
- Fork the repository.
- Create a feature branch (
git checkout -b feature/amazing-feature). - Commit your changes (
git commit -m 'Add amazing feature'). - Push to the branch (
git push origin feature/amazing-feature). - Open a Pull Request.
This project is licensed under the Apache License 2.0. See the LICENSE file for details.