C single-header-lib

Open-source C projects categorized as single-header-lib Edit details
Related topics: #C #single-header #OpenGL #GUI #C99

Top 11 C single-header-lib Projects

  • webview

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

    Project mention: Wails 1.0 – Electron Alternative Powered by Go | news.ycombinator.com | 2022-06-16

    It's just called webview/webview[0]. The fact is a little obscured now because it's been used from so many other languages, but Go/C/C++ were the original targets.


  • nuklear

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

    Project mention: Approaches to implementing a GUI for a 3D graphics CL project | reddit.com/r/lisp | 2022-06-20

    Otherwise a pure OpenGL solution works. You want consider wrapping something like: https://github.com/Immediate-Mode-UI/Nuklear

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • minimp3

    Minimalistic MP3 decoder single header library

    Project mention: Shine: A super fast fixed-point MP3 encoder | news.ycombinator.com | 2022-04-11

    And for the other direction, there's minimp3: https://github.com/lieff/minimp3

    I've used minimp3 to implement a MP3 player on a STM32 microcontroller. Works great. :)

  • cgltf

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

    Project mention: I was learning OpenGL and, I needed a suggestion : Which are the best 3D model formats (In terms of ease of loading) | reddit.com/r/opengl | 2022-03-23

    Use glTF and https://github.com/jkuhlmann/cgltf Or, looks like you are using C#, so https://github.com/vpenades/SharpGLTF

  • rayfork

    C99 Game Library. XNA-like. Single source. Platform Independent. Allocator Aware.

    Project mention: [Handmade Network] How to write better (game) libraries | reddit.com/r/C_Programming | 2021-09-13

    Just got a question. I was looking at https://github.com/SasLuca/rayfork/blob/rayfork-0.9/source/core/rayfork-core.c and I saw

  • nbnet

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

    Project mention: Nbnet: Single header C99 library implements client-server network code for games | news.ycombinator.com | 2021-10-06
  • msf_gif

    A single-header animated GIF exporter

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • dds-ktx

    Single header KTX/DDS reader

    Project mention: Tools for rolling your own engine | reddit.com/r/gamedev | 2022-05-16

    dds_ktx is a pretty tiny lib for reading DDS and KTX files easily

  • simple-opengl-loader

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

    Project mention: Simple OpenGL Loader: An extensible, cross-platform, (almost) single-file C/C++ OpenGL loader library ! | reddit.com/r/opengl | 2022-01-11
  • buddy_alloc

    A single header buddy memory allocator for C

    Project mention: is there some good tutorial about how malloc or mcheck works? | reddit.com/r/C_Programming | 2022-01-13

    I also maintain a application-based malloc (that doesn't do obtaining and releasing memory through the OS, just managing sub-diving a larger memory block into smaller requests) at https://github.com/spaskalev/buddy_alloc - feel free to ping me with any questions about it.

  • minivorbis

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

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 2022-06-20.

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 10,189
2 nuklear 5,756
3 minimp3 1,128
4 cgltf 944
5 rayfork 289
6 nbnet 217
7 msf_gif 171
8 dds-ktx 84
9 simple-opengl-loader 75
10 buddy_alloc 25
11 minivorbis 24
Find remote jobs at our new job board 99remotejobs.com. There are 3 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Developer Ecosystem Survey 2022
Take part in the Developer Ecosystem Survey 2022 by JetBrains and get a chance to win a Macbook, a Nvidia graphics card, or other prizes. We’ll create an infographic full of stats, and you’ll get personalized results so you can compare yourself with other developers.