header-only repositories

Trending repositories tagged header-only, ranked by trending score. Updated daily.

  1. 1
    nlohmann/json

    JSON for Modern C++

    GitHub · C++ · 50,934 stars · 7,545 forks · +14 stars in 24 hours · Trending score 2.50

  2. 2
    p-ranav/argparse

    Argument Parser for Modern C++

    GitHub · C++ · 3,569 stars · 325 forks · +18 stars in 24 hours · Trending score 2.21

  3. 3
    Sedeniono/tiny-optional

    Drop-in replacement for std::optional that does not waste memory unnecessarily

    GitHub · C++ · 162 stars · 5 forks · +12 stars in 24 hours · Trending score 1.77

  4. 4
    stephenberry/glaze

    Extremely fast, in memory, serialization, reflection, and RPC library for C++. JSON, BEVE, BSON, CBOR, CSV, JSONB, MessagePack, TOML, YAML, EETF

    GitHub · C++ · 3,115 stars · 298 forks · +6 stars in 24 hours · Trending score 1.60

  5. 5
    yhirose/cpp-httplib

    A C++ header-only HTTP/HTTPS server and client library

    GitHub · C++ · 16,995 stars · 2,774 forks · +3 stars in 24 hours · Trending score 1.32

  6. 6
    DeguiLiu/newosp

    Modern C++17 header-only embedded infrastructure library (Linux / ARM-Linux/ RT-Thread)

    GitHub · C++ · 119 stars · 4 forks · 0 stars in 24 hours · Trending score 1.21

  7. 7
    p-ranav/glob

    Glob for C++17

    GitHub · C++ · 298 stars · 50 forks · +4 stars in 24 hours · Trending score 1.21

  8. 8
    pantor/inja

    A Template Engine for Modern C++

    GitHub · C++ · 2,002 stars · 259 forks · +3 stars in 24 hours · Trending score 1.18

  9. 9
    rigtorp/Seqlock

    An implementation of Seqlock in C++11

    GitHub · C++ · 256 stars · 41 forks · +4 stars in 24 hours · Trending score 1.05

  10. 10
    SergiusTheBest/plog

    Portable, simple and extensible C++ logging library

    GitHub · C++ · 2,600 stars · 408 forks · 0 stars in 24 hours · Trending score 0.93

  11. 11
    skypjack/entt

    Gaming meets modern C++ - a fast and reliable entity component system (ECS) and much more

    GitHub · C++ · 13,276 stars · 1,124 forks · 0 stars in 24 hours · Trending score 0.80

  12. 12
    rigtorp/MPMCQueue

    A bounded multi-producer multi-consumer concurrent queue written in C++11

    GitHub · C++ · 1,582 stars · 205 forks · 0 stars in 24 hours · Trending score 0.68

  13. 13
    kfrlib/kfr

    Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON, RISC-V RVV)

    GitHub · C++ · 1,941 stars · 287 forks · 0 stars in 24 hours · Trending score 0.64

  14. 14
    ngcpp/proxy

    Proxy: Next Generation Polymorphism in C++

    GitHub · C++ · 177 stars · 14 forks · 0 stars in 24 hours · Trending score 0.59

  15. 15
    rigtorp/SPSCQueue

    A bounded single-producer single-consumer wait-free and lock-free queue written in C++20

    GitHub · C++ · 1,325 stars · 173 forks · 0 stars in 24 hours · Trending score 0.58

  16. 16
    CristianMoresi/DSPark

    Header-only C++20 audio DSP for real-time and offline processing. Filters, effects, analog circuit models, automatic dynamics, stereo tools, analysis and EBU R128 metering. Dependency-free DSP core with optional VST3, CLAP and Audio Unit adapters.

    GitHub · C++ · 21 stars · 1 forks · +1 stars in 24 hours · Trending score 0.55

  17. 17
    Konvt/pace

    A powerful and high-performance terminal progress bar for Modern C++.

    GitHub · C++ · 42 stars · 3 forks · +1 stars in 24 hours · Trending score 0.45

  18. 18
    GLMap/earstrip

    Fast polygon triangulation into triangle strips: ear clipping with a constrained Delaunay fallback for broken rings. Header-only C++17 and WebAssembly, with an earcut-compatible JavaScript call.

    GitHub · C++ · 68 stars · 0 forks · +1 stars in 24 hours · Trending score 0.45

  19. 19
    ptsouchlos/thread-pool

    A modern, fast, lightweight thread pool library based on C++2x

    GitHub · C++ · 575 stars · 40 forks · 0 stars in 24 hours · Trending score 0.42

  20. 20
    rabauke/mpl

    A C++17 message passing library based on MPI

    GitHub · C++ · 192 stars · 33 forks · 0 stars in 24 hours · Trending score 0.40

  21. 21
    marzer/tomlplusplus

    Header-only TOML config file parser and serializer for C++17.

    GitHub · C++ · 2,186 stars · 226 forks · 0 stars in 24 hours · Trending score 0.39

  22. 22
    Neargye/magic_enum

    Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code

    GitHub · C++ · 6,253 stars · 571 forks · 0 stars in 24 hours · Trending score 0.36

  23. 23
    psimatis/Indexicon-Spatial-Library

    A portable and efficient library of spatial indexes in C++ including R-tree, Quad-Tree, and KD-Tree variants.

    GitHub · C++ · 28 stars · 0 forks · 0 stars in 24 hours · Trending score 0.32

  24. 24
    fhamonic/mippp

    Header-only C++23 library for linear, mixed-integer and quadratic programming — one model, any solver, at raw C API speed.

    GitHub · C++ · 19 stars · 1 forks · 0 stars in 24 hours · Trending score 0.29