manyfold3d / manyfold

A self-hosted digital asset manager for 3d print files.
https://manyfold.app
MIT License
811 stars 49 forks source link

Support for compression #865

Open falnos24865 opened 1 year ago

falnos24865 commented 1 year ago

Is there anyway to add zip (or preferably 7z) compression support? This way we can keep the models compressed on disk to save space, but still view them in VanDam.

Floppy commented 1 year ago

That would be very cool. I was thinking of having a "convert to 3mf" option, which is a compressed format. Would that be a reasonable solution, or would you want to keep the same file formats while gaining compression?

mmontminy commented 1 year ago

I'd like to see additional files (like zip, 7z, rar, etc) that don't appear as part of the "mode" to appear in the Files section. I generally use a 3mf to represent an "assembled" model made up of parts, but also keep the original archive with all the license, readme or other assets in it. That way those additional files are also downloadable.

Floppy commented 1 year ago

We now have libarchive built in, for upload, so we should be able to firstly scan and list compressed files, and even show the contents, at least as a list of filenames.