graphitemaster/incbin
Include binary files in C/C++ observed · 2026-08-28
Health v2 · maintenance only
43/100
- Activity 23
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4230
- days_rel: n/a
- days_push: 464
- n_releases_24m: 0
Adoption not part of the score
1185 stars · 108 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A single-header C/C++ library that embeds binary and text files directly into executables at compile time via macros and inline assembly. It produces aligned data arrays with size and end symbols, supporting a wide range of compilers including MSVC, GCC, and Clang.
Use cases
- embed binary files in c/c++ executables
- include images or shaders as data in c++
- embed text files as strings at compile time
- bundle assets into a single binary without external files
- embed firmware resources in embedded c projects
When to choose
- you need assets compiled into the binary with no runtime file loading
- you want a zero-dependency, single-header solution
- you need SIMD-aligned embedded data for vectorized code
- you target many compilers including MSVC and embedded toolchains
When to avoid
- you need to load or swap assets at runtime
- your build pipeline already handles asset embedding via code generation
- you require strict MISRA compliance without independent verification
- your compiler lacks GCC-style inline assembler support and is not MSVC
Facets
library · maturity stable
compiler developer-tools file-system developer-tools cross-platform embedded-systems cross-platform cpp c embedded header-only embed-binary-files single-header c-cpp inline-assembly public-domain
1 source
- readme: https://github.com/graphitemaster/incbin · fetched 2026-08-28 · 093b84a3969a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| graphitemaster/incbin | main | 43 |
For agents
markdown · JSON · MCP: product_card(name="graphitemaster/incbin")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem