Skip to content

Conversation

@Protected
Copy link
Contributor

@Protected Protected commented Apr 29, 2025

Uses nika-begiashvili/libarchivejs which makes uses of WASM and workers, and outwardly seems to support random access. However, while ZIP is also supported, I don't have time right now to run the performance tests to check whether this solution is a suitable replacement for the previously existing ZIP library, so I left that in.

I tested and confirmed support for the following formats:

  • cbr with rar v5
  • cbr with legacy rar
  • cbr with rar in storage mode (uncompressed)
  • cbt with uncompressed tar
  • cb7 (note: slow compared to all other formats)

@johnfactotum
Copy link
Owner

IIRC libarchive does not do random access. It's mainly for streaming, I think.

Also it would be better if the files could be built from NPM, like the other vendored libraries.

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.

2 participants