rss-to-kindle

command module
v0.0.0-...-42ca05c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

README

rss-to-kindle

This is a utility for converting rss into .mobi periodical, and sending them to your kindle email.

Currently the script is kind of rough, but it will get the job done (even images!), for instance:

  • no support for multiple section yet (everything is under the "Main" section)
  • minor formatting issue (padding, margin, etc ...)

Requirement

The only dependency is a golang compiler and kindlegen. Please install golang and kindlegen first and install it in your $PATH.

Usage

To use the script, create a .env file in the same path as the script, containing:

SERVER=mail.gmx.com
PORT=587
FROM_EMAIL=<your-email>@gmx.com
PASSWORD=<you-email-password>
TO_EMAIL=<your-kindle-email>@kindle.com
LINKS=http://feeds.initium.news/theinitium?format=xml,https://www.thestandnews.com/rss/,http://arstechnica.com/feed/
  • SERVER: URL of your email server (gmx.com is a nice choice)
  • PORT: Port of your email server
  • FROM_EMAIL: Your email address (will be used to send the email)
  • PASSWORD: Password of your email account
  • TO_EMAIL: Your kindle email address
  • LINKS: links of all the rss urls (seperated by commas)

To kickstart everything, run:

go run main.go

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL