new-cairo-sky / epubkit

MIT License
0 stars 0 forks source link

Explore options to lazy-load epub zip archives #2

Open halmos opened 3 years ago

halmos commented 3 years ago

BrowserFS appears to load entire zip before parsing. Alternatives zip libraries can use partial HTTP requests to load assets on demand.

zip.js provides its own FS layer: https://gildas-lormeau.github.io/zip.js/

unzipit can retrieve requests on-demand: https://github.com/notabasement/unzipit

https://github.com/transcend-io/conflux

halmos commented 1 year ago

yarn has a wasm js version of libzip:

They've developed as FS abstraction layer that works with libzip and other network resources.