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

Pulls subscribed subreddit posts from reddit and converts them to a maildir.

Notifications You must be signed in to change notification settings

peterjschroeder/redp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

Pulls subscribed subreddit posts from reddit and converts them to a maildir.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages