sw33rupi / reddit2kindle

Send reddit directly to your kindle

Home Page:https://reddit2kindle.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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".

About

Send reddit directly to your kindle

https://reddit2kindle.com

License:MIT License


Languages

Language:HTML 51.1%Language:Python 27.4%Language:JavaScript 12.3%Language:CSS 9.2%