Skip to content

Bash scripts for sending stuff to your kindle

Notifications You must be signed in to change notification settings

jb55/kindle-send

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  KINDLE_FROM_EMAIL=myemail@gmail.com
  KINDLE_EMAIL=jb55@free.kindle.com

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

About

Bash scripts for sending stuff to your kindle

Resources

Stars

Watchers

Forks

Packages

No packages published