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.
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-16
More in Developer tools and infrastructure
Rustrak is a self-hosted error tracker for collecting errors, logs, transactions, release health, and AI-agent traces through Sentry-compatible SDKs. Run it on your own hardware to monitor applications without moving to a hosted service.
Forked 2026-10-15Last synced 2026-10-16License: GPL-3.0Developer tools and infrastructureGitHub
WrapPin is an iOS 27+ tool for testing the location an iPhone reports to the system. Choose a fixed location or test walking and driving routes, then restore the real location.
Forked 2026-10-14Last synced 2026-10-16Custom license (see repository)Developer tools and infrastructureGitHub
Homelable helps self-hosted homelab users scan and diagram their infrastructure, document devices, and check whether services are online.
Forked 2026-10-14Last synced 2026-10-16License: MITDeveloper tools and infrastructureGitHub
Repowise indexes code, call graphs, Git history, tests, docs, and design decisions locally, helping developers and coding agents understand dependencies, find dead code, and decide what to fix.
Forked 2026-10-14Last synced 2026-10-16License: AGPL-3.0Developer tools and infrastructureGitHub