Git Stars Git Stars

#header-only-library Repositories

Discover 31 active open source GitHub repositories tagged with #header-only-library, accumulating 66,347 total stars (averaging 2,140 stars per project). Leading this topic is Tencent/rapidjson with 15,158 stars.

31
Total Repositories
66,347
Total Stars
2,140
Avg Stars/Repo
Programming Languages: C++ Cuda
1
Tencent/rapidjson

A fast JSON parser/generator for C++ with both SAX/DOM style API

Tencent
โญ 15,158 C++ ๐Ÿ‘ค Tencent Organization ๐Ÿ• Updated 2026-11-03 ๐Ÿ“… Created 2014-03-04
2
microsoft/GSL

Guidelines Support Library

microsoft
โญ 6,744 C++ ๐Ÿ‘ค microsoft Organization ๐Ÿ• Updated 2026-11-02 ๐Ÿ“… Created 2015-08-19
3
nmslib/hnswlib

Header-only C++/python library for fast approximate nearest neighbors

nmslib
โญ 5,372 C++ ๐Ÿ‘ค nmslib Organization ๐Ÿ• Updated 2026-09-15 ๐Ÿ“… Created 2017-07-06
4
HazyResearch/ThunderKittens

Tile primitives for speedy kernels

HazyResearch
โญ 3,805 Cuda ๐Ÿ‘ค HazyResearch Organization ๐Ÿ• Updated 2026-09-12 ๐Ÿ“… Created 2024-03-04
5
microsoft/wil

Windows Implementation Library

microsoft
โญ 3,000 C++ ๐Ÿ‘ค microsoft Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2018-11-07
โญ 2,356 C++ ๐Ÿ‘ค ben-strasser User ๐Ÿ• Updated 2025-02-02 ๐Ÿ“… Created 2015-04-15
7
qicosmos/cinatra

C++20 implemented cross-platform, header-only, easy to use high-performance http library; modern c++(c++20), cross-platform, header-only, easy to use http framework

qicosmos
โญ 2,189 C++ ๐Ÿ‘ค qicosmos User ๐Ÿ• Updated 2026-11-16 ๐Ÿ“… Created 2018-01-28
8
qicosmos/rest_rpc

modern C++(C++20), simple, easy to use rpc framework

qicosmos
โญ 2,013 C++ ๐Ÿ‘ค qicosmos User ๐Ÿ• Updated 2026-09-08 ๐Ÿ“… Created 2018-12-18
โญ 1,883 C++ ๐Ÿ‘ค microsoft Organization ๐Ÿ• Updated 2026-10-29 ๐Ÿ“… Created 2016-09-14
10
fungos/cr

cr.h: A Simple C Hot Reload Header-only Library

fungos
โญ 1,817 C++ ๐Ÿ‘ค fungos User ๐Ÿ• Updated 2026-06-23 ๐Ÿ“… Created 2017-11-21
11
efficient/libcuckoo

A high-performance, concurrent hash table

efficient
โญ 1,755 C++ ๐Ÿ‘ค efficient Organization ๐Ÿ• Updated 2026-11-14 ๐Ÿ“… Created 2014-01-02
12
GreycLab/CImg

The CImg Library is a small and open-source C++ toolkit for image processing

GreycLab
โญ 1,698 C++ ๐Ÿ‘ค GreycLab Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2015-05-29
13
martinus/unordered_dense

A fast & densely stored hashmap and hashset

martinus
โญ 1,521 C++ ๐Ÿ‘ค martinus User ๐Ÿ• Updated 2026-11-11 ๐Ÿ“… Created 2022-06-24
14
qicosmos/ormpp

modern C++ ORM, C++17, support mysql, postgresql,sqlite

qicosmos
โญ 1,512 C++ ๐Ÿ‘ค qicosmos User ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2017-11-04
15
enewhuis/liquibook

Modern C++ order matching engine

enewhuis
โญ 1,401 C++ ๐Ÿ‘ค enewhuis User ๐Ÿ• Updated 2024-03-15 ๐Ÿ“… Created 2013-03-19
16
erwincoumans/tiny-differentiable-simulator

Tiny Differentiable Simulator is a header-only C++ and CUDA physics library for reinforcement learning and robotics with zero dependencies.

erwincoumans
โญ 1,382 C++ ๐Ÿ‘ค erwincoumans User ๐Ÿ• Updated 2026-11-15 ๐Ÿ“… Created 2020-05-14
17
Ableton/link

