Read newsletters on your Kindle!
Note: this is currently only set up to work on mac, but modifying it to work elsewhere should be pretty easy.
- download and install calibre (this uses the
ebook-convert
executable to convert an html file to a mobi file) - run
bin/setup
- run
bin/eml-to-mobi <path to .eml file>
- email
out.mobi
to your Kindle
Add this to Automator:
for f in "$@"
do
cd <path to this repo> && \
bin/eml-to-mobi "$f" && \
mv out.mobi "${f}.mobi"
done
Note: if you get errors with ruby versions, try adding bundle exec
before the bin/eml-to-mobi
call