Skip to content

arsenyinfo/redditresearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reddit Research

Tools for gathering and analyzing Reddit data using LLMs - much simplified version of the Reddit Answers.

Usage: uv run research.py "my initial prompt"

Be sure to set the environment variable GEMINI_API_KEY to your Gemini API key. Create config.py with your Reddit API credentials:

CONFIG = {
"app_id": ...,
"secret": ...,
"refresh_token": ...
}

To save reports as PDFs, also install (macos only):

brew install pandoc
brew install --cask basictex

Typical usage with Gemini Flash 2.5 takes ~5 minutes to generate a report and ~$0.5 in costs, with 200-300 pages analyzed. Numbers are very variable depending on the prompt.

It also works ok-ish with local models (e.g. ollama/qwen3:30b), but takes hours on a laptop. Don't forget to change Ollama's default max context size (e.g. with env var OLLAMA_CONTEXT_LENGTH=32768) for acceptable quality.

Disclaimer

This project is intended solely for educational and research purposes.

About

Tools for gathering and analyzing Reddit data using LLMs - much simplified version of the Reddit Answers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages