Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Epub streaming #62

Open
aaronleopold opened this issue Oct 2, 2022 · 0 comments
Open

Epub streaming #62

aaronleopold opened this issue Oct 2, 2022 · 0 comments
Labels
core Relating to Stump's Rust core

Comments

@aaronleopold
Copy link
Collaborator

Add support for streaming pieces of an epub to a client. This is already partially implemented in the Rust core.

Sump already supports very basic epub fetching and rendering (#34). It consumes the entire epub file, which is NOT ideal. I would like to be able to stream parts of the epub file as the user reads it, as opposed to downloading the entire thing to read it on the client. This will require a lot of research on epub file structure, as the core will likely have a lot of work required to support that kind of flow. Some work has already been started towards this.

Once there is a proof of concept for some sort of in house ebpub engine, I'll probably separate it into a standalone library that can be installed for both Rust and JavaScript/TypeScript projects (using likely https://github.com/getditto/safer_ffi).

References:

above link appears to: grab the container.xml, grab the package.opf, grab encryption.xml, grab nav.xhtml, grabs a page, like page 6, grabs epub styles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Relating to Stump's Rust core
Projects
Status: Backlog
Development

No branches or pull requests

1 participant