sisong/HDiffPatch
a C\C++ library and command-line tools for Diff & Patch between binary files or directories(folder); cross-platform; runs fast; create small delta/differential; support large files and limit memory requires when diff & patch. observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 95
- Release rhythm 95
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 20
- age_days: 5000
- days_rel: 33
- days_push: 33
- n_releases_24m: 10
Adoption not part of the score
2082 stars · 348 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
HDiffPatch is a C/C++ library and command-line tools for creating and applying binary diffs (deltas) between files or directories. It produces small patch files quickly with bounded memory usage and is compatible with bsdiff and VCDIFF (xdelta3/open-vcdiff) formats.
Use cases
- create small delta patches between binary file versions
- apply patches to update files or directories
- generate OTA update packages for embedded devices
- diff and patch Android APKs or zip archives
- sync files when old versions are unavailable using hash certificates
- limit memory usage when diffing very large files
When to choose
- you need fast, memory-efficient binary or directory diffing
- you want small delta files for software updates or OTA distribution
- you need bsdiff or VCDIFF format compatibility
- you target embedded or low-RAM devices for patching
When to avoid
- you only need text diffs for source code (use git diff)
- you need a pure managed-language solution without C/C++ integration
- you require app-store-compatible APK patching without re-signing (use sfpatcher instead)
Facets
library · maturity stable
compression cli developer-tools files developer-tools cross-platform cross-platform cli windows embedded binary-diff delta-compression patching ota-updates bsdiff vcdiff directory-diff android linux macos
1 source
- readme: https://github.com/sisong/HDiffPatch · fetched 2026-08-28 · b0f61261d198
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sisong/HDiffPatch | main | 96 |
For agents
markdown · JSON · MCP: product_card(name="sisong/HDiffPatch")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem