# zeroturnaround/zt-zip

ZeroTurnaround ZIP Library

Repository: https://github.com/zeroturnaround/zt-zip
Canonical: https://ross.abutalabs.com/products/zt-zip
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2026-08-24T13:27:17+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 91, longevity 100
- inputs: {"age_days": 5398, "days_push": 9, "days_rel": 61, "gap_med": 0.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1385, forks 253 (observed 2026-08-28T04:04:34.771587+00:00)

## What it is
A Java library providing convenience methods for working with ZIP archives, built on java.util.zip. It supports packing/unpacking directories recursively, iterating and transforming entries, and comparing archives with a simple, safe API.

## Use cases
- pack a directory into a zip file in Java
- unpack a zip archive recursively to a folder
- add or replace entries in an existing zip
- iterate over zip entries without loading the whole archive
- compare two zip archives ignoring timestamps
- safely extract untrusted zips avoiding zip slip

## When to choose
- you need simple, one-line zip/unzip operations on the JVM
- you want include/exclude and rename rules when packing or unpacking
- you need protection against Zip Slip path traversal when extracting

## When to avoid
- you need protection against zip bombs or decompression size limits
- you need to create or read archive formats other than ZIP
- you need streaming compression over network sockets rather than filesystem archives

## Facets
- artifact type: library
- maturity: stable
- function: compression, file-system, developer-tools
- domain: files, developer-tools
- platform: jvm, cross-platform
- tags: zip, archive, java, unpack, pack, zip-slip-protection, automation

## Member repositories
- zeroturnaround/zt-zip (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:34.771587+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:39:58.030925+00:00, confidence not recorded.
  - readme: https://github.com/zeroturnaround/zt-zip (fetched 2026-08-28T04:04:34.771587+00:00, sha f6288f09ae30)
- Data as of 2026-08-30T08:39:29.467469+00:00.
