Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle

Notices

Reply
 
Thread Tools Search this Thread
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
Old 08-03-2023, 03:41 AM   #2
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 10,146
Karma: 224760044
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
What's fb2 and why use that format? Never seen a fb2 file anywhere, in any store I've bought from or on any free site either.
Sirtel is offline   Reply With Quote
Old 08-03-2023, 04:01 AM   #3
Sarmat89
Evangelist
Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.
 
Posts: 482
Karma: 2267928
Join Date: Nov 2015
Device: none
It is an XML-based semantic markup format with useful metadata.
Sarmat89 is offline   Reply With Quote
Old 08-03-2023, 04:14 AM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
This is to convert downloaded eBooks from another country that uses FB2. It's so the pirated eBooks can be read on a Kindle. It's that simple.
JSWolf is offline   Reply With Quote
Old 08-03-2023, 04:50 AM   #5
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 10,146
Karma: 224760044
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by Sarmat89 View Post
It is an XML-based semantic markup format with useful metadata.
Where is it used? I've never seen an ebook in fb2 format.
Sirtel is offline   Reply With Quote
Old 08-03-2023, 05:10 AM   #6
shamanNS
Guru
shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.
 
Posts: 886
Karma: 10113994
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5 [bricked], Kindle PW1
@Sirtel In Russia.
shamanNS is offline   Reply With Quote
Old 08-03-2023, 08:33 AM   #7
troubledMan
Connoisseur
troubledMan began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Jun 2016
Location: Best place in the World: my house.
Device: Kindle 3, Kindle Voyage
Quote:
Originally Posted by Sirtel View Post
Where is it used? I've never seen an ebook in fb2 format.
fb2 was a very popular format in Spain ages ago. I remember that there was a freeware, Russian powerful editor (running under Windows) that made easy make changes in fb2 pirated ebooks (= scanned & OCRed books). Now is all history (almost).
troubledMan is offline   Reply With Quote
Old 08-03-2023, 11:40 AM   #8
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,464
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
The successor to fb2 was fb3 which was loosely based on the OPC (Open Platform Communications) standard. It never seemed to gain any traction since unlike ePub2/ePub3, fb2 and fb3 did not ever share a common file structure and ebook pirates stuck with fb2.
DNSB is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Concept] Telegram Bot for converting epubs to kepubs (and transferring) Tommalka Kobo Developer's Corner 2 01-01-2022 04:03 AM
Content Facebook Messenger bot to convert and send ebooks to Kindle lordpiggins Amazon Kindle 1 05-15-2017 02:35 PM
Hyperlinks are gone when converting from epub to fb2 SVN Conversion 4 05-30-2011 02:22 AM
Failure converting zip to fb2 rbruce1314 Calibre 2 11-17-2010 05:39 PM
TOC not created converting from FB2 regul8or Calibre 1 08-03-2009 12:26 PM


All times are GMT -4. The time now is 10:24 AM.


MobileRead.com is a privately owned, operated and funded community.