Skip to content
/ s2k Public

A minimalist cli script to send files to your Amazon Kindle(TM) via the internet.

License

Notifications You must be signed in to change notification settings

soub4i/s2k

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S2k (Send to Kindle)

A little cli script to send files to your Amazon Kindle(TM) via internet.

How to use the tool:

  • After Downloading the go file you can run:
  • Add env variables:
export EMAIL_USERNAME=yyy       # Your smtp username
export EMAIL_PASSWORD=xxx       # Your smtp password
export EMAIL_PORT=xxx           # Your smtp port default is: smtp.gmail.com
export EMAIL_HOST=xxx           # Your smtp port default is: 465
  • Run (after cloning this project) the script on your favorite shell:
$ git clone git@github.com:AbderrahimSoubaiElidrissi/s2k.git

$ cd s2k
  1. You can run it directly with golan in your machine:

go run ./main.go <URL> <KINDLE_EMAIL> with URL is the url to the file and KINDLE_EMAIL as your send-to-Kindle e-mail address.

So you run something like: go run ./main.go https://www.w3.org/Press/98Folio.pdf soubai_fgsufgsu@kindle.com

  1. You can install it
$ go build
$ go install
$ $GOPATH/bin/s2k https://www.w3.org/Press/98Folio.pdf soubai_fgsufgsu@kindle.com

and that's it.

License:

The MIT License

About

A minimalist cli script to send files to your Amazon Kindle(TM) via the internet.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages