跳到正文

正在自动登录…

← 返回项目列表

xevrion/hatchzip

压缩包解压

HatchZip 是一款在解压过程中原地消耗压缩包以节省磁盘空间的解压工具,支持 ZIP、7z、tar 及分卷压缩包,适合磁盘空间不足的场景。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/24 03:02:04 · 查看原文

值得看Rust应用与服务
累计 Stars
1,255
当前热度
1~7 天 · 热门
仓库创建时间
打开 GitHub ↗项目网站 ↗

选用指南

AI 根据 README 整理 · 2026/10/24 03:02:04

适用场景

适用于磁盘空间有限、需要解压大型压缩包的场景,可节省空间并支持中断恢复。

查看 README 依据
<img src="docs/media/hatchzip.gif" width="720" alt="HatchZip extracts the last part of the archive, then cuts it off the archive file, so the disk never holds the archive and all the files at once" /> </p> A 180 GB game download that unpacks to 200 GB needs 380 GB of disk with WinRAR, 7-Zip or `unzip`, because the archive and everything extracted from it have to exist at the same time. HatchZip needs a little over 200 GB. It extracts the archive from the end and cuts each finished part off the archive file as it goes, so the space the archive gives back is reused for the next files.
Press `Ctrl+C` and HatchZip finishes the files it is writing, saves its progress and exits. A second `Ctrl+C` quits immediately, which is also safe. To continue, run the same command again: ```sh hatchzip extract game.zip ``` The same applies after a crash, a power cut, or running out of space because something else filled the disk. Progress lives in two small files next to the archive, `game.zip.hatchzip` and `game.zip.hatchzip-tail`. **Do not delete them while an extraction is unfinished**: they hold the archive's index, which is no longer inside the archive itself. ### Stop for good
使用方式

提供图形界面和命令行两种使用方式,可通过右键菜单或命令提取。

查看 README 依据
2. Right-click the archive, choose **HatchZip**, then **Extract here**. On Windows 11 the menu is under **Show more options**. 3. Or open HatchZip from the Start menu, open the archive, and choose **Extract**. HatchZip shows whether the files will fit before it changes anything. The archive is used up as the files come out, so when it finishes, only the extracted files are left. ## Highlights The same 200 MB of game data (21 files), packed by the real tools, extracted on a 220 MiB disk with about 50 MB free: | Archive | `unzip` / 7-Zip | HatchZip | |---|---|---|
hatchzip man > ~/.local/share/man/man1/hatchzip.1 # then: man hatchzip ``` ## Usage ### See whether it fits ```sh hatchzip check game.zip ``` ``` game.zip 180.2 MB zip, 200.0 MB uncompressed in 22 entries available 50.5 MB standard extraction needs 200.0 MB required 29.9 MB (+5.0 MB reserved) available after 30.6 MB ``` `check` reads the archive's index and the disk's free space and changes nothing. ### Extract ```sh hatchzip extract game.zip # into ./game/
部署要求

支持 Windows 10/11、macOS(Apple Silicon 和 Intel)以及 Linux,提供各平台安装包或通过 Cargo 安装。

查看 README 依据
No coding needed. **[Download for Windows](https://github.com/xevrion/hatchzip/releases/latest/download/HatchZip-x64-setup.exe)** (Windows 10 and 11), or for [macOS (Apple Silicon)](https://github.com/xevrion/hatchzip/releases/latest/download/HatchZip-aarch64.dmg), [macOS (Intel)](https://github.com/xevrion/hatchzip/releases/latest/download/HatchZip-x86_64.dmg) and [Linux](#installation). 1. Run the installer. Windows may show "Windows protected your PC" because HatchZip is not code-signed yet: choose **More info**, then **Run anyway**.
Download from the [latest release](https://github.com/xevrion/hatchzip/releases/latest): | System | File | |---|---| | Windows 10 and 11 (x64) | [`HatchZip-x64-setup.exe`](https://github.com/xevrion/hatchzip/releases/latest/download/HatchZip-x64-setup.exe): installs per user, no admin rights, adds the right-click menu | | macOS, Apple Silicon | [`HatchZip-aarch64.dmg`](https://github.com/xevrion/hatchzip/releases/latest/download/HatchZip-aarch64.dmg) | | macOS, Intel | [`HatchZip-x86_64.dmg`](https://github.com/xevrion/hatchzip/releases/latest/download/HatchZip-x86_64.dmg) |
Both download the build for your machine from the latest release, check it against its published SHA-256 checksum, and install `hatchzip` and `hz` for your user only, with the man page and shell completions. No root or administrator rights. ### With Cargo ```sh cargo install hatchzip ``` This builds the command line tool from [crates.io](https://crates.io/crates/hatchzip). The engine is a library too: [`hatchzip-core`](https://crates.io/crates/hatchzip-core). ### From source With [Rust](https://rustup.rs) (the version is pinned in `rust-toolchain.toml` and installed automatically):
已知限制

不支持压缩的 tar 格式(如 .tar.gz),且对于单个巨大 solid 7z 块仍需足够空间;另不支持 RAR 等格式。

查看 README 依据
| `.tar.gz`, `.tar.zst`, `.tar.xz` | Refused before extraction, planned. One continuous stream, which needs resumable checkpoints inside it; see [the format notes](docs/formats.md). | | | One huge solid 7z block | Works, but needs free space for the whole block, as the table above shows. Freeing space inside a block is the same planned technique. | | | RAR, native split ZIP (`.z01`) | Planned | | ## How it works

README

正在加载 README…

收录信息

仓库创建时间
2026/10/22 01:29:28
首次达标收录
2026/10/23 20:51:47
统计更新时间
2026/10/24 17:21:02

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

值得看加权总分 4.3 / 5

新颖度
4.0
实用价值
4.9
成熟度
4.6
实质含量
3.8

由 Jev 模型根据仓库描述与 README 评估,2026/10/23 20:51:47 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/10/23 22:28:39
许可证标识
Apache-2.0
Fork 数
26
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目