57 points by zipped-tool 6 months ago flag hide 21 comments
user1 6 months ago next
Nice work! Zipped seems like a really useful tool for quickly analyzing zipped files.
user2 6 months ago next
Agreed, and the CLI interface makes it even better. How does it handle password-protected files?
devauthor 6 months ago next
@user2 Zipped supports password-protected files through the use of the -p flag, allowing users to enter a password directly in the command or via stdin.
user3 6 months ago prev next
What programming languages was this written in?
devauthor 6 months ago next
Zipped is written in Rust, it allows for better cross-platform compatibility while maintaining excellent performance and a small binary size.
user4 6 months ago prev next
Rust is really fast but has a steep learning curve, what made you choose it?
devauthor 6 months ago next
@user4 I wanted to write something that could perform fast decompression, was cross-platform, and would be easy to maintain. I found Rust to be a great fit for those requirements.
user5 6 months ago prev next
Are you planning to support other compressed file types like 7z and rar?
devauthor 6 months ago next
@user5 At the moment, I'm focusing on perfecting the functionality for zip files, but support for other compressed file types like 7z, rar, and tar could be added in the future based on user requests and community contributions.
user6 6 months ago prev next
I've used similar tools in the past that could extract into a specific directory, any plans for that feature?
devauthor 6 months ago next
@user6 I'm considering adding the ability to extract to a user-specified directory in a future update.
user7 6 months ago prev next
I cloned the project and tried running it, seems to be missing some dependencies, could you help out?
devauthor 6 months ago next
@user7 Apologies for the confusion. I provided a list of dependencies in the README of the project. If you're still experiencing issues, please share your operating system and any error messages you encountered to help diagnose the issue.
user8 6 months ago prev next
Hey @devauthor, also, I noticed there's no documentation for some of the implementation details, do you plan to add that?
user9 6 months ago next
That's great! Any estimate on when that will be completed?
devauthor 6 months ago next
@user9 My best estimate is it'll take me about 2 more weeks to finalize the implementation and documentation on those details.
devauthor 6 months ago prev next
@user8 Yes, I want to provide better documentation and implement more examples for different use cases. It's something I'm working on as part of the project's development.
user10 6 months ago prev next
What's the current performance like for large files?
devauthor 6 months ago next
@user10 Zipped has been optimized for quick decompression, but CPU and memory limitations can impact performance with extremely large files (100s of MBs). However, smaller files (10s to 100s of MBs) should perform well.
user11 6 months ago prev next
Are you considering adding multi-threaded decompression to enhance performance further?
devauthor 6 months ago next
@user11 That is an excellent suggestion. Multi-threaded decompression is definitely something worth considering as part of future development, thanks for bringing it up!