BookLore icon indicating copy to clipboard operation
BookLore copied to clipboard

[Feature Request] Conversion of book files

Open clockwinder opened this issue 6 months ago • 4 comments

Not sure if this fits the scope of this project, but something I would consistently use in a program like this is being able to convert files for download, to increase device compatibility. IE, .epub to .mobi, etc.

clockwinder avatar Jun 19 '25 20:06 clockwinder

It would be great, at least convert file before sending into kindle :) I have old mobi type supported kindle..

Raiper34 avatar Jun 23 '25 20:06 Raiper34

I definitely want to implement this, it’s a very useful feature. However, I haven’t found a good Java library that supports reliable format conversion, and I currently don’t have the bandwidth to build a converter from scratch. That said, if anyone in the community is willing to contribute a solution, I’d be more than happy to accept a PR!

acx10 avatar Jun 25 '25 14:06 acx10

Sounds like we'll put this in the "currently outside of scope" category.

In the mean time, I would suggest selfhosting folks use ConvertX if they want a convenient solution for ebook conversion.

clockwinder avatar Jun 25 '25 18:06 clockwinder

I think there is no need to search for a Java converter implementation. Most similar apps work with the Calibre converter. Also, above mentioned ConvertX uses Calibre under the hood. See how it is called from TS using exec (surely Java got something similar) https://github.com/C4illin/ConvertX/blob/main/src/converters/calibre.ts#L69, and the Calibre converter is installed,d for example, for Docker https://github.com/C4illin/ConvertX/blob/main/Dockerfile#L49

Also, thanks for this awesome tool, I can nearly get rid of Calibre web.

Raiper34 avatar Jun 29 '25 13:06 Raiper34

Closing this since it’s not in scope, sorry!

acx10 avatar Sep 26 '25 03:09 acx10

@Raiper34 I think I'm in the same boat (old kindle pw4 that only reads mobi or azw3) and still using calibre. Were you able to ditch it in the end? Any way to get around the conversion? The BookLore, as awesome as it is, just ignores azw3.

MikeDabrowski avatar Oct 04 '25 18:10 MikeDabrowski

@Raiper34 I think I'm in the same boat (old kindle pw4 that only reads mobi or azw3) and still using calibre. Were you able to ditch it in the end? Any way to get around the conversion? The BookLore, as awesome as it is, just ignores azw3.

Still using Calibre alongside Booklore

Raiper34 avatar Oct 18 '25 12:10 Raiper34

FWIW I looked at this, my library is already solely ePub but I did think about how I'd import a mobi file, I've got a container of Calibre-web automated setup should the need arise as it can do automatic conversion.

  • Put the file in the /cwa-book-ingest folder
  • Gets converted automatically to ePub
  • My /bookdrop folder is set to the bind mount on my host which is mapped to the Calibre-web-automated output folder for the resulting ePub /config/processed_books/fixed_originals (technically mine is symlinked, but that's not necessary)

arcoast avatar Oct 27 '25 23:10 arcoast