Awesome C

AI

  • armnn armnn 1,137
    star
    updated about 1 month ago MIT License

    Arm NN ML Software. The code here is a read-only mirror of https://review.mlplatform.org/admin/repos/ml/armnn

  • caffe caffe 33,895
    star
    updated 5 months ago Other

    Caffe: a fast open framework for deep learning.

  • ccv ccv 7,056
    star
    updated about 1 month ago Other

    C-based/Cached/Core Computer Vision Library, A Modern Computer Vision Library

  • CNTK CNTK 17,412
    star
    updated over 1 year ago Other

    Microsoft Cognitive Toolkit (CNTK), an open source deep-learning toolkit

  • updated 11 months ago MIT License

    The Compute Library is a set of computer vision and machine learning functions optimised for both Arm CPUs and GPUs using SIMD technologies.

  • updated over 3 years ago MIT License

    🤖 A portable, header-only, artificial neural network library written in C99

  • fann fann 1,554
    star
    updated 3 months ago GNU Lesser Genera...

    Official github repository for Fast Artificial Neural Network Library (FANN)

  • kann kann 670
    star
    updated over 2 years ago Other

    A lightweight C library for artificial neural networks

  • updated about 5 years ago
  • llama.cpp llama.cpp 62,432
    star
    updated about 24 hours ago MIT License

    LLM inference in C/C++

  • updated about 1 year ago MIT License

    ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator

  • opencv opencv 71,438
    star
    updated 10 months ago Apache License 2.0

    Open Source Computer Vision Library

  • pytorch pytorch 80,734
    star
    updated 1 day ago Other

    Tensors and Dynamic neural networks in Python with strong GPU acceleration

  • tensorflow tensorflow 184,235
    star
    updated 4 days ago Apache License 2.0

    An Open Source Machine Learning Framework for Everyone

  • whisper.cpp whisper.cpp 33,134
    star
    updated 12 days ago MIT License

    Port of OpenAI's Whisper model in C/C++

  • xgboost xgboost 25,698
    star
    updated about 2 months ago Apache License 2.0

    Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT or GBM) Library, for Python, R, Java, Scala, C++ and more. Runs on single machine, Hadoop, Spark, Dask, Flink and DataFlow

Algorithms

  • C C 18,469
    star
    updated 27 days ago GNU General Publi...

    Collection of various algorithms in mathematics, machine learning, computer science, physics, etc implemented in C for educational purposes.

Benchmarking

  • b63 b63 50
    star
    updated over 1 year ago Apache License 2.0

    Micro-benchmarking library for C and C++ with PMU counters tracking

  • updated 11 months ago

    This is a repository for the code posted on my blog

  • updated 11 months ago MIT License

    The Compute Library is a set of computer vision and machine learning functions optimised for both Arm CPUs and GPUs using SIMD technologies.

  • hpx hpx 2,428
    star
    updated 2 months ago Boost Software Li...

    The C++ Standard Library for Parallelism and Concurrency

  • updated about 1 year ago Apache License 2.0

    Keyword spotting on Arm Cortex-M Microcontrollers

  • updated 9 months ago Other

    Optimized implementations of various library functions for ARM architecture processors

  • sysbench sysbench 5,855
    star
    updated 4 months ago GNU General Publi...

    Scriptable database and system performance benchmark

  • updated over 1 year ago Apache License 2.0

    Testing common random-number generators (RNG)

  • wrk wrk 36,626
    star
    updated 7 months ago Other

    Modern HTTP benchmarking tool

Build Systems

  • updated about 7 years ago BSD 2-Clause "Sim...

    Simple autotools template for quick project bootstrapping

  • build build 224
    star
    updated 8 months ago Boost Software Li...

    B2 makes it easy to build C++ projects, everywhere.

  • CMake CMake 5,967
    star
    updated 11 months ago Other

    Mirror of CMake upstream repository

  • updated 10 months ago Other

    The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.

  • meson meson 5,008
    star
    updated 8 months ago Apache License 2.0

    The Meson Build System

  • updated 16 days ago Apache License 2.0

    C++ Driver for MongoDB

  • ninja ninja 10,694
    star
    updated about 2 months ago Apache License 2.0

    a small build system with a focus on speed

  • ParaView ParaView 1,051
    star
    updated 11 months ago BSD 3-Clause "New...

    VTK-based Data Analysis and Visualization Application

  • updated about 1 month ago BSD 3-Clause "New...

    Premake

  • protobuf protobuf 64,472
    star
    updated 24 days ago Other

    Protocol Buffers - Google's data interchange format

  • redis redis 65,743
    star
    updated 5 days ago Other

    Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.

  • scons scons 1,990
    star
    updated about 1 month ago MIT License

    SCons - a software construction tool

  • systemd systemd 12,798
    star
    updated 23 days ago GNU General Publi...

    The systemd System and Service Manager

  • VTK VTK 2,250
    star
    updated 11 months ago Other

    Mirror of Visualization Toolkit repository

  • xmake xmake 9,476
    star
    updated 27 days ago Apache License 2.0

    🔥 A cross-platform build utility based on Lua

  • updated about 1 year ago Mozilla Public Li...

    CLASS Project Generator

Compilers

  • ccache ccache 2,214
    star
    updated about 2 months ago Other

    ccache – a fast compiler cache

  • checkedc checkedc 3,193
    star
    updated almost 2 years ago Other

    Checked C is an extension to C that lets programmers write C code that is guaranteed by the compiler to be type-safe. The goal is to let people easily make their existing C code type-safe and eliminate entire classes of errors. Checked C does not address use-after-free errors. This repo has a wiki for Checked C, sample code, the specification, and test code.

  • cproc cproc 691
    star
    updated 3 months ago Other

    C11 compiler (mirror)

  • distcc distcc 2,021
    star
    updated 4 months ago GNU General Publi...

    distributed builds for C, C++ and Objective C

  • emscripten emscripten 25,378
    star
    updated 14 days ago Other

    Emscripten: An LLVM-to-WebAssembly Compiler

  • gcc gcc 8,087
    star
    updated 11 months ago GNU General Publi...
  • updated about 20 hours ago Other

    The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.

  • LuaJIT LuaJIT 4,428
    star
    updated 3 months ago Other

    Mirror of the LuaJIT git repository

  • ponyc ponyc 5,620
    star
    updated 2 months ago BSD 2-Clause "Sim...

    Pony is an open-source, actor-model, capabilities-secure, high performance programming language

  • updated 8 days ago Other

    A query and indexing engine for Redis, providing secondary indexing, full-text search, vector similarity search and aggregations.

