Generate AI-powered reading digests from Reddit subreddits. No Reddit API credentials required.
uv pip install -r requirements.txt- Visit https://openrouter.ai/keys
- Create a new API key
- Create a
.envfile:
OPENROUTER_API_KEY=sk-or-v1-your-key-hereuv run python summarize_subreddit.py Python --timeframe weekuv run python summarize_subreddit.py Python --timeframe week --summarizeweek- Top posts from the past weekmonth- Top posts from the past month
uv run python summarize_subreddit.py Python --start 2025-01-01 --end 2025-01-07uv run python summarize_subreddit.py Python \
--timeframe month \
--summarize \
--min-upvotes 200 \
--min-comments 50 \
--max-posts 25Digests are saved to the digest/ folder:
Python-week.md- Weekly digestPython-month.md- Monthly digest
- Quick Start - Common commands and use cases
- Technical Details - Architecture, all CLI options, GitHub Actions examples
- Developer Guide - Development commands and guidelines
View generated digests: https://pxmyh.github.io/reddit-digest/