Get an email every time one of your Modrinth mods gets a new download. No Gmail login required — uses Resend to deliver to any inbox.
1. Install dependencies
pip install -r requirements.txt2. Create your config
cp config.example.json config.jsonEdit config.json:
resend_api_key— get a free key at resend.com (3,000 emails/month free)to_email— where notifications go (any email address)mods— list of mods to watch. Theslugis the last part of your mod's Modrinth URL:modrinth.com/mod/YOUR-SLUGpoll_interval_seconds— how often to check (default 300 = every 5 minutes)
3. Test it
python3 watch.py --testYou should receive a test email confirming everything works.
One-time check (good for cron):
python3 watch.py --onceDaemon mode (runs forever):
python3 watch.pyAuto-run every 5 minutes (macOS/Linux cron):
(crontab -l 2>/dev/null; echo "*/5 * * * * cd /path/to/modrinth-watcher && python3 watch.py --once >> watcher.log 2>&1") | crontab -- On first run, records the current download count as the baseline (no email sent)
- On each subsequent check, if downloads increased, sends you an email with the delta and a link to the mod page
- State is persisted in
state.jsonbetween runs - Logs are written to
watcher.log
config.jsonandstate.jsonare gitignored — your API key is never committed- Mods still under Modrinth review will show "not found" in logs — this is expected and harmless
- Uses the Modrinth v2 API — no authentication required for public data
MIT