https://github.com/sprusr/hn-kindle
📚 Create an ebook of the day's Hacker News articles and send it to your Kindle
https://github.com/sprusr/hn-kindle
ebook hacker-news kindle
Last synced: about 1 month ago
JSON representation
📚 Create an ebook of the day's Hacker News articles and send it to your Kindle
- Host: GitHub
- URL: https://github.com/sprusr/hn-kindle
- Owner: sprusr
- Created: 2018-05-08T09:13:49.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-10T11:13:15.000Z (about 7 years ago)
- Last Synced: 2024-11-18T09:32:55.249Z (7 months ago)
- Topics: ebook, hacker-news, kindle
- Language: JavaScript
- Size: 57.6 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hackernews - hn-kindle - Create an ebook of the day's HN articles and send it to your Kindle. `no license` (E-readers / Kindle)
README
# hn-kindle
Create an eBook of the day's Hacker News articles and send it to your Kindle. Inspired by [eink.news](https://github.com/eink-news/eink.news/).
## Setup
This app uses [SendGrid](https://sendgrid.com/) to send created `.mobi` eBooks to the email address for your Kindle - you can get this from the settings on the device. You'll need to set up an account with them (don't worry, it's free).
Next create the file `.env` in the root of this repo, and put the following in it:
```sh
HN_COUNT=10 # how many articles to put in, defaults to 5
SEND_HOUR=6 # what hour of the day to send the email at
TZ=Europe/London # what timezone is the above hour?
MAILTO= # your Kindle's email address
MAILFROM= # what address to send from - this will need to be approved in your Amazon settings
SENDGRID_API_KEY= # SendGrid API key you get when setting up
```You can optionally omit the email settings and eBooks will still be created, you'll just need to copy them over manually instead. This app also serves books over http using Koa.
If you run the app with `--now`, it will run once and then quit. Useful if you just want some articles to read _right now_.