Compression

  • brotli brotli 13,154
    star
    updated 3 months ago MIT License

    Brotli compression format

  • updated 11 months ago Apache License 2.0

    libbz2 (bzip2 compression) bindings for Rust

  • updated 26 days ago Other

    A blocking, shuffling and loss-less compression library that can be faster than `memcpy()`.

  • CRoaring CRoaring 1,509
    star
    updated 4 days ago Other

    Roaring bitmaps in C (and C++), with SIMD (AVX2, AVX-512 and NEON) optimizations: used by Apache Doris, ClickHouse, and StarRocks

  • updated almost 2 years ago BSD 3-Clause "New...

    Heavily optimized zlib compression algorithm

  • updated almost 2 years ago BSD 2-Clause "Sim...

    New generation entropy codecs : Finite State Entropy and Huff0

  • updated 2 months ago ISC License

    data compression library for embedded/real-time systems

  • updated about 11 years ago

    Minimal Huffman coder/decoder

  • updated about 2 months ago Other

    Multi-format archive and compression library

  • lizard lizard 642
    star
    updated over 3 years ago Other

    Lizard (formerly LZ5) is an efficient compressor with very fast decompression. It achieves compression ratio that is comparable to zip/zlib and zstd/brotli (at low and medium compression levels) at decompression speed of 1000 MB/s and faster.

  • lz4 lz4 9,445
    star
    updated 12 days ago Other

    Extremely Fast Compression algorithm

  • updated about 1 year ago Apache License 2.0

    Keyword spotting on Arm Cortex-M Microcontrollers

  • updated 9 months ago Other

    Optimized implementations of various library functions for ARM architecture processors

  • pixz pixz 692
    star
    updated 21 days ago BSD 2-Clause "Sim...

    Parallel, indexed xz compressor

  • shoco shoco 359
    star
    updated 11 months ago MIT License

    shoco is a compressor for small text strings

  • smaz smaz 1,096
    star
    updated almost 5 years ago BSD 3-Clause "New...

    Small strings compression library

  • snappy snappy 6,022
    star
    updated 2 months ago Other

    A fast compressor/decompressor

  • squash squash 404
    star
    updated over 4 years ago MIT License

    Compression abstraction library and utilities

  • str str 280
    star
    updated 9 months ago BSD 3-Clause "New...

    str: yet another string library for C language.

  • zip zip 1,341
    star
    updated about 1 month ago The Unlicense

    A portable, simple zip library written in C

  • zlib zlib 5,434
    star
    updated 25 days ago Other

    A massively spiffy yet delicately unobtrusive compression library.

  • zlib-ng zlib-ng 1,478
    star
    updated 28 days ago zlib License

    zlib replacement with optimizations for "next generation" systems.

  • zstd zstd 22,448
    star
    updated 3 months ago Other

    Zstandard - Fast real-time compression algorithm

Concurrency and Parallelism

  • bdwgc bdwgc 2,799
    star
    updated 3 months ago Other

    The Boehm-Demers-Weiser conservative C/C++ Garbage Collector (bdwgc, also known as bdw-gc, boehm-gc, libgc)

  • updated almost 11 years ago BSD 2-Clause "Sim...

    checkedthreads: no race condition goes unnoticed! Simple API, automatic load balancing, Valgrind-based checking

  • updated 11 months ago

    This is a repository for the code posted on my blog

  • updated about 1 month ago Apache License 2.0

    The FastPFOR C++ library: Fast integer compression

  • updated 5 months ago Apache License 2.0

    header-only library to validate utf-8 strings at high speeds (using SIMD instructions)

  • updated about 1 year ago Apache License 2.0

    C++ library to pack and unpack vectors of integers having a small range of values using a technique called Frame of Reference

  • libaco libaco 3,479
    star
    updated about 2 years ago Apache License 2.0

    A blazing fast and lightweight C asymmetric coroutine library 💎 ⛅🚀⛅🌞

  • updated almost 3 years ago zlib License

    ©️ Concurrent Programming Library (Coroutine) for C11

  • libcsp libcsp 1,299
    star
    updated about 1 year ago MIT License

    A concurrency C library 10x faster than Golang.

  • libhl libhl 416
    star
    updated about 2 years ago GNU Lesser Genera...

    Simple and fast C library implementing a thread-safe API to manage hash-tables, linked lists, lock-free ring buffers and queues

  • updated almost 9 years ago Other

    OpenCL Mid-Level Abstractions Project

  • updated over 7 years ago GNU General Publi...

    A small C OpenCL wrapper

  • ompi ompi 2,078
    star
    updated 13 days ago Other

    Open MPI main development repository

  • pal pal 300
    star
    updated almost 4 years ago Apache License 2.0

    An optimized C library for math, parallel processing and data movement

  • updated 11 months ago BSD 3-Clause "New...

    A simple C library for compressing lists of integers using binary packing

  • updated 4 months ago Apache License 2.0

    Fast integer compression in C using the StreamVByte codec

  • updated 7 months ago

    Small, portable implementation of the C11 threads API

Crypto

  • updated 9 months ago The Unlicense

    A ANSI C blowfish ECB API

  • updated 28 days ago Other

    Bitcoin Cross-Platform C++ Development Toolkit

  • libsodium libsodium 11,977
    star
    updated 2 months ago Other

    A modern, portable, easy to use crypto library.

  • updated 27 days ago Other

    LibTomCrypt is a fairly comprehensive, modular and portable cryptographic toolkit that provides developers with a vast array of well known published block ciphers, one-way hash functions, chaining modes, pseudo-random number generators, public key cryptography and a plethora of other routines.

  • mbedtls mbedtls 4,419
    star
    updated 11 months ago Apache License 2.0

    An open source, portable, easy to use, readable and flexible TLS library, and reference implementation of the PSA Cryptography API. Releases are on a varying cadence, typically around 3 - 6 months between releases.

  • MIRACL MIRACL 635
    star
    updated about 3 years ago

    MIRACL Cryptographic SDK: Multiprecision Integer and Rational Arithmetic Cryptographic Library is a C software library that is widely regarded by developers as the gold standard open source SDK for elliptic curve cryptography (ECC).

  • monero monero 8,756
    star
    updated 9 days ago Other

    Monero: the secure, private, untraceable cryptocurrency

  • updated over 7 years ago

    A collection of hash functions, ciphers, tools, libraries, and materials related to cryptography & security. 🔐🔐🔐🔐🔐 (project was renamed, libchaos is main)

  • secp256k1 secp256k1 1,969
    star
    updated 3 months ago MIT License

    Optimized C library for EC operations on curve secp256k1

  • Experimental fork of libsecp256k1 with support for pedersen commitments and range proofs.

  • updated about 4 years ago MIT License

    🔒 Don't use this repo, use the new monorepo instead:

  • zyre zyre 843
    star
    updated 10 months ago Mozilla Public Li...

    Zyre - an open-source framework for proximity-based peer-to-peer applications

CSV

  • libcsv libcsv 169
    star
    updated about 2 years ago GNU Lesser Genera...

    Fast and flexible CSV library written in pure ANSI C that can read and write CSV data.

Database

  • arangodb arangodb 13,407
    star
    updated about 1 month ago Other

    🥑 ArangoDB is a native multi-model database with flexible data models for documents, graphs, and key-values. Build high performance applications using a convenient SQL-like query language or JavaScript extensions.

  • ClickHouse ClickHouse 35,651
    star
    updated 2 days ago Apache License 2.0

    ClickHouse® is a real-time analytics DBMS

  • dynomite dynomite 4,104
    star
    updated about 1 year ago Apache License 2.0

    A generic dynamo implementation for different k-v storage engines

  • ejdb ejdb 1,394
    star
    updated 11 months ago MIT License

    🏂 EJDB2 — Embeddable JSON Database engine C library. Simple XPath like query language (JQL). Websockets / Android / iOS / React Native / Flutter / Java / Dart / Node.js bindings. Docker image.

  • updated 11 months ago GNU Lesser Genera...

    An embeddable fulltext search engine. Groonga is the successor project to Senna.

  • updated almost 7 years ago GNU General Publi...

    InfiniDB Data Warehouse

  • memcached memcached 13,354
    star
    updated 2 days ago BSD 3-Clause "New...

    memcached development tree

  • mongo mongo 25,790
    star
    updated 18 days ago Other

    The MongoDB Database

  • updated 2 days ago Other

    MySQL Server, the world's most popular open source database, and MySQL Cluster, a real-time, open source transactional database.

  • postgres postgres 14,255
    star
    updated 5 months ago Other

    Mirror of the official PostgreSQL GIT repository. Note that this is just a *mirror* - we don't work with pull requests on github. To contribute, please see https://wiki.postgresql.org/wiki/Submitting_a_Patch

  • rocksdb rocksdb 27,791
    star
    updated 29 days ago GNU General Publi...

    A library that provides an embeddable, persistent key-value store for fast storage.

  • sparkey sparkey 1,153
    star
    updated 11 months ago Apache License 2.0

    Simple constant key/value storage library, for read-heavy systems with infrequent large bulk inserts.

  • sysbench sysbench 5,855
    star
    updated 4 months ago GNU General Publi...

    Scriptable database and system performance benchmark

  • TDengine TDengine 23,001
    star
    updated 25 days ago GNU Affero Genera...

    TDengine is an open source, high-performance, cloud native time-series database optimized for Internet of Things (IoT), Connected Cars, Industrial IoT and DevOps.

  • timescaledb timescaledb 16,659
    star
    updated about 2 months ago Other

    An open-source time-series SQL database optimized for fast ingest and complex queries. Packaged as a PostgreSQL extension.

