Valerio Ciotti

Orbit · Tools · October 2026

Classics by text message

Books to my Kindle. A Telegram command that finds a public-domain book on Project Gutenberg and emails the EPUB straight to my Kindle.

Getting a free classic onto a Kindle takes a browser, a search, a download, an email and an attachment. Five steps for something that should take one.

So now it is one message. I write /book_download followed by the title and the author to a small bot on my Raspberry Pi, and a few seconds later the book is on my Kindle.

The bot searches Project Gutenberg through Gutendex, a free catalogue of its public-domain books. When an EPUB with illustrations is too large to send by email, it falls back to the version without images. Then it emails the file to the Kindle's own address from the Pi.

The best home automations are one sentence long.

Made with Python, Telegram Bot API, Gutendex, SMTP, Raspberry Pi.

Comments

Sign in with GitHub to leave a comment or react.

In the same orbit