A file format designed for highly efficient deltas while maintaining good compression
Clone or download
jdieter Disable building tests when building for coverity
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
Latest commit 20f15d4 Nov 13, 2018



Coverity Scan Build Status
Jenkins Build Status

zchunk is a compressed file format that splits the file into independent chunks. This allows you to only download changed chunks when downloading a new version of the file, and also makes zchunk files efficient over rsync.

zchunk files are protected with strong checksums to verify that the file you downloaded is, in fact, the file you wanted.

zchunk-0.9.0 has been released with the proposed final ABI. Once zchunk-1.0 has been released, the ABI will be marked as stable, and the only allowed API/ABI and file format changes will be additions


To build and install zchunk, first install meson and run

meson build
cd build
sudo ninja install

Using the utilities

To decompress a zchunk file, simply run:

unzck <filename>

To compress a new zchunk file, run:

zck <filename>

To download a zchunk file, run:

zckdl -s <source> <url of target>

To read a zchunk header, run:

zck_read_header <file>