{"repo":"mholt/archives","free":true,"listed":false,"github":"https://github.com/mholt/archives","clone":"git clone https://github.com/mholt/archives.git","description":"Cross-platform library to create & extract archives, compress & decompress files, and walk virtual file systems across various formats","language":"Go","stars":438,"topics":["7zip","archives","brotli","bzip2","compression","fs","go","gzip","lz4","lzip"],"license":"MIT","category":"dev-tools","readme_excerpt":"archives Introducing mholt/archives - a cross-platform, multi-format Go library for working with archives and compression formats with a unified API and as virtual file systems compatible with io/fs . Features - Stream-oriented APIs - Automatically identify archive and compression formats: - By file name - By stream peeking (headers) - Traverse directories, archives, and other files uniformly as io/fs file systems: - FileFS - DirFS - ArchiveFS - Seamlessly walk into archive files using DeepFS - Compress and decompress files - Create and extract archive files - Walk or traverse into archive files - Extract only specific files from archives - Insert into (append to) .tar and .zip archives without re-creating entire archive - Numerous archive and compression formats supported - Read from password-protected 7-Zip and RAR files - Extensible (add more formats just by registering them) - Cross-platform, static binary - Pure Go (no cgo) - Multithreaded Gzip - Adjustable compression levels - Super-fast Snappy implementation (via S2) Supported compression formats - brotli (.br) - bzip2 (.bz2) - flate (.zip) - gzip (.gz) - lz4 (.lz4) - lzip (.lz) - minlz (.mz) - snappy (.sz) and S2 (.s2) - xz (.xz) - zlib (.zz) - zstandard (.zst) Supported archive formats - .zip - .tar (including any compressed variants like .tar.gz) - .rar (read-only) - .7z (read-only) Command line utility There is an independently-maintained command line tool called arc currently in development that will expose many o","default_branch":null,"files":null,"tree":[],"storefront":"/r/mholt","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mholt/archives/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}