Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Latest commit

 

History

History
31 lines (27 loc) · 993 Bytes

README.md

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='[email protected]' \
sendmail = "/usr/local/bin/redpush.py"

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