[Feature Request] Conversion of book files
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.
It would be great, at least convert file before sending into kindle :) I have old mobi type supported kindle..
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!
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.
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.
Closing this since it’s not in scope, sorry!
@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.
@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
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-ingestfolder - Gets converted automatically to ePub
- My
/bookdropfolder 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)