nothings/stb
Single-file public domain libraries for C and C++
- Chart
- Not on a chart right now
- Stars
- 35.1k
What it is
A collection of 19 single-file C/C++ libraries covering image loading and writing, font rasterization, audio decoding, and data structures. Each library is dual-licensed under the public domain and MIT, and compiles directly into a project via a single header.
Who it is for
C and C++ developers who want lightweight graphics, audio, or game development utilities without managing external library builds or link conflicts.
Why it is trending
Created in 2014, the repository has 35,042 total stars and gained 70 stars today. It stands out for shipping each library as a single drop-in file that avoids separate build steps.
Main features
- Image loading and writing for JPG, PNG, BMP, TGA, and HDR via stb_image.h and stb_image_write.h
- TrueType font parsing and character rasterization with stb_truetype.h
- Typesafe dynamic arrays and hash tables for C/C++ in stb_ds.h
- 19 libraries in total, including Ogg Vorbis decoding, voxel rendering, and a tilemap editor
Summarized on November 17, 2026 from the README and repository data. It can be wrong; check the source before relying on it. Report a wrong summary