rar-stream
rar-stream copied to clipboard
Will there be support for decompression?
I am using cloud commander. A nice way to manage files in web browser. Unfortunately I can't decompress rar files (https://github.com/coderaiser/cloudcmd/issues/222). The author of the app mentioned that it uses rar-stream and rar-steam would not support it.
Will there be support for decompression? Really looking forward to see this feature coming.
Hi, it is author of the web file manager Cloud Commander. We already have support of such archive types: zip, tar, gz, bz2, .tar.gz and .tar.bz2 for extraction and zip and tar.gz for packing. Would be great to have support of rar files as well, but without decompression it has little to no sense for most users.
As I see you have a good understanding of rar internals, and rar-stream has really good API, would be great to have ability to decompress rar files. So we can integrate it to Cloud Commander and more people can benefit from your great work.
Hi! Thanks for your interest! And sorry for the late reply. I got my 10 month old son to look after so time is short for this project at the moment!
The idea was to implement decompression, mainly bu study the PPMd algorithm/model and by reading the unrar source code, https://www.rarlab.com/rar/unrarsrc-5.7.2.tar.gz. Another way would be to compile that source code into webassembly (or other lib that supports the rar format) and create an api on top of that.
But as mentioned, my time budget is short for that at the moment :(
@1313 please add Hacktoberfest label, maybe someone will add support for decompression :).
Is there any update? Or is there something a user like me can do to help?
Hmm not an update but i plan to rewrite it in rust with napi bindings. And should be easier to add decompression then.
Should be possible to have a wasm-version as well.