Ableton Link

Ableton
โญ 1,364 C++ ๐Ÿ‘ค Ableton Organization ๐Ÿ• Updated 2026-11-10 ๐Ÿ“… Created 2016-02-03
18
yanyiwu/simhash

simhash value calculation for Chinese documents

yanyiwu
โญ 1,169 C++ ๐Ÿ‘ค yanyiwu User ๐Ÿ• Updated 2026-07-20 ๐Ÿ“… Created 2013-12-16
19
facebook/fatal

Fatal is a library for fast prototyping software in modern C++. It provides facilities to enhance the expressive power of C++. The library is heavily based on template meta-programming, while keeping the complexity under-the-hood.

meta
โญ 1,018 C++ ๐Ÿ‘ค meta Organization ๐Ÿ• Updated 2026-09-14 ๐Ÿ“… Created 2014-09-09
21
facontidavide/Bonxai

Fast, hierarchical, sparse Voxel Grid

facontidavide
โญ 888 C++ ๐Ÿ‘ค facontidavide User ๐Ÿ• Updated 2026-09-29 ๐Ÿ“… Created 2021-10-12
22
rollbear/trompeloeil

Header only C++14 mocking framework

rollbear
โญ 883 C++ ๐Ÿ‘ค rollbear User ๐Ÿ• Updated 2026-08-11 ๐Ÿ“… Created 2014-10-12
23
nemequ/hedley

A C/C++ header to help move #ifdefs out of your code

nemequ
โญ 879 C++ ๐Ÿ‘ค nemequ User ๐Ÿ• Updated 2024-09-20 ๐Ÿ“… Created 2016-06-27
24
s9w/oof

Convenient, high-performance RGB color and position control for console output

s9w
โญ 855 C++ ๐Ÿ‘ค s9w User ๐Ÿ• Updated 2024-09-21 ๐Ÿ“… Created 2021-11-15
25
joboccara/pipes

Pipelines for expressive code on collections in C++

joboccara
โญ 835 C++ ๐Ÿ‘ค joboccara User ๐Ÿ• Updated 2024-10-30 ๐Ÿ“… Created 2017-02-19
26
xhawk18/promise-cpp

C++ promise/A+ library in Javascript style.

xhawk18
โญ 696 C++ ๐Ÿ‘ค xhawk18 User ๐Ÿ• Updated 2024-04-19 ๐Ÿ“… Created 2016-10-09
27
meta/SPARTA

SPARTA is a library of software components specially designed for building high-performance static analyzers based on the theory of Abstract Interpretation.

meta
โญ 676 C++ ๐Ÿ‘ค meta Organization ๐Ÿ• Updated 2026-11-10 ๐Ÿ“… Created 2018-05-03
28
woboq/verdigris

Qt without moc: set of macros to use Qt without needing moc

woboq
โญ 671 C++ ๐Ÿ‘ค woboq Organization ๐Ÿ• Updated 2025-10-12 ๐Ÿ“… Created 2016-05-24
29
iwongu/sqlite3pp

SQLite3++ - C++ wrapper of the SQLite3 API

iwongu
โญ 645 C++ ๐Ÿ‘ค iwongu User ๐Ÿ• Updated 2026-02-08 ๐Ÿ“… Created 2014-08-23
30
dalerank/imspinner

Set of nice spinners for imgui

dalerank
โญ 616 C++ ๐Ÿ‘ค dalerank User ๐Ÿ• Updated 2026-10-12 ๐Ÿ“… Created 2022-06-25
31
josh0xA/rrgen

A Header Only C++ Library for Storing Safe Pseudorandom Values into Modern Containers with Uniform Integer Distributions

josh0xA
โญ 559 C++ ๐Ÿ‘ค josh0xA User ๐Ÿ• Updated 2026-04-14 ๐Ÿ“… Created 2020-04-27

Frequently Asked Questions

1

What is the most popular #header-only-library repository on GitHub?

The top ranked open source #header-only-library project on GitHub is Tencent/rapidjson with 15,158 stars. A fast JSON parser/generator for C++ with both SAX/DOM style API

2

Which programming languages are most used in #header-only-library repositories?

Among the top ranked #header-only-library projects on GitHub, the most common programming languages are C++, Cuda.

3

How is the #header-only-library repository ranking calculated?

We track 31 active open source repositories tagged with #header-only-library (500+ stars), totaling 66,347 stars with an average of 2,140 stars per repository. Rankings update daily from the GitHub API.