send-to-kindle

Crates.iosend-to-kindle
lib.rssend-to-kindle
version1.0.1
sourcesrc
created_at2023-01-14 00:29:54.447568
updated_at2023-01-14 00:58:26.629124
descriptionA command-line utility and library for sending files to your kindle app or device by (ab)using the www.amazon.com/sendtokindle web interface.
homepagehttps://gstavrinos.github.io/send-to-kindle/send_to_kindle/
repositoryhttps://github.com/gstavrinos/send-to-kindle/
max_upload_size
id758533
size731,808
George Stavrinos (gstavrinos)

documentation

README

Send to Kindle

send-to-kindle is a command-line utility and rust library for sending files to your kindle app or devices by (ab)using the www.amazon.com/sendtokindle web interface.

For this reason, it should be used with caution. Getting suspended by Amazon's spam prevention systems is always a possibility. USE send-to-kindle AT YOUR OWN RISK!

Command-line tool basic usage

cargo run -- --username <username> --password <password> --directory <path_to_books>
--extension epub

The --directory flag can be swapped with the --file flag to just send a single file. If an extension is provided, it will ensure that the selected file has the requested extension.

For more info on the command-line utility and flags for corner cases, use the --help flag.

Library usage

Just two functions are provided: One for a list of strings representing the files to be uploaded (send_files_to_kindle), and one for a path to a file or directory that can be filtered using a string for the files' extension (send_to_kindle). (epub, azw3, mobi etc).

For more info, click on each function's definition and read the extensive documentation there.

Commit count: 20

cargo fmt