Data Structures

  • updated over 1 year ago ISC License

    A library of common data structures and algorithms written in C.

  • updated 8 months ago MIT License

    Easy to use, modular, header only, macro based, generic and type-safe Data Structures in C

  • CLIST CLIST 40
    star
    updated over 2 years ago Other

    C List - universal list solution for C and C++, easy and fast, all data types supported

  • updated about 2 months ago GNU Lesser Genera...

    A library of generic data structures for the C language.

  • updated almost 10 years ago Apache License 2.0

    Git mirror of the official (mercurial) repository of cpp-btree

  • ds ds 50
    star
    updated 11 months ago MIT License

    🔗 Common Data Structures and Algorithms

  • igraph igraph 1,692
    star
    updated 26 days ago GNU General Publi...

    Library for the analysis of networks

  • kdtree kdtree 387
    star
    updated almost 3 years ago Other

    A simple C library for working with KD-Trees

  • updated 9 months ago BSD 2-Clause "Sim...

    Basic data structures in C: list, set, map/hashtable, queue... (libstdc++ wrapper)

  • libsrt libsrt 542
    star
    updated over 1 year ago BSD 3-Clause "New...

    libsrt is a C library for writing fast and safe C code, faster. It provides string, vector, bit set, set, map, hash set, and hash map handling. Suitable for soft and hard real-time. Allows both heap and stack allocation. *BETA* (API still can change: suggestions are welcome)

  • linux linux 164,055
    star
    updated 6 months ago Other

    Linux kernel source tree

  • updated 5 months ago GNU General Publi...

    Linear Linked List Library

  • mlib mlib 793
    star
    updated 3 months ago BSD 2-Clause "Sim...

    Library of generic and type safe containers in pure C language (C99 or C11) for a wide collection of container (comparable to the C++ STL).

  • updated over 8 years ago MIT License

    A collecton of generic reference counted data structures, tools to create compatible C style classes, and demo applications

  • updated about 2 years ago Other

    Random access array of tightly packed unsigned integers

  • updated over 4 years ago

    Red-black tree in C

  • sc sc 2,180
    star
    updated 4 months ago BSD 3-Clause "New...

    Common libraries and data structures for C.

  • sds sds 4,649
    star
    updated 10 months ago BSD 2-Clause "Sim...

    Simple Dynamic Strings library for C

  • uthash uthash 3,978
    star
    updated 2 months ago Other

    C macros for hash tables and more

  • updated about 10 years ago MIT License

    C header library for typed lists (using macros and "template" C).

Debugging

  • creduce creduce 1,208
    star
    updated about 2 months ago Other

    C-Reduce, a C and C++ program reducer

  • cscout cscout 176
    star
    updated about 4 years ago GNU General Publi...

    C code refactoring browser

  • czmq czmq 1,110
    star
    updated 8 months ago Mozilla Public Li...

    High-level C binding for ØMQ

  • updated about 8 years ago Other

    C++ wrapper for czmq. Aims to be minimal, simple and consistent.

  • debug debug 276
    star
    updated over 9 years ago

    Debugging like a sir (in C)

  • esbmc esbmc 265
    star
    updated 10 days ago Other

    The efficient SMT-based context-bounded model checker (ESBMC)

  • hiredis hiredis 6,127
    star
    updated about 2 months ago BSD 3-Clause "New...

    Minimalistic C client for Redis >= 1.2

  • libevent libevent 10,872
    star
    updated about 1 month ago Other

    Event notification library

  • libuv libuv 23,457
    star
    updated about 2 months ago MIT License

    Cross-platform asynchronous I/O

  • libzmq libzmq 8,996
    star
    updated 8 months ago Mozilla Public Li...

    ZeroMQ core engine in C++, implements ZMTP/3.1

  • updated about 20 hours ago Other

    The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.

  • updated over 2 years ago Mozilla Public Li...

    The ZeroMQ Enterprise Messaging Broker

  • updated 14 days ago Apache License 2.0

    The Official MongoDB driver for C language

  • openssl openssl 24,625
    star
    updated about 2 months ago Apache License 2.0

    TLS/SSL and crypto library

  • rr rr 8,775
    star
    updated 23 days ago Other

    Record and Replay Framework

  • strace strace 2,139
    star
    updated 21 days ago Other

    strace is a diagnostic, debugging and instructional userspace utility for Linux

Documentation Generation

  • updated almost 4 years ago Other

    Lightweight markup language - document once, include anywhere

  • doxygen doxygen 5,384
    star
    updated 3 months ago GNU General Publi...

    Official doxygen git repository

  • glfw glfw 12,621
    star
    updated 9 days ago zlib License

    A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input

  • ice ice 2,008
    star
    updated 1 day ago GNU General Publi...

    All-in-one solution for creating networked applications with RPC, pub/sub, server deployment, and more.

  • libevent libevent 10,872
    star
    updated about 1 month ago Other

    Event notification library

  • libgit2 libgit2 9,208
    star
    updated 9 months ago Other

    A cross-platform, linkable library implementation of Git that you can use in your application.

  • updated 16 days ago Apache License 2.0

    C++ Driver for MongoDB

  • protobuf protobuf 64,472
    star
    updated 24 days ago Other

    Protocol Buffers - Google's data interchange format

  • zlib zlib 5,434
    star
    updated 25 days ago Other

    A massively spiffy yet delicately unobtrusive compression library.

Editors

  • kilo kilo 6,839
    star
    updated 9 months ago BSD 2-Clause "Sim...

    A text editor in less than 1000 LOC with syntax highlight and search.

  • updated over 4 years ago Other

    Terminal for KDE

  • sc-im sc-im 4,004
    star
    updated 5 months ago Other

    sc-im - Spreadsheet Calculator Improvised -- An ncurses spreadsheet program for terminal

  • vim.js vim.js 4,456
    star
    updated about 8 years ago Other

    JavaScript port of Vim

Embeddable Scripting Engines

  • bdwgc bdwgc 2,799
    star
    updated 3 months ago Other

    The Boehm-Demers-Weiser conservative C/C++ Garbage Collector (bdwgc, also known as bdw-gc, boehm-gc, libgc)

  • core core 1,517
    star
    updated about 1 month ago Apache License 2.0

    MetaCall: The ultimate polyglot programming experience.

  • duktape duktape 5,839
    star
    updated 4 months ago MIT License

    Duktape - embeddable Javascript engine with a focus on portability and compact footprint

  • frozen frozen 691
    star
    updated 7 months ago Other

    JSON parser and generator for C/C++ with scanf/printf like interface. Targeting embedded systems.

  • libmodbus libmodbus 3,100
    star
    updated 5 months ago GNU Lesser Genera...

    A Modbus library for Linux, Mac OS, FreeBSD and Windows

  • mjs mjs 1,835
    star
    updated 7 months ago Other

    Embedded JavaScript engine for C/C++

  • mongoose mongoose 10,814
    star
    updated 16 days ago Other

    Embedded Web Server

  • updated 7 months ago Other

    Mongoose OS - an IoT Firmware Development Framework. Supported microcontrollers: ESP32, ESP8266, CC3220, CC3200, STM32F4, STM32L4, STM32F7. Amazon AWS IoT, Microsoft Azure, Google IoT Core integrated. Code in C or JavaScript.

  • mruby mruby 5,251
    star
    updated 2 months ago MIT License

    Lightweight Ruby

  • v7 v7 1,405
    star
    updated over 3 years ago Other

    Embedded JavaScript engine for C/C++

