TalkToYourRedditPosts is a Python-based program designed to streamline the process of summarizing and extracting valuable insights from Reddit posts. By leveraging the power of the Google Gemini API, this tool provides users with the ability to generate concise summaries and answer specific questions related to the content of a given Reddit post.
- Summarization: Utilize the Google Gemini API to generate summaries of lengthy Reddit posts, allowing users to grasp the main points quickly.
- Question Answering: Seamlessly answer user-generated questions based on the information contained within Reddit posts, enhancing comprehension and accessibility.
The program functions by fetching the specified Reddit post URL in JSON, processing the content through and then sending it to the Google Gemini API for summarization, and enabling users to interact with the data by posing questions to extract specific details or insights.
To run this project, you will need to add the following environment variables to app.py
API_KEY
Clone the project
git clone https://github.com/JohanSanSebastian/TalkToYourRedditPosts.gitInstall dependencies
pip install -r requirements.txtStart the server
python app.py-
Browser support using the official Reddit API as the current method cannot be scaled beyond running locally
-
Add more integrations/features
Contributions are always welcome!
See contributing.md for ways to get started.
If you have any feedback, please open an issue.