A web app to convert a Hacker News post and comments into an e-book, and send it directly to your kindle device or app.
-
Install Python 3
-
Install the required packages
pip install -r requirements.txt -
Either create a
settings.cfgfile of the format:[auth] username=johndoe@gmail.com password=hunter2 [smtp] server=smtp.gmail.com port=587
or create environment variables for SMTP_USERNAME,SMTP_PASSWORD, SMTP_SERVER, SMTP_PORT.
4. Run the app python hn2kindle.py
You need to add hn2kindle to your approved Kindle e-mail senders. To do this:
- Visit Manage Your Content and Devices page.
- Go to "Your Account", select "Manage Your Content and Devices" and then select "Personal Document Settings".
- Under "Approved Personal Document E-mail List" click on "Add a new approved e-mail address".
- Add "hn2kindle@gmail.com" and select "Add Address".
-
support both comment styles
-
get content from posts with external URLs
-
basic support for multiple posts (top posts from last X days)
-
get real domain / email address on that domain
-
Maybe: ability to subscribe?