File System

  • zfs zfs 10,206
    star
    updated about 2 months ago Other

    OpenZFS on Linux and FreeBSD

Frameworks

  • armnn armnn 1,137
    star
    updated about 1 month ago MIT License

    Arm NN ML Software. The code here is a read-only mirror of https://review.mlplatform.org/admin/repos/ml/armnn

  • updated over 1 year ago ISC License

    A library of common data structures and algorithms written in C.

  • klib klib 4,057
    star
    updated about 2 months ago MIT License

    A standalone and lightweight C library

  • updated over 2 years ago GNU General Publi...

    NIH Utility Library

  • mbedtls mbedtls 4,419
    star
    updated 11 months ago Apache License 2.0

    An open source, portable, easy to use, readable and flexible TLS library, and reference implementation of the PSA Cryptography API. Releases are on a varying cadence, typically around 3 - 6 months between releases.

  • updated 3 months ago MIT License

    Highly portable C system library: threads and synchronization primitives, sockets (TCP, UDP, SCTP), IPv4 and IPv6, IPC, hash functions (MD5, SHA-1, SHA-2, SHA-3, GOST), binary trees (RB, AVL) and more. Native code performance.

  • pspsdk pspsdk 835
    star
    updated 9 days ago Other

    An open-source SDK for PSP homebrew development.

  • sc sc 2,180
    star
    updated 4 months ago BSD 3-Clause "New...

    Common libraries and data structures for C.

Game Programming

  • allegro5 allegro5 1,771
    star
    updated 3 months ago Other

    The official Allegro 5 git repository. Pull requests welcome!

  • aseprite aseprite 23,276
    star
    updated 10 months ago

    Animated sprite editor & pixel art tool (Windows, macOS, Linux)

  • updated 5 months ago Apache License 2.0

    🎨 Modern 2D/3D - Importer • Exporter • Util - Library, also known as (AssetIO)

  • astera astera 281
    star
    updated 7 months ago MIT License

    A C99 Cross Platform 2D Game Library

  • cglm cglm 2,137
    star
    updated 23 days ago MIT License

    📽 Highly Optimized 2D / 3D Graphics Math (glm) for C

  • updated 3 months ago MIT License

    A fast and lightweight 2D game physics library.

  • cmt cmt 164
    star
    updated 8 months ago MIT License

    🎮 C Bindings/Wrappers for Apple's METAL framework

  • Corange Corange 1,720
    star
    updated over 1 year ago Other

    Pure C Game Engine

  • updated 4 months ago MIT License

    A C99 3D game engine

  • updated 11 months ago MIT License

    Freecell Solver - a C library for automatically solving Freecell and some other variants of card Solitaire

  • flecs flecs 5,841
    star
    updated 19 days ago MIT License

    A fast entity component system (ECS) for C & C++

  • gb gb 517
    star
    updated over 3 years ago

    gb single-file public domain libraries for C & C++

  • updated over 3 years ago Other

    A C math library targeted at games

  • updated 11 days ago Other

    Epoxy is a library for handling OpenGL function pointer management for you

  • librg librg 1,233
    star
    updated 4 months ago BSD 3-Clause "New...

    🚀 Making multi-player gamedev simpler since 2017

  • updated about 2 months ago Other

    The official distribution of olcPixelGameEngine, a tool used in javidx9's YouTube videos and projects

  • orx orx 1,233
    star
    updated 9 months ago zlib License

    ORX: Portable Game Engine

  • Quake Quake 4,635
    star
    updated 10 months ago

    Quake GPL Source Release

  • Quake-2 Quake-2 2,701
    star
    updated 8 months ago

    Quake 2 GPL Source Release

  • raylib raylib 16,508
    star
    updated 8 months ago zlib License

    A simple and easy-to-use library to enjoy videogames programming

  • RetroArch RetroArch 9,784
    star
    updated 19 days ago GNU General Publi...

    Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.

  • SDL SDL 8,800
    star
    updated 8 days ago zlib License

    Simple Directmedia Layer

  • sdl-gpu sdl-gpu 1,162
    star
    updated almost 2 years ago MIT License

    A library for high-performance, modern 2D graphics with SDL written in C.

  • SFML SFML 9,791
    star
    updated 24 days ago zlib License

    Simple and Fast Multimedia Library

  • skynet skynet 12,707
    star
    updated 4 months ago MIT License

    A lightweight online game framework

Graphical User Interface

  • imgui imgui 57,774
    star
    updated 22 days ago MIT License

    Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies

  • updated about 2 months ago MIT License

    Nice things to use along dear imgui

  • libui libui 10,682
    star
    updated about 2 months ago Other

    Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports.

  • luigi luigi 353
    star
    updated about 2 months ago Other

    A barebones single-header GUI library for Win32, X11 and Essence.

  • lvgl lvgl 15,493
    star
    updated about 1 month ago MIT License

    Embedded graphics library to create beautiful UIs for any MCU, MPU and display type.

  • microui microui 3,124
    star
    updated 7 months ago MIT License

    A tiny immediate-mode UI library

  • Nuklear Nuklear 8,887
    star
    updated 7 days ago

    A single-header ANSI C immediate mode cross-platform GUI library

  • nuklear nuklear 13,604
    star
    updated over 4 years ago

    A single-header ANSI C gui library

  • SDL SDL 578
    star
    updated over 3 years ago Other

    Automated mirror of https://hg.libsdl.org/SDL/

Graphics

  • aseprite aseprite 23,276
    star
    updated 10 months ago

    Animated sprite editor & pixel art tool (Windows, macOS, Linux)

  • glfw glfw 12,621
    star
    updated 9 days ago zlib License

    A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input

  • HandBrake HandBrake 15,688
    star
    updated 2 months ago Other

    HandBrake's main development repository

  • imgui imgui 57,774
    star
    updated 22 days ago MIT License

    Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies

  • laf laf 229
    star
    updated 11 months ago MIT License

    A C++ library to create desktop applications

  • libgd libgd 851
    star
    updated 8 months ago Other

    GD Graphics Library

  • nanovg nanovg 5,044
    star
    updated 4 months ago zlib License

    Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations.

  • updated about 2 months ago Other

    The official distribution of olcPixelGameEngine, a tool used in javidx9's YouTube videos and projects

  • openscad openscad 6,089
    star
    updated 8 months ago Other

    OpenSCAD - The Programmers Solid 3D CAD Modeller

  • stb stb 25,430
    star
    updated 2 months ago Other

    stb single-file public domain libraries for C/C++

Hashing

  • BLAKE2 BLAKE2 645
    star
    updated over 1 year ago Creative Commons ...

    BLAKE2 official implementations

  • clhash clhash 256
    star
    updated about 5 years ago Apache License 2.0

    C library implementing the ridiculously fast CLHash hashing function

  • updated 3 months ago Apache License 2.0

    Fast strong hash functions: SipHash/HighwayHash

  • updated 4 months ago MIT License

    C implementation of the SHA-3 and Keccak with Init/Update/Finalize hashing API (NIST FIPS 202/Etherium)

  • xxHash xxHash 7,749
    star
    updated 11 months ago Other

    Extremely fast non-cryptographic hash algorithm

Imagery

  • blurhash blurhash 15,153
    star
    updated 2 months ago MIT License

    A very compact representation of a placeholder for an image.

  • ImageMagick ImageMagick 11,268
    star
    updated 2 months ago Other

    🧙‍♂️ ImageMagick 7

INI

  • inih inih 2,341
    star
    updated 2 months ago Other

    Simple .INI file parser in C, good for embedded systems

  • updated 9 days ago MIT License

    ini file parser

  • minIni minIni 363
    star
    updated 3 months ago Other

    A small and portable INI file library with read/write support

