Awesome Compression is a learning-oriented repository for compression and coding algorithms. It combines concise algorithm notes with runnable C++ examples so the concepts can be studied from both theory and API usage.
docs/- VitePress GitHub Pages site for compression notes, comparisons, and learning guides.examples/cpp/- C++17 examples that call common compression libraries and verify round-trip correctness.
- ZSTD
- LZMA
- BSC
- LZ4
- zlib
- Brotli
Run the documentation locally:
cd docs
npm install
npm run devBuild the documentation:
cd docs
npm run buildBuild and run the examples:
cmake -S examples/cpp -B examples/cpp/build -DCMAKE_BUILD_TYPE=Release
cmake --build examples/cpp/build
ctest --test-dir examples/cpp/build --output-on-failureThe examples use CMake FetchContent to fetch supported libraries. BSC is optional and may be disabled automatically when the upstream build is unavailable on the current platform.