Command line tool that automatically detects and converts downloaded e-books to mobi format (and auto-uploads to Kindle, on a schedule)
The source code is currently hosted on GitHub at: https://github.com/VivekBits2210/pykindler
Package is deployed at Python Package Index (PyPI)
pip3 install pykindler
Ensure Calibre is installed (Guide)
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
Know your Kindle's e-mail address here
- UNIX based system needed (Linux, MacOS)
- Calibre
- pyenchant - Offers an English Dictionary, helpful in detecting if a file is a book
- python-crontab - Allows scheduling of pykindler jobs that auto-convert and email your books in the background
- pgi - Auto-detects your downloads folder
- black - Code formatter
- argparse - Neater interface with command line arguments
- keyring - Safe storage of email credentials
- In default mode, pykindler will auto-detect your downloads folder and populate 'Converted_Books' and 'Processed_Books' folders
pykindler-run
- In custom mode, specify your downloads folder and setup a twice-a-day conversion job
pykindler-run --folder /home/some-user/Desktop --job
- If you just want to convert one file, specify it after --file
pykindler-run --file /home/some-user/Desktop/my-book.epub
- If you want to not convert to mobi, choose your own extension with --ext
pykindler-run --file /home/some-user/Desktop/my-book.mobi --ext epub
- For more help
pykindler-run -h
For usage questions, the best place to go to is StackOverflow.
All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome. Here is what I plan to do next Please feel free to mail ideas to the maintainer: [viveknayak2210@gmail.com]