JSON

  • jansson jansson 3,024
    star
    updated 17 days ago Other

    C library for encoding, decoding and manipulating JSON data

  • jq jq 21,280
    star

    Command-line JSON processor

  • jsmn jsmn 3,570
    star
    updated 4 months ago MIT License

    Jsmn is a world fastest JSON parser/tokenizer. This is the official repo replacing the old one at Bitbucket

  • json json 23
    star
    updated 3 months ago MIT License

    🔋 In-place lightweight JSON parser

  • json-c json-c 2,741
    star
    updated 11 months ago Other

    https://github.com/json-c/json-c is the official code repository for json-c. See the wiki for release tarballs for download. API docs at http://json-c.github.io/json-c/

  • json.h json.h 683
    star
    updated 4 days ago The Unlicense

    🗄️ single header json parser for C and C++

  • parson parson 1,315
    star
    updated 3 months ago MIT License

    Lightweight JSON library written in C.

  • updated 5 months ago GNU Lesser Genera...

    advanced, flexible JSON manipulation in C

  • yajl yajl 2,116
    star
    updated about 1 year ago ISC License

    A fast streaming JSON parsing library in C.

Lexing and Parsing

  • flex flex 3,145
    star
    updated 10 months ago Other

    The Fast Lexical Analyzer - scanner generator for lexing in C and C++

  • hammer hammer 279
    star
    updated almost 4 years ago GNU General Publi...

    Parser combinators for binary formats, in C. Yes, in C. What? Don't look at me like that.

  • updated about 2 months ago MIT License

    C library for cross-platform real-time audio input and output

  • mpc mpc 2,611
    star
    updated 3 months ago Other

    A Parser Combinator library for C

  • owl owl 740
    star
    updated 8 months ago MIT License

    A parser generator for visibly pushdown languages.

  • re2c re2c 1,050
    star
    updated 7 days ago Other

    Lexer generator for C, C++, Go and Rust.

Logging

  • goaccess goaccess 17,788
    star
    updated about 2 months ago MIT License

    GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.

Memory Management

  • CMSIS_5 CMSIS_5 1,278
    star
    updated 28 days ago Apache License 2.0

    CMSIS Version 5 Development Repository

  • jemalloc jemalloc 9,148
    star
    updated about 2 months ago Other
  • updated 3 months ago Other

    The atomic_ops project (Atomic memory update operations portable implementation)

  • libcsptr libcsptr 1,478
    star
    updated over 1 year ago MIT License

    Smart pointers for the (GNU) C programming language

  • mbed-os mbed-os 4,601
    star
    updated about 2 months ago Other

    Arm Mbed OS is a platform operating system designed for the internet of things

  • mimalloc mimalloc 9,505
    star
    updated 3 months ago MIT License

    mimalloc is a compact general purpose allocator with excellent performance.

Miscellaneous

  • updated almost 4 years ago Apache License 2.0

    ARCHIVED - libbson has moved to https://github.com/mongodb/mongo-c-driver/tree/master/src/libbson

  • updated 8 months ago MIT License

    CBOR protocol implementation for C

  • updated over 2 years ago MIT License

    Libelf is a simple library to read ELF files.

  • libucl libucl 1,602
    star
    updated 3 months ago BSD 2-Clause "Sim...

    Universal configuration library parser

  • libxo libxo 287
    star
    updated 11 months ago BSD 2-Clause "Sim...

    The libxo library allows an application to generate text, XML, JSON, and HTML output using a common set of function calls. The application decides at run time which output style should be produced.

Monitoring

  • netdata netdata 67,926
    star
    updated 4 months ago GNU General Publi...

    The open-source observability platform everyone needs!

  • A free, powerful, multi-purpose tool that helps you monitor system resources, debug software and detect malware.

Multimedia

  • aubio aubio 3,028
    star
    updated 10 months ago GNU General Publi...

    a library for audio and music analysis

  • flac flac 1,538
    star
    updated 2 months ago GNU Free Document...

    Free Lossless Audio Codec

  • gpac gpac 2,633
    star
    updated 23 days ago GNU Lesser Genera...

    GPAC Ultramedia OSS for Video Streaming & Next-Gen Multimedia Transcoding, Packaging & Delivery

  • gstreamer gstreamer 1,877
    star
    updated 9 months ago Other

    GStreamer open-source multimedia framework

  • libass libass 899
    star
    updated 27 days ago ISC License

    libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format.

  • libav libav 988
    star
    updated about 3 years ago Other

    Libav github mirror, clone of git://git.libav.org/libav

  • updated 16 days ago Other

    Main libjpeg-turbo repository

  • updated about 2 months ago MIT License

    C library for cross-platform real-time audio input and output

  • lodepng lodepng 2,005
    star
    updated 3 months ago zlib License

    PNG encoder and decoder in C and C++.

  • minimp3 minimp3 1,333
    star
    updated over 1 year ago Creative Commons ...

    Minimalistic MP3 decoder single header library

  • mpv mpv 25,751
    star
    updated 4 months ago Other

    🎥 Command line video player

  • updated 3 months ago GNU Lesser Genera...

    C library for reading virtual slide images

  • opus opus 2,128
    star
    updated 3 months ago Other

    Modern audio compression for the internet.

  • vlc vlc 13,201
    star
    updated 3 months ago GNU General Publi...

    VLC media player - All pull requests are ignored, please follow https://wiki.videolan.org/Sending_Patches_VLC/

  • vorbis vorbis 448
    star
    updated 7 months ago BSD 3-Clause "New...

    Reference implementation of the Ogg Vorbis audio format.

Networking and Internet

  • updated over 1 year ago Apache License 2.0

    Apache ActiveMQ CPP

  • updated about 1 year ago Apache License 2.0

    C99 library implementation of AWS client-side authentication: standard credentials providers and signing.

  • updated over 2 years ago MIT License

    Lightweight WebSocket library for C.

  • dyad dyad 1,437
    star
    updated almost 4 years ago MIT License

    Asynchronous networking for C

  • grpc grpc 41,007
    star
    updated about 1 month ago Apache License 2.0

    The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)

  • updated over 1 year ago Apache License 2.0

    An HTML5 parsing library in pure C99

  • h2o h2o 10,782
    star
    updated 13 days ago MIT License

    H2O - the optimized HTTP/1, HTTP/2, HTTP/3 server

  • httpd httpd 3,441
    star
    updated 2 months ago Apache License 2.0

    Mirror of Apache HTTP Server. Issues: http://issues.apache.org

  • libhv libhv 6,456
    star
    updated about 2 months ago BSD 3-Clause "New...

    🔥 比libevent/libuv/asio更易用的网络库。A c/c++ network library for developing TCP/UDP/SSL/HTTP/WebSocket/MQTT client/server.

  • libpcap libpcap 2,389
    star
    updated 8 months ago Other

    the LIBpcap interface to various kernel packet capture mechanism

  • updated 5 months ago GNU Lesser Genera...

    Cross-platform library which helps to develop web servers or frameworks.

  • updated 5 months ago MIT License

    A very flexible, lightweight and high performance HTTP server library based on libev and http-parser for Embedded Linux.

  • updated 24 days ago GNU General Publi...

    LibVNCServer/LibVNCClient are cross-platform C libraries that allow you to easily implement VNC server or client functionality in your program.

  • llhttp llhttp 1,618
    star
    updated 5 days ago Other

    Port of http_parser to llparse

  • lwan lwan 5,800
    star
    updated 10 months ago GNU General Publi...

    Experimental, scalable, high performance HTTP server

  • MQTT-C MQTT-C 735
    star
    updated 3 months ago MIT License

    A portable MQTT C client for embedded systems and PCs alike.

  • nanomsg nanomsg 5,887
    star
    updated 6 months ago Other

    nanomsg library

  • nghttp2 nghttp2 4,535
    star
    updated about 1 month ago Other

    nghttp2 - HTTP/2 C Library and tools

  • nng nng 3,604
    star
    updated about 2 months ago MIT License

    nanomsg-next-generation -- light-weight brokerless messaging

  • onion onion 2,006
    star
    updated almost 2 years ago Other

    C library to create simple HTTP servers and Web Applications.

  • updated 10 months ago Apache License 2.0

    Mirror of Apache Qpid Proton

  • silgy silgy 79
    star
    updated over 2 years ago MIT License

    Asynchronous HTTP(S) engine for C/C++ projects (deprecated, use Node++ instead)

  • updated about 7 years ago

    Wrapper library for the BSD sockets API with a nicer C99 interface

  • thrift thrift 9,900
    star
    updated 11 months ago Apache License 2.0

    Apache Thrift

  • toxcore toxcore 8,724
    star
    updated 11 months ago GNU General Publi...

    The future of online communications.

  • updated 27 days ago Apache License 2.0

    Apache Traffic Server™ is a fast, scalable and extensible HTTP/1.1 and HTTP/2 compliant caching proxy server.

  • twitc twitc 24
    star
    updated almost 4 years ago MIT License

    A mini C library for interacting with the Twitter OAuth api.

  • updated 2 months ago Other

    🔪 Strictly RFC 3986 compliant URI parsing and handling library written in C89; moved from SourceForge to GitHub

  • wslay wslay 607
    star
    updated almost 2 years ago MIT License

    The WebSocket library in C

  • zyre zyre 843
    star
    updated 10 months ago Mozilla Public Li...

    Zyre - an open-source framework for proximity-based peer-to-peer applications

