gzip-hpp
A header-only C++ library for gzip compression and decompression. It was split out of mapnik-vector-tile to be small and reusable.
Pick a small issue you can reproduce, then fix it with your AI coding agent.
Share on XLicense: BSD-2-Clause
Overview
gzip-hpp is a header-only C++ library for gzip compression and decompression. It was extracted from mapnik-vector-tile so it could be small and reusable on its own. Functions take a pointer to a character sequence and its size, and return a std::string. You can check whether data is already compressed, compress it, or decompress it. Decompression handles both zlib and gzip data. You include only the headers your code needs.
Key features
- Header-only, include just the headers you need
- compress() returns a std::string
- decompress() decodes both gzip and zlib data
- is_compressed() checks gzip and zlib input
Best for
C++ projects that need simple gzip handling without a large dependency, such as compressing tile data.
- Upstream
- mapbox/gzip-hpp
- Fork on GitHub
- Guo-astro/gzip-hpp
- Upstream stars
- 354
- Category
- Developer tools and infrastructure
- Language
- C++
- License
- BSD-2-Clause
- Forked
- 2020-11-01
- Sync status
- In syncLast synced 2026-10-19
More in Developer tools and infrastructure
An open-source TypeScript engine for calculating Zi Wei Dou Shu charts and consulting traditional references. It helps developers build charting and interpretation tools.
Forked 2026-10-18Last synced 2026-10-19License: MITDeveloper tools and infrastructureGitHub
ImHex is a hex editor for inspecting and editing binary files. Reverse engineers, programmers, and forensic users can search and patch bytes or describe file structures with its pattern language.
Forked 2026-10-17Last synced 2026-10-19License: GPL-2.0Developer tools and infrastructureGitHub
Numa is a portable DNS resolver for local development and privacy. It blocks ads, gives local services names like frontend.numa, and runs without depending on a cloud account.
Forked 2026-10-17Last synced 2026-10-19License: MITDeveloper tools and infrastructureGitHub
Handwired turns ordinary JavaScript logic into differentiable neural-network-style calculations, so programs can run as matrix operations in JavaScript or WebGPU. It is for experimenting with GPU execution and optimization of code written in a traditional style.
Forked 2026-10-16Last synced 2026-10-19License: MITDeveloper tools and infrastructureGitHub