C single-header

Open-source C projects categorized as single-header

Top 9 C single-header Projects

  • nuklear

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

    Project mention: Show HN: AutoPTT – Voice-activated push-to-talk | news.ycombinator.com | 2022-08-23

    Hello HN. I made this Windows desktop app that allows using voice activation with games or apps that only support push-to-talk.

    The initial version was written years ago, without any UI or configuration options. It was just for my personal use. I had told a few friends about it, though, and then one of them asked if he could get a copy to use with Discord priority speaker, since for years, it has only worked with push-to-talk. So I spent some time making a more user-friendly version.

    It's written almost exclusively in C and uses Nuklear [1] for the UI. It has an auto updater. The releases are hashed with BLAKE3 and signed with ECC.

    I also recently made an open source USB device [2] that the app can use to send input from a "real" keyboard because, it turns out, there are some games (CSGO) that ignore simulated input for activating the microphone.

    I'm having some trouble finding users though. I've tried posting on a few Discord servers and subreddits for games whose players I suspect would find the app useful but self-promotion and advertising are generally not allowed in these communities, so my posts get removed quite quickly. Any tips on how to best reach my audience?

    [1] https://github.com/Immediate-Mode-UI/Nuklear

    [2] https://github.com/veyh/AutoPTT-Sidekick

  • 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. :)

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • librg

    🚀 Making multi-player gamedev simpler since 2017

    Project mention: Multiplayer Networking Solutions | reddit.com/r/gamedev | 2022-10-06

    LibRG is an open-source, C99 header-only that handles actor relevancy, similar to Unreals Actor Relevancy Graph.

  • nbnet

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

  • minivorbis

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

  • clove-unit

    Single-Header Unit Testing framework for C (interoperable with C++) with test autodiscovery feature

    Project mention: Released CLove-Unit Test Adapter for Visual Studio! | reddit.com/r/unittesting | 2022-10-07

    Now you can run your C/C++ unit test written with CLove-Unit (single-header library) with a UI boost on Visual Studio.

  • pega-texto

    Single-file Parsing Expression Grammars (PEG) runtime engine for C

  • Zigi

    Workflow assistant built for devs & their teams. Automate the mundane part of your day, with live actionable messages for your GitHub & Jira tasks.

  • testdrive

    An expressive single-header unit testing framework for C.

  • c-allocators

    A collection of public domain single-file custom allocators for C/C++

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-10-07.

C single-header related posts

Index

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

Project Stars
1 nuklear 6,268
2 minimp3 1,225
3 librg 1,033
4 nbnet 228
5 minivorbis 31
6 clove-unit 18
7 pega-texto 17
8 testdrive 2
9 c-allocators 0
Build time-series-based applications quickly and at scale.
InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.
www.influxdata.com