Numerical

  • updated over 4 years ago

    A C library for statistical and scientific computing

  • arb arb 458
    star
    updated 4 months ago GNU Lesser Genera...

    Arb has been merged into FLINT -- use https://github.com/flintlib/flint/ instead

  • axom axom 110
    star
    updated about 1 year ago BSD 3-Clause "New...

    CS infrastructure components for HPC applications

  • clBLAS clBLAS 830
    star
    updated 8 months ago Apache License 2.0

    a software library containing BLAS functions written in OpenCL

  • updated almost 2 years ago MIT License

    A pure-C math library with a great variety of mathematical functions. Seeks to be close to C89/C90 compliant for portability.

  • fft-c fft-c 22
    star
    updated over 2 years ago MIT License

    Elegant Fast Fourier Transform in C. Making fft.c from fftpack user-friendly.

  • fftw3 fftw3 2,647
    star
    updated about 1 month ago GNU General Publi...

    DO NOT CHECK OUT THESE FILES FROM GITHUB UNLESS YOU KNOW WHAT YOU ARE DOING. (See below.)

  • flint flint 407
    star
    updated 6 days ago GNU Lesser Genera...

    FLINT (Fast Library for Number Theory)

  • updated 27 days ago Other

    LibTomCrypt is a fairly comprehensive, modular and portable cryptographic toolkit that provides developers with a vast array of well known published block ciphers, one-way hash functions, chaining modes, pseudo-random number generators, public key cryptography and a plethora of other routines.

  • updated about 3 years ago

    MPI benchmark to test and measure collective performance

  • mpiP mpiP 75
    star
    updated 6 months ago

    A light-weight MPI profiler.

  • OpenBLAS OpenBLAS 5,254
    star
    updated about 1 year ago BSD 3-Clause "New...

    OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.

  • scr scr 97
    star
    updated about 1 month ago Other

    SCR caches checkpoint data in storage on the compute nodes of a Linux cluster to provide a fast, scalable checkpoint / restart capability for MPI codes.

  • scs scs 530
    star
    updated 17 days ago MIT License

    Splitting Conic Solver

Operating System

  • reactos reactos 14,189
    star
    updated about 1 month ago GNU General Publi...

    A free Windows-compatible Operating System

PDF

  • pdfio pdfio 171
    star
    updated 28 days ago Apache License 2.0

    PDFio is a simple C library for reading and writing PDF files.

Profiling

  • codelite codelite 2,077
    star
    updated 30 days ago GNU General Publi...

    A multi purpose IDE specialized in C/C++/Rust/Python/PHP and Node.js. Written in C++

  • updated over 5 years ago Apache License 2.0

    ANSI C API for OpenTracing

  • sanitizers sanitizers 10,999
    star
    updated 23 days ago Other

    AddressSanitizer, ThreadSanitizer, MemorySanitizer

Regex

  • frozen frozen 691
    star
    updated 7 months ago Other

    JSON parser and generator for C/C++ with scanf/printf like interface. Targeting embedded systems.

  • mjson mjson 395
    star
    updated 3 months ago MIT License

    C/C++ JSON parser, emitter, JSON-RPC engine for embedded systems

  • mongoose mongoose 10,814
    star
    updated 16 days ago Other

    Embedded Web Server

  • Onigmo Onigmo 611
    star
    updated about 2 months ago Other

    Onigmo is a regular expressions library forked from Oniguruma.

  • oniguruma oniguruma 2,227
    star
    updated about 1 month ago Other

    regular expression library

  • slre slre 520
    star
    updated over 3 years ago Other

    Super Light Regexp engine for C/C++

  • updated over 1 year ago The Unlicense

    Small portable regex in C

  • tre tre 728
    star
    updated 11 months ago Other

    The approximate regex matching library and agrep command line tool.

Security

  • hashcat hashcat 19,980
    star
    updated 3 months ago

    World's fastest and most advanced password recovery utility

  • mimikatz mimikatz 18,894
    star
    updated 3 months ago

    A little tool to play with Windows security

Serialization

  • binn binn 441
    star
    updated 5 months ago Apache License 2.0

    Binary Serialization

  • updated over 1 year ago MIT License

    C library/compiler for the Cap'n Proto serialization/RPC protocol

  • cmp cmp 332
    star
    updated 3 months ago MIT License

    An implementation of the MessagePack serialization format in C / msgpack.org[C]

  • czmq czmq 1,110
    star
    updated 8 months ago Mozilla Public Li...

    High-level C binding for ØMQ

  • updated about 8 years ago Other

    C++ wrapper for czmq. Aims to be minimal, simple and consistent.

  • flatcc flatcc 597
    star
    updated 8 months ago Apache License 2.0

    FlatBuffers Compiler and Library in C for C

  • hiredis hiredis 6,127
    star
    updated about 2 months ago BSD 3-Clause "New...

    Minimalistic C client for Redis >= 1.2

  • libzmq libzmq 8,996
    star
    updated 8 months ago Mozilla Public Li...

    ZeroMQ core engine in C++, implements ZMTP/3.1

  • updated over 2 years ago Mozilla Public Li...

    The ZeroMQ Enterprise Messaging Broker

  • mpack mpack 522
    star
    updated over 1 year ago MIT License

    MPack - A C encoder/decoder for the MessagePack serialization format / msgpack.org[C]

  • updated 4 months ago MIT License

    Google Protocol Buffers tools (C code generator).

  • updated about 2 months ago Other

    Protocol Buffers implementation in C

  • thrift thrift 9,900
    star
    updated 11 months ago Apache License 2.0

    Apache Thrift

  • tpl tpl 364
    star
    updated over 3 years ago Other

    tpl - a small binary serialization library for C

