kindle-send

Bash scripts for sending stuff to your kindle

Stars
5

kindle-send

Some bash scripts for sending stuff to your kindle. It uses pandoc and calibre to properly format the documents.

Tools

  • kindle-send: Send to kindle. Will convert from the detected format using pandoc and calibre.

  • kindle-email: low level emailer

Usage

$ kindle-send file.txt
$ kindle-send file.pdf
$ kindle-send < README.md
$ AUTHOR="Bob" TITLE="Some Title" kindle-send article.md
$ curl -sL "https://news.com/article" | kindle-send

Configuration

A properly configured sendmail is required at this time.

These environment variables must be set in your ~/.profile or related environment configuration file.

REQUIRED

  [email protected]
  [email protected]

OPTIONAL

  KINDLE_SENDMAIL="/bin/sendmail"
  KINDLE_SENDMAIL_OPTIONS="--read-envelope-from"

NOTE: KINDLE_FROM_EMAIL has to be an email from a "reputable" source, such as gmail. Amazon may ignore the email otherwise.

Install

$ make install

Dependencies

  • pandoc
  • calibre