Skip to content

Add on-demand conversion to ePub to support in browser reading of other formats#3408

Open
akharlamov wants to merge 1 commit intojaneczku:masterfrom
akharlamov:feat/convert-ondemand
Open

Add on-demand conversion to ePub to support in browser reading of other formats#3408
akharlamov wants to merge 1 commit intojaneczku:masterfrom
akharlamov:feat/convert-ondemand

Conversation

@akharlamov
Copy link
Copy Markdown

Some libraries (including mine) have a large body of non-EPUB books. While it is possible to batch convert them to ePub, it is not efficient for multi-gigabyte libraries.

The PR adds a simple on-demand conversion functionality, so in-browser reading is available for FB2 and MOBI if Calibre binaries are available.

Implementation details:
A background task is started through WorkerThread. User is redirected to conversion page that reloads with 5 second interval and polls state of the task. On completion, the user is redirected to read_book page.

@akharlamov akharlamov force-pushed the feat/convert-ondemand branch from bb0335e to fe8b4e3 Compare June 5, 2025 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant