Send reddit directly to your kindle
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
static
templates
.gitattributes
.gitignore
LICENSE
PythonApplication1.sln
README.md
forms.py
reddit2kindle.py
reddit2kindle.pyproj
requirements.txt
runtime.txt
util.py

README.md

reddit2kindle

Libraries.io for GitHub license

A web app to convert a reddit post and comments into an e-book, and send it directly to your kindle device or app.

Now you can read your favourite subreddits from the comfort of your e-reader. Here is a preview of the web app and the output it produces.

Web app

Output

Installation

  1. Install Python 3

  2. Install the required packages pip install -r requirements.txt

  3. Either create a settings.cfg file of the format:

     [auth]
     username=johndoe@reddit2kindle.com
     password=hunter2
     [smtp]
     server=smtp.gmail.com
     port=587
     [mercury]
     token=qwertyuiopasdfghjklzxcvbnm
     [reddit]
     client_id=123abc
     client_secret=qwertyuiopasdfghjklzxcvbnm
    

or create environment variables for SMTP_USERNAME,SMTP_PASSWORD, SMTP_SERVER, SMTP_PORT, MERCURY_TOKEN, CLIENT_ID, and CLIENT_SECRET.

  1. Run the app python reddit2kindle.py

Usage

You need to add reddit2kindle to your approved Kindle e-mail senders. To do this:

  1. Visit Manage Your Content and Devices page.
  2. Go to "Your Account", select "Manage Your Content and Devices" and then select "Personal Document Settings".
  3. Under "Approved Personal Document E-mail List" click on "Add a new approved e-mail address".
  4. Add "convert@reddit2kindle.com" and select "Add Address".