# kuba--/zip

A portable, simple zip library written in C

Repository: https://github.com/kuba--/zip
Canonical: https://ross.abutalabs.com/products/kuba-zip
Language: C
License: MIT
License Family: permissive
Topics: zip, compression, c, miniz, portable, hacking
Last push: 2026-08-25T08:31:05+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 95, longevity 100
- inputs: {"age_days": 4181, "days_push": 8, "days_rel": 32, "gap_med": 13.5, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1602, forks 306 (observed 2026-08-28T04:05:09.669655+00:00)

## What it is
A small, portable zip archive library written in C, built on top of the miniz compression library. It provides a simple API for creating, appending to, and extracting zip archives from files or memory with just a few source files.

## Use cases
- create zip archives in C
- extract zip files to a folder
- compress files on-the-fly into a zip entry
- append entries to an existing zip archive
- extract a zip entry into memory
- embed a lightweight zip library in a mobile or embedded project

## When to choose
- you need a tiny, dependency-free zip library you can compile directly into a C/C++ project
- you want simple create/append/extract zip operations across OSX, Linux, Windows, Android, and iOS
- you dislike heavyweight compression frameworks and want a minimal API

## When to avoid
- you need advanced archive formats like tar, 7z, or encrypted zips
- you need streaming compression beyond zip or fine-grained control over deflate settings
- your project already uses a full-featured archive library like libarchive

## Facets
- artifact type: library
- maturity: active
- function: compression, file-system
- domain: files, developer-tools, cross-platform
- platform: windows, cross-platform, c
- tags: zip, miniz, lightweight, single-library, embedded-friendly, linux, macos, android, ios

## Member repositories
- kuba--/zip (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:09.669655+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-30T03:52:37.662559+00:00, confidence not recorded.
  - readme: https://github.com/kuba--/zip (fetched 2026-08-28T04:05:09.669655+00:00, sha 8754d1a45f0a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
