# mholt/archiver

DEPRECATED. Please use mholt/archives instead.

Repository: https://github.com/mholt/archiver
Canonical: https://ross.abutalabs.com/products/archiver
Homepage: https://github.com/mholt/archives
Language: Go
License: MIT
License Family: permissive
Topics: tar, extract, zip, gzip, xz, golang, rar, lz4, bzip2, archives, snappy, zstandard, brotli, go, compression, decompression, streaming, streams, 7zip
Archived: true
Last push: 2024-11-19T16:52:17+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3799, "days_push": 652, "days_rel": 663, "gap_med": null, "n_releases_24m": 1}
- flags: prerelease_only, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4378, forks 393 (observed 2026-08-28T04:08:46.925467+00:00)

## What it is
A Go library and CLI tool for creating and extracting archives (tar, zip, rar, 7z) and compressing/decompressing files (gzip, xz, bzip2, zstd, lz4, brotli, snappy) with a unified streaming API. It is deprecated and superseded by mholt/archives.

## Use cases
- extract a zip or tar archive in Go
- compress files to gzip or zstd from the command line
- create archives programmatically in Go
- identify archive format by filename or stream headers
- walk archive contents as a virtual file system

## When to choose
- maintaining legacy Go code already importing archiver v3 or earlier
- you need its specific CLI behavior and cannot migrate yet

## When to avoid
- starting a new Go project - use mholt/archives instead
- you need bug fixes or new features, since development has stopped

## Facets
- artifact type: library
- maturity: abandoned
- function: compression, file-system, cli
- domain: files, developer-tools, cross-platform
- platform: go, cross-platform, cli
- tags: archive-extraction, tar, zip, gzip, rar, 7zip, streaming, deprecated, successor-mholt-archives

## Member repositories
- mholt/archiver (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:46.925467+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-29T18:21:19.079032+00:00, confidence not recorded.
  - readme: https://github.com/mholt/archiver (fetched 2026-08-28T04:08:46.925467+00:00, sha 9b0bb5438e84)
  - homepage: https://github.com/mholt/archives (fetched 2026-08-29T09:09:29.654157+00:00, sha 2179cc2a25f5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
