SaaSHub helps you find the best software and product alternatives Learn more →
Top 13 C single-header-lib Projects
-
I'm working on better UI for my app AutoPTT [1]. It's probably going to look somewhat similar to Discord's settings, except I won't be using Electron. I refuse to use bloated stuff like that, so I'm going to keep using a pure C UI library [2].
Obviously this is going to take a bit more work but at least the resource usage will stay low, which I consider quite important. Especially since gamers are a large portion of the user base.
[1] https://autoptt.com/
[2] https://github.com/Immediate-Mode-UI/Nuklear
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Project mention: cgltf VS AssetKit - a user suggested alternative | libhunt.com/r/cgltf | 2026-10-13
-
-
-
-
-
-
-
-
-
Project mention: A new wavelet codec for thumbnails/preview (200B–36KB) | news.ycombinator.com | 2026-07-18
I added a comparison with AVIF https://github.com/lieff/miniwtpc/blob/main/results.md#compa...
-
FYI: I have made a SPSC circular buffer for swap data in a pair of process: https://github.com/starwing/kaze-core
maybe that is what you want.
-
IncludeDB
Tiny key/value-store in a single, embeddable C file. For games, small servers, sbc, etc...
C single-header-lib discussion
C single-header-lib related posts
-
Nuklear: A minimal-state, immediate-mode graphical user interface toolkit
-
Trouble calculating projection matrix
-
Is there no simple GUI library for pure C?
-
Networking and multiplayer
-
Handmade Math A simple math library for games and computer graphics
-
CLib: Header-only C library that implements the most important classes from GLib
-
Making UI Library (OpenGL) in your engine
-
A note from our sponsor - SaaSHub
www.saashub.com | 15 Nov 2026
Index
What are some of the best open-source single-header-lib projects in C? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | nuklear | 11,507 |
| 2 | cgltf | 2,030 |
| 3 | minimp3 | 1,984 |
| 4 | nbnet | 568 |
| 5 | buddy_alloc | 254 |
| 6 | msf_gif | 237 |
| 7 | dds-ktx | 141 |
| 8 | minivorbis | 92 |
| 9 | simple-opengl-loader | 92 |
| 10 | variation-ui | 27 |
| 11 | miniwtpc | 10 |
| 12 | kaze-core | 10 |
| 13 | IncludeDB | 9 |