View Single Post
Old 08-03-2023, 03:13 AM   #1
guio
Junior Member
guio began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2023
Device: Kindle PW3
Arrow Telegram bot for converting fb2 to Kindle

I made a telegram bot for converting and sending books from fb2 format to Kindle.
Very convenient - you just need to send an fb2 file to the bot and it flies to the Kindle.

The bot accepts a .fb2 or fb2.zip file as input, converts it to epub, and sends it to the e-mail Kindle.
You need to set your mail with the /email mail@kindle.com command.
There is a telegram limit on the file size - 20Mb.
Converting using fb2converter.

I made the conversion settings for myself, for the Kindle PW3 device. Configs are available on GitHub.
Features:
  1. Reduced the margins. Can be configurable with the /margin command.
  2. Changed the font to Google Noto + changed the line spacing in it. It is possible to disable font embedding - use the /font command.
  3. Drop caps and vignettes are off.
  4. A book cover is present.
  5. Output file name - (Series abbr. + book number in the series + book title). To be nicely displayed in the Kindle library.
  6. The rest of the settings are almost all default.

In order for the bot to work with your device, you need to add the bot's e-mail to your Amazon account.
Manage Your Content & Devices > Preferences > Personal Document Settings > Approved Personal Document E-mail List

The bot gives a short help on how to do this with the /start command.

Criticism and suggestions are welcome.

Bot address: @fb2kindle_bot

Sources: here
guio is offline   Reply With Quote