Topics / #single-header-lib
Single-header-lib projects on GitHub
C and C++ libraries distributed as one header file.
As of , the most-starred Single-header-lib projects on GitHub are cpp-httplib (16.9K stars), webview (14.3K stars) and nuklear (14K stars). GitHub.Locker tracks 5 Single-header-lib repositories with 69.7K stars combined. The fastest-growing on October 16 was Nuklear, with +4 stars in a day.
Hot right now
Most stars gained in a day · Oct 16
+4Nuklear
Immediate-Mode-UI/Nuklear · ★ 11.5KNuklear is a minimal-state, immediate-mode graphical user interface toolkit written in ANSI C, designed as a simple embeddable UI that you build into your own application.
webview
webview/webview · ★ 14.3KA tiny cross-platform webview library for C/C++: you build the GUI in HTML/JS and it renders it with the platform's native engine — WebKit on macOS (Cocoa) and Linux (GTK), Edge WebView2 on Windows. It supports two-way JavaScript bindings, so C/C++ and the page can call each other.
+2cJSON
DaveGamble/cJSON · ★ 13KAn ultralightweight JSON parser written in plain ANSI C. The whole thing is one C file and one header, with the stated goal of being the dumbest parser that still gets your job done.
The all-time top
5 projects · by stars
- 16.9K
#1 · yhirose/cpp-httplibcpp-httplib
A C++11 single-file header-only HTTP/HTTPS server and client library — you add networking to a C++ program by including one header, httplib.h.
- 14.3K
#2 · webview/webview
webview
A tiny cross-platform webview library for C/C++: you build the GUI in HTML/JS and it renders it with the platform's native engine — WebKit on macOS (Cocoa) and Linux (GTK), Edge WebView2 on Windows. It supports two-way JavaScript bindings, so C/C++ and the page can call each other.
- 14K
#3 · vurtun/nuklearnuklear
Nuklear is a minimal state immediate mode graphical user interface toolkit written in ANSI C (C89) and released into the public domain, meant to be embedded into your application.
- 4

cJSON
13KDaveGamble/cJSON · CAn ultralightweight JSON parser written in plain ANSI C. The whole thing is one C file and one header, with the stated goal of being the dumbest parser that still gets your job done.
- 5

Nuklear
11.5KImmediate-Mode-UI/Nuklear · CNuklear is a minimal-state, immediate-mode graphical user interface toolkit written in ANSI C, designed as a simple embeddable UI that you build into your own application.
Related topics
Often tagged together