Skip to content
This repository was archived by the owner on May 4, 2026. It is now read-only.

Latest commit

 

History

History
31 lines (27 loc) · 993 Bytes

File metadata and controls

31 lines (27 loc) · 993 Bytes

Preview

redp

Install
pip3 install git+https://github.com/peterjschroeder/redp

Create an api key
Go to https://www.reddit.com/prefs/apps/
Create another app
Select script
Name it something
Put something in the redirect url ex:https://github.com/peterjschroeder/redp

Config
Run redpick or redpull.py to create the default config. edit ~/.config/redp/config
Fill in reddit_username and reddit_password
client_secret is the secret on the apps page
client_id is under personal use script on the apps page
redpick.py --quick
redpull.py
Add to crontab. Example: @hourly redpull.py --quiet

Mutt
folder-hook Reddit " \
set from='your@email.com' \
sendmail = "/usr/local/bin/redpush.py"

unmailboxes
mailboxes = `echo -n "= "; find ~/Mail/ -mindepth 2 -maxdepth 3 -type d -name "
" -printf "'%h' `
unmailboxes ~/Mail/