Source Code Collections

  • ceph ceph 13,380
    star
    updated about 2 months ago Other

    Ceph is a distributed object, block, and file storage platform

  • clib clib 4,748
    star
    updated 4 months ago MIT License

    Package manager for the C programming language.

  • CMake CMake 5,967
    star
    updated 11 months ago Other

    Mirror of CMake upstream repository

  • curl curl 31,356
    star
    updated 10 months ago Other

    A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. libcurl offers a myriad of powerful features

  • FFmpeg FFmpeg 43,470
    star
    updated about 1 month ago Other

    Mirror of https://git.ffmpeg.org/ffmpeg.git

  • git git 50,533
    star
    updated about 2 months ago Other

    Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documentation/SubmittingPatches procedure for any of your improvements.

  • httpd httpd 3,441
    star
    updated 2 months ago Apache License 2.0

    Mirror of Apache HTTP Server. Issues: http://issues.apache.org

  • libgit2 libgit2 9,208
    star
    updated 9 months ago Other

    A cross-platform, linkable library implementation of Git that you can use in your application.

  • linux linux 164,055
    star
    updated 6 months ago Other

    Linux kernel source tree

  • mongo mongo 25,790
    star
    updated 18 days ago Other

    The MongoDB Database

  • updated 14 days ago Apache License 2.0

    The Official MongoDB driver for C language

  • nginx nginx 20,527
    star
    updated about 2 months ago

    An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html

  • opencv opencv 71,438
    star
    updated 10 months ago Apache License 2.0

    Open Source Computer Vision Library

  • updated 10 months ago Apache License 2.0

    Repository for OpenCV's extra modules

  • openssl openssl 24,625
    star
    updated about 2 months ago Apache License 2.0

    TLS/SSL and crypto library

  • par par 858
    star
    updated almost 2 years ago

    single-file C libraries from Philip Allan Rideout

  • redis redis 65,743
    star
    updated 5 days ago Other

    Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.

  • updated over 2 years ago

    (Hopefully) useful code snippets and header-only libs

  • zpl zpl 967
    star
    updated 11 months ago Other

    📐 Pushing the boundaries of simplicity

Standard Libraries

  • updated almost 4 years ago BSD 2-Clause "Sim...

    CloudABI's standard C library

  • curl curl 31,356
    star
    updated 10 months ago Other

    A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. libcurl offers a myriad of powerful features

  • libexpat libexpat 1,004
    star
    updated 2 months ago MIT License

    🌿 Fast streaming XML parser written in C99 with >90% test coverage; moved from SourceForge to GitHub

  • libffi libffi 3,067
    star
    updated 3 months ago Other

    A portable foreign-function interface library.

  • pdclib pdclib 211
    star
    updated about 2 months ago Creative Commons ...

    The Public Domain C Library

  • updated almost 5 years ago

Streaming

  • obs-studio obs-studio 57,645
    star
    updated 9 days ago GNU General Publi...

    OBS Studio - Free and open source software for live streaming and screen recording

String Manipulation

  • updated about 5 years ago BSD 3-Clause "New...

    A fork of Paul Hsieh's Better String Library

  • clib clib 4,748
    star
    updated 4 months ago MIT License

    Package manager for the C programming language.

  • icu icu 2,111
    star
    updated 11 months ago Other

    The home of the ICU project source code.

  • updated almost 2 years ago MIT License

    Levenshtein algorithm in C

  • updated almost 3 years ago Other

    UTF-8 rope library for C

  • sds sds 4,649
    star
    updated 10 months ago BSD 2-Clause "Sim...

    Simple Dynamic Strings library for C

  • updated about 4 years ago MIT License

    Porter Stemmer algorithm in C

  • str str 280
    star
    updated 9 months ago BSD 3-Clause "New...

    str: yet another string library for C language.

  • utf8.h utf8.h 1,634
    star
    updated 6 months ago The Unlicense

    📚 single header utf8 string functions for C and C++

Structured File Processing

  • updated about 1 month ago Apache License 2.0

    The FastPFOR C++ library: Fast integer compression

  • updated about 1 year ago Apache License 2.0

    C++ library to pack and unpack vectors of integers having a small range of values using a technique called Frame of Reference

  • updated 11 months ago BSD 3-Clause "New...

    A simple C library for compressing lists of integers using binary packing

  • updated 4 months ago Apache License 2.0

    Fast integer compression in C using the StreamVByte codec

Template Libraries

  • ctl ctl 1,075
    star
    updated over 2 years ago MIT License

    The C Template Library

  • libsodium libsodium 11,977
    star
    updated 2 months ago Other

    A modern, portable, easy to use crypto library.

  • stb stb 25,430
    star
    updated 2 months ago Other

    stb single-file public domain libraries for C/C++

Testing

  • Catch2 Catch2 18,261
    star
    updated 19 days ago Boost Software Li...

    A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)

  • cgreen cgreen 173
    star
    updated 4 months ago ISC License

    A modern, portable, cross-language unit testing and mocking framework for C and C++

  • updated about 1 year ago MIT License

    Tiny unit test framework for C and C++, post-modern, single header, auto register, xml report, TDD

  • Criterion Criterion 1,940
    star
    updated 3 months ago MIT License

    A cross-platform C and C++ unit testing framework for the 21st century

  • ctest ctest 221
    star
    updated 3 months ago Apache License 2.0

    ctest is a unit test framework for software written in C.

  • googletest googletest 33,292
    star
    updated about 2 months ago BSD 3-Clause "New...

    GoogleTest - Google Testing and Mocking Framework

  • greatest greatest 1,458
    star
    updated about 1 year ago ISC License

    A C testing library in 1 file. No dependencies, no dynamic allocation. ISC licensed.

  • updated over 3 years ago zlib License

    tiny unit testing framework for ANSI C

  • munit munit 553
    star
    updated 3 months ago Other

    µnit is a small testing framework for C

  • nala nala 69
    star
    updated about 2 years ago MIT License

    🦁 Nala - A delightful test framework for C projects.

  • rexo rexo 27
    star
    updated 8 months ago The Unlicense

    Neat single-file cross-platform unit testing framework for C/C++.

  • tau tau 148
    star
    updated 3 months ago MIT License

    A Micro (1k lines of code) Unit Test Framework for C/C++

  • theft theft 599
    star
    updated over 3 years ago ISC License

    property-based testing for C: generate input to find obscure bugs, then reduce to minimal failing input

  • Unity Unity 3,759
    star
    updated 3 months ago MIT License

    Simple Unit Testing for C

  • utest utest 38
    star
    updated about 7 years ago The Unlicense

    An ultra-lightweight, micro unit test framework for C99 presented as a single-header

Text Editor Extensions

  • flycheck flycheck 2,373
    star
    updated 4 months ago GNU General Publi...

    On the fly syntax checking for GNU Emacs

  • neomake neomake 2,655
    star
    updated 4 months ago MIT License

    Asynchronous linting and make framework for Neovim/Vim

  • syntastic syntastic 11,303
    star
    updated about 2 years ago Do What The F*ck ...

    Syntax checking hacks for vim

  • updated about 1 month ago Apache License 2.0

    A code-searching tool similar to ack, but faster.

  • updated 2 months ago GNU General Publi...

    A code-completion engine for Vim

