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

Will there be support for decompression? #2

Open
godfuture opened this issue Feb 7, 2019 · 5 comments
Open

Will there be support for decompression? #2

godfuture opened this issue Feb 7, 2019 · 5 comments

Comments

@godfuture
Copy link

I am using cloud commander. A nice way to manage files in web browser. Unfortunately I can't decompress rar files (coderaiser/cloudcmd#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.

@coderaiser
Copy link

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.

@1313
Copy link
Collaborator

1313 commented Feb 25, 2019

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 :(

@coderaiser
Copy link

@1313 please add Hacktoberfest label, maybe someone will add support for decompression :).

@godfuture
Copy link
Author

Is there any update? Or is there something a user like me can do to help?

@1313
Copy link
Collaborator

1313 commented Jan 4, 2024

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.

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

No branches or pull requests

3 participants