Open ColonelThirtyTwo opened 2 years ago
Have you had a look at using https://bitbucket.org/agalanin/fuse-zip/src/master/?
Have you had a look at using https://bitbucket.org/agalanin/fuse-zip/src/master/?
I don't think that's actually at all necessary. It should be easy enough to open a zip and put the contents into memory just with the current crates. Might be nice to have an async crate for it, though.
FUSE won't work on Android, which is my use case for this.
It would be nice if miniserve could source files from a zip archive instead of a directory on the filesystem.
I archive a lot of webcomics with wget for reading on my phone. As the recent updates to Android and Firefox make browsing file:// URLs impossible, I've been using miniserve to view them. It works well, and I appreciate the work that's been put into it.
However storing potentially thousands of HTML files in a directory on the filesystem uncompressed is a bit annoying. Zipping them up makes them easier to work with and saves a bunch of space.
I saw #385 which mentioned something a bit close to what I want, but it was closed without a resolution. Did it ever get implemented?