C single-header-lib

Open-source C projects categorized as single-header-lib

Top 13 C single-header-lib Projects

  • webview

    Tiny cross-platform webview library for C/C++. Uses WebKit (GTK/Cocoa) and Edge WebView2 (Windows).

    Project mention: Why Bloat Is Still Software's Biggest Vulnerability | news.ycombinator.com | 2024-02-09

    You can create the webview using each platforms native GUI toolkit and setup JS communication yourself OR you can use a lightweight library that does it for [1] (search its README for language "bindings").

    [1] https://github.com/webview/webview

  • nuklear

    A single-header ANSI C immediate mode cross-platform GUI library (by Immediate-Mode-UI)

    Project mention: Ask HN: Do you have a problem you'd pay to have taken away? | news.ycombinator.com | 2024-01-07
  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • minimp3

    Minimalistic MP3 decoder single header library

    Project mention: MP3 Decoder for a Data Stream | /r/DSP | 2023-03-28
  • cgltf

    :diamond_shape_with_a_dot_inside: Single-file glTF 2.0 loader and writer written in C99

    Project mention: Confused in terms of where to start with framework/technology etc. Need help picking between learning ShaderToy v/s OpenGL v/s WebGL | /r/GraphicsProgramming | 2023-06-20

    If you want to go all the way, https://learnopengl.com/ is a favorite around here. You could build a glTF viewer from scratch starting from that tutorial and https://github.com/jkuhlmann/cgltf and eventually building towards https://google.github.io/filament/Filament.html or whatever wacky artsy direction you like.

  • nbnet

    single header C(99) library to implement client-server network code for games

    Project mention: Networking and multiplayer | /r/raylib | 2023-04-28

    There's examples and on YT theres some videos showing off the lib.

  • msf_gif

    A single-header animated GIF exporter

  • dds-ktx

    Single header "no-allocation" KTX/DDS file reader

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • buddy_alloc

    A single header buddy memory allocator for C & C++

    Project mention: buddy memory allocator - project update (2 years) | /r/C_Programming | 2023-06-12

    If you need a sub-allocator with predictable performance feel free to give it a try. The code is here and it is licensed under the 0BSD license, making it as lax and as close to public domain as possible. Comments, issues and PRs are always welcomed and appreciated. Thanks!

  • simple-opengl-loader

    An extensible, cross-platform, single-header C/C++ OpenGL loader library.

  • minivorbis

    Single-file port of libogg and libvorbis for decoding ogg sound files.

  • variation-ui

    Single-header terminal user interface library. Written in ansi-c

    Project mention: I made a single-header library for UI in ansi-c | /r/C_Programming | 2023-03-27

    First Library (11 months ago): Github

  • IncludeDB

    Tiny key/value-store in a single, embeddable C file. For games, small servers, sbc, etc...

    Project mention: Show HN: IncludeDB – A simple, single header C database library | news.ycombinator.com | 2023-07-09
  • variation-lite-ui

    Single-header terminal user interface library. Written in ansi-c

    Project mention: I made a single-header library for UI in ansi-c | /r/C_Programming | 2023-03-27

    Second Library (Now): Github

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-02-09.

C single-header-lib related posts


What are some of the best open-source single-header-lib projects in C? This list will help you:

Project Stars
1 webview 11,880
2 nuklear 8,344
3 minimp3 1,455
4 cgltf 1,346
5 nbnet 368
6 msf_gif 196
7 dds-ktx 109
8 buddy_alloc 104
9 simple-opengl-loader 81
10 minivorbis 57
11 variation-ui 20
12 IncludeDB 8
13 variation-lite-ui 2
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives