copyparty icon indicating copy to clipboard operation
copyparty copied to clipboard

Browse archives like folders

Open bb opened this issue 4 months ago • 2 comments

feature request

On a server with archives like zip, 7z, rar, tar, tar.gz, tar.xz, etc, I'd like to browse the contents of those archives as if the archive was a folder. This includes also viewing gallery thumbnails of images, playing media, etc.

extended request

I'm mostly interested in a read-only usage, but one might also consider editing text or markdown within archives or adding/removing files from archives.

out of scope (of this request)

Besides working with existing archives, one might also consider creating archives (compressing folders or selected files) on the server (not for downloading, but for storage), create empty archives (for adding files later), unpacking archives (related: #436) etc.

security considerations and additional todos

For this to work, archives may need to be unzipped or unpacked on the server in a temporary directory which might require additional cleanup tasks.

This should handle large or dangerous files gracefully, e.g. by having a (configurable?) extraction size limit and not crashing the whole server when opening e.g. a zip bomb.

bb avatar Oct 12 '25 19:10 bb