{"id":24578210,"url":"https://github.com/dharm3438/reddit-ai-agent","last_synced_at":"2025-08-23T23:07:38.311Z","repository":{"id":259701274,"uuid":"879214363","full_name":"Dharm3438/Reddit-AI-Agent","owner":"Dharm3438","description":"Reddit AI Agent is an intelligent tool that helps you explore Reddit like never before! 🔎 It allows you to search for any query and fetch top Reddit threads along with their most relevant comments. 🚀","archived":false,"fork":false,"pushed_at":"2025-01-10T11:34:14.000Z","size":950,"stargazers_count":17,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T20:16:13.924Z","etag":null,"topics":["ai-summarizer","faiss","generative-ai","gradio","groq-api","huggingface","langchain","langsmith","reddit-scraper","retrieval-augmented-generation"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dharm3438.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-27T10:16:12.000Z","updated_at":"2025-03-26T21:20:25.000Z","dependencies_parsed_at":"2024-10-27T13:10:11.326Z","dependency_job_id":"9be99a4b-2fca-4eed-a7e6-22f3d78265ab","html_url":"https://github.com/Dharm3438/Reddit-AI-Agent","commit_stats":null,"previous_names":["dharm3438/reddit-agent","dharm3438/reddit-ai-agent"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dharm3438%2FReddit-AI-Agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dharm3438%2FReddit-AI-Agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dharm3438%2FReddit-AI-Agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dharm3438%2FReddit-AI-Agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dharm3438","download_url":"https://codeload.github.com/Dharm3438/Reddit-AI-Agent/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250506146,"owners_count":21441723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-summarizer","faiss","generative-ai","gradio","groq-api","huggingface","langchain","langsmith","reddit-scraper","retrieval-augmented-generation"],"created_at":"2025-01-23T23:58:04.597Z","updated_at":"2025-04-23T20:16:30.695Z","avatar_url":"https://github.com/Dharm3438.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌟 **Reddit AI Agent**  \n**Your Smart Reddit Assistant!**  \nReddit AI Agent is an intelligent tool that helps you explore Reddit like never before! 🔎 It allows you to search for any query and fetch top Reddit threads along with their most relevant comments. 🚀  \n\n✨ **Core Features:**  \n- 🔥 **Retrieve Top Threads**: Find the most relevant threads for any query.  \n- 📝 **Summarize Content**: Get concise summaries of thread discussions and comments.  \n- 💬 **Conversational Interface**: Chat with an AI-powered bot to get personalized answers.  \n- 🎨 **User-Friendly UI**: Enjoy a sleek design with built-in logging and monitoring.  \n\n![Demo Image](python_programming.png)\n\n---\n\n## 🛠️ **Features**  \n- **🔗 Fetch Top Reddit Threads**: Quickly find top discussions based on your query.  \n- **📖 Summarize Content**: Saves you time by summarizing threads and their comments.  \n- **🤖 Conversational Chat**: Chat with summarized content for a personalized experience.  \n- **✨ Easy-to-Use Interface**: Smooth, intuitive design for a great user experience.  \n\n---\n\n## 📚 **Tools and Libraries**  \n- 🐍 **PRAW**: For fetching Reddit data (threads, comments).  \n- 🔗 **LangChain \u0026 LangSmith**: Build and manage AI chains and logs.  \n- 🤖 **Groq API**: Supports natural language processing with an LLM.  \n- 📦 **FAISS Vector Store**: Efficiently index and search data.  \n- 🌟 **Hugging Face Embeddings**: Convert text into embeddings for semantic searches.  \n\n---\n\n## 🔑 **API Keys Needed**  \n1. **🔐 Reddit API Key**: [How to obtain](https://www.geeksforgeeks.org/how-to-get-client_id-and-client_secret-for-python-reddit-api-registration/).  \n2. **🔐 Groq API Key**: Register at [Groq Console](https://console.groq.com/).  \n\n---\n\n## ⚙️ **Setup and Run**  \n1. **🛠️ Create `.env` file** with the following keys:  \n   ```env\n   REDDIT_API_CLIENT_ID=\"\u003cyour_reddit_client_id\u003e\"\n   REDDIT_API_SECRET=\"\u003cyour_reddit_secret\u003e\"\n   REDDIT_USER_AGENT=\"\u003cyour_user_agent\u003e\"\n   GROQ_API_KEY=\"\u003cyour_groq_key\u003e\"\n   ```\n2. 📦 **Installation and Running:**\n   ```env\n   pip install -r requirements.txt\n   cd src\n   gradio UI.py\n   ```\n\n---\n\n## 📝 **TODO**\n- 📥 Add more data sources: Twitter, Quora.\n- ☁️ Add support for cloud embeddings using Pinecone.\n- 🌐 Deploy to cloud platforms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdharm3438%2Freddit-ai-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdharm3438%2Freddit-ai-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdharm3438%2Freddit-ai-agent/lists"}