Tools

  • c c 2,054
    star
    updated 10 months ago MIT License

    Compile and execute C "scripts" in one go!

  • c99sh c99sh 105
    star
    updated about 2 years ago BSD 2-Clause "Sim...

    A shebang-friendly script for "interpreting" single C99, C11, and C++ files, including rcfile support.

  • FFmpeg FFmpeg 43,470
    star
    updated about 1 month ago Other

    Mirror of https://git.ffmpeg.org/ffmpeg.git

  • git git 50,533
    star
    updated about 2 months ago Other

    Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documentation/SubmittingPatches procedure for any of your improvements.

  • htop htop 5,971
    star
    updated 2 months ago GNU General Publi...

    htop - an interactive process viewer

  • incbin incbin 918
    star
    updated 7 months ago The Unlicense

    Include binary files in C/C++

  • updated 12 days ago Other

    A tool for use with clang to analyze #includes in C and C++ source files

  • updated 2 months ago GNU Lesser Genera...

    A cross-platform protocol library to communicate with iOS devices

  • libssh2 libssh2 1,265
    star
    updated 3 months ago BSD 3-Clause "New...

    the SSH library

  • libusb libusb 5,002
    star
    updated 3 months ago GNU Lesser Genera...

    A cross-platform library to access USB devices

  • libuv libuv 23,457
    star
    updated about 2 months ago MIT License

    Cross-platform asynchronous I/O

  • nmap nmap 8,645
    star
    updated 8 months ago Other

    Nmap - the Network Mapper. Github mirror of official SVN repository.

  • radare2 radare2 19,900
    star
    updated about 1 month ago GNU Lesser Genera...

    UNIX-like reverse engineering framework and command-line toolset

  • sanitizers sanitizers 10,999
    star
    updated 23 days ago Other

    AddressSanitizer, ThreadSanitizer, MemorySanitizer

  • smack smack 416
    star
    updated 10 months ago Other

    SMACK Software Verifier and Verification Toolchain

  • strace strace 2,139
    star
    updated 21 days ago Other

    strace is a diagnostic, debugging and instructional userspace utility for Linux

  • stuffz stuffz 584
    star
    updated over 1 year ago

    Basically a script thrift shop

  • tmux tmux 33,480
    star
    updated about 2 months ago Other

    tmux source code

  • unicorn unicorn 6,750
    star
    updated 9 months ago GNU General Publi...

    Unicorn CPU emulator framework (ARM, AArch64, M68K, Mips, Sparc, PowerPC, RiscV, S390x, TriCore, X86)

  • VTK VTK 2,250
    star
    updated 11 months ago Other

    Mirror of Visualization Toolkit repository

  • wireshark wireshark 5,998
    star
    updated 10 months ago GNU General Publi...

    Read-only mirror of Wireshark's Git repository at https://gitlab.com/wireshark/wireshark. ⚠️ GitHub won't let us disable pull requests. ⚠️ THEY WILL BE IGNORED HERE ⚠️ Upload them at GitLab instead.

Utilities

  • updated 11 months ago MIT License

    Command-line arguments parsing library.

  • aria2 aria2 34,246
    star
    updated 26 days ago GNU General Publi...

    aria2 is a lightweight multi-protocol & multi-source, cross platform download utility operated in command-line. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent and Metalink.

  • updated almost 4 years ago GNU Lesser Genera...

    C Application Framework

  • updated 6 months ago Other

    CommonMark spec, with reference implementations in C and JavaScript

  • updated 19 days ago ISC License

    build-once run-anywhere c library

  • updated about 1 month ago Apache License 2.0

    A cross platform C99 library to get cpu features at runtime.

  • updated about 1 year ago MIT License

    Algebraic data types for C99

  • dlx dlx 50
    star
    updated over 2 years ago GNU General Publi...

    Library that solves the exact cover problem using Dancing Links, also known as DLX.

  • updated 2 months ago MIT License

    C-code generator for docopt language.

  • htop htop 5,971
    star
    updated 2 months ago GNU General Publi...

    htop - an interactive process viewer

  • irssi irssi 2,823
    star
    updated about 1 month ago Other

    The client of the future

  • updated 3 months ago Other

    A CoAP (RFC 7252) implementation in C

  • updated about 5 years ago BSD 3-Clause "New...

    A pure C implementation of the Geohash algorithm.

  • updated 2 months ago GNU Lesser Genera...

    A cross-platform protocol library to communicate with iOS devices

  • libnfc libnfc 1,637
    star
    updated 26 days ago GNU Lesser Genera...

    Platform independent Near Field Communication (NFC) library

  • libpostal libpostal 3,802
    star
    updated 11 months ago MIT License

    A C library for parsing/normalizing street addresses around the world. Powered by statistical NLP and open geo data.

  • updated about 1 month ago MIT No Attribution

    Your friendly e-mail address validation library.

  • updated 9 months ago MIT License

    An implementation of XDG Base Directory Specification

  • linenoise linenoise 3,348
    star
    updated 11 months ago BSD 2-Clause "Sim...

    A small self-contained alternative to readline and libedit

  • updated about 1 year ago MIT License

    Full-blown preprocessor metaprogramming

  • updated 6 months ago Other

    libcurses and dependencies taken from netbsd and brought into a portable shape (at least to musl or glibc)

  • obj.h obj.h 103
    star
    updated about 2 years ago MIT License

    🚀 OOP in pure C with a single-header

  • parg parg 179
    star
    updated 9 months ago MIT No Attribution

    Parser for argv that works similarly to getopt

  • pbc pbc 1,607
    star
    updated over 1 year ago MIT License

    A protocol buffers library for C

  • updated about 1 year ago BSD 3-Clause "New...

    An easy-to-use C library for displaying text progress bars.

  • updated about 1 year ago Apache License 2.0

    Cross-platform C/C++ library for creating text-based user interfaces (TUI) and console-based games

  • sort sort 457
    star
    updated 5 months ago MIT License

    Sorting routine implementations in "template" C

  • termbox termbox 1,951
    star
    updated almost 4 years ago MIT License

    Library for writing text-based user interfaces

  • tinyexpr tinyexpr 1,405
    star
    updated 9 months ago zlib License

    tiny recursive descent expression parser, compiler, and evaluation engine for math expressions

  • tm tm 39
    star
    updated 7 months ago MIT License

    timers and timeline

  • WAFer WAFer 691
    star
    updated over 6 years ago GNU General Publi...

    WAFer is a C language-based software platform for scalable server-side and networking applications. Think node.js for C programmers.

  • updated about 1 year ago MIT License

    Locate the current running executable and the current running module/library on the file system 🔎

  • updated 2 months ago MIT License

    Fast Microsoft Excel's *.xlsx reader

  • zproto zproto 228
    star
    updated over 2 years ago MIT License

    A protocol framework for ZeroMQ

Web Frameworks

  • civetweb civetweb 2,759
    star
    updated 15 days ago Other

    Embedded C/C++ web server

  • updated 3 months ago MIT License

    A Discord API wrapper library made in C

  • facil.io facil.io 2,027
    star
    updated 3 months ago MIT License

    Your high performance web application C framework

  • h2o h2o 10,782
    star
    updated 13 days ago MIT License

    H2O - the optimized HTTP/1, HTTP/2, HTTP/3 server

  • jansson jansson 3,024
    star
    updated 17 days ago Other

    C library for encoding, decoding and manipulating JSON data

  • kcgi kcgi 268
    star
    updated 4 months ago ISC License

    minimal CGI and FastCGI library for C/C++

  • klone klone 147
    star
    updated over 9 years ago Other

    KLone is a fully-featured, multiplatform, web application development framework, targeted especially for embedded systems and appliances.

  • mjson mjson 395
    star
    updated 3 months ago MIT License

    C/C++ JSON parser, emitter, JSON-RPC engine for embedded systems

  • updated 7 months ago Other

    Mongoose OS - an IoT Firmware Development Framework. Supported microcontrollers: ESP32, ESP8266, CC3220, CC3200, STM32F4, STM32L4, STM32F7. Amazon AWS IoT, Microsoft Azure, Google IoT Core integrated. Code in C or JavaScript.

Windows Environments

  • updated about 1 year ago MIT License

    WDF makes it easy to write high-quality Windows drivers

  • updated 25 days ago Microsoft Public ...

    This repo contains driver samples prepared for use with Microsoft Visual Studio and the Windows Driver Kit (WDK). It contains both Universal Windows Driver and desktop-only driver samples.

  • updated over 1 year ago MIT License

    Official code samples repository for Windows 10 Internet of Things (IoT)

XML

  • libexpat libexpat 1,004
    star
    updated 2 months ago MIT License

    🌿 Fast streaming XML parser written in C99 with >90% test coverage; moved from SourceForge to GitHub

  • xml xml 9
    star
    updated 3 months ago MIT License

    🔋 In-place lightweight XML parser

YAML

  • updated 11 months ago MIT License

    Canonical source repository for LibYAML