C Library

Open-source C projects categorized as Library

Top 23 C Library Projects

  • GitHub repo libcurl

    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 and TFTP. libcurl offers a myriad of powerful features

    Project mention: Experiments with h3 clients + Envoy | dev.to | 2021-04-12

    curl/curl compiled with cloudflare/quiche + BoringSSL

  • GitHub repo libgit2

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

    Project mention: alternative to auto.crlf on windows | dev.to | 2021-04-01

    Here we create a file .gitattributes file and commit it to the team repo. Example libgit2 Repo (cross platform)

  • GitHub repo lwan

    Experimental, scalable, high performance HTTP server

    Project mention: C Deep | dev.to | 2021-02-27

    lwan - Experimental, scalable, high-performance HTTP server. GPL-2.0-only

  • GitHub repo Klib

    A standalone and lightweight C library

    Project mention: Type-safe generic data structures in C | news.ycombinator.com | 2021-04-08

    This is in fact a pretty common pattern in production code.

    Here's an entire suit of type safe generic data structures in C: https://github.com/attractivechaos/klib

  • GitHub repo cute_headers

    Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games

    Project mention: Looking for code only game engine | reddit.com/r/gameenginedevs | 2021-03-29

    single header libraries (https://github.com/nothings/stb , https://github.com/RandyGaul/cute_headers , etc) can do some of the heavy lifting. I use stb for OGG and PNG decoding, also true type support, and maybe a few other things.

  • GitHub repo Collections-C

    A library of generic data structures.

    Project mention: After doing most of my programming stuff with Java, I can safely say that other programming languages suck | reddit.com/r/javahelp | 2021-01-26

    Yes, Java has a pretty large "standard library" and you can use "functionalities like ArrayLists" out of the box. Java also has a lot of very good third party libraries to choose from and that's something where C also shines. So of course you can use "functionalities like ArrayLists" very quickly, if you are experienced and know good C libraries. If you google "C collections" (without the quotes) for example, https://github.com/srdja/Collections-C pops up and of course it has dynamic arrays.

  • GitHub repo usbmuxd

    A socket daemon to multiplex connections from and to iOS devices

    Project mention: Are there any Linux apps that can transfer media (such as mp3 and audio books) from my computer to my Apple device? | reddit.com/r/linuxquestions | 2021-03-31


  • GitHub repo zlib-ng

    zlib replacement with optimizations for "next generation" systems.

    Project mention: Release 2.0.0 - First stable release · zlib-ng/zlib-ng | reddit.com/r/programming | 2021-03-19
  • GitHub repo libssh2

    the SSH library

    Project mention: GPU-accelerated cross-platform terminal emulator and multiplexer written in Rust | news.ycombinator.com | 2021-03-30

    it uses libssh2; agent authentication is supported, but libssh2 doesn't currently support agent forwarding: https://github.com/libssh2/libssh2/issues/535

  • GitHub repo libvncserver

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

    Project mention: Remmina client fails to connect to vnc server, server mentions Client needs protocol version 3.8 | reddit.com/r/Remmina | 2021-03-02
  • GitHub repo libgphoto2

    The libgphoto2 camera access and control library.

    Project mention: All, I have some questions reference cameras for Deeps Sky. | reddit.com/r/AskAstrophotography | 2020-12-26
  • GitHub repo TurboPFor

    Fastest Integer Compression

    Project mention: C Deep | dev.to | 2021-02-27

    TurboPFor - Fastest integer compression. GPL-2.0-or-later

  • GitHub repo go-libtor

    Self-contained Tor from Go

    Project mention: Create Tor hidden service using only python or nodeJS | reddit.com/r/TOR | 2021-01-30

    I don't know about python or node, but there is this project (https://github.com/ipsn/go-libtor) that is a fully Golang library for interacting with Tor without the tor daemon from the OS repos. Golang has python and NodeJS bindings so you could use a Golang program as a the glue code between the python/node pieces and Tor.

  • GitHub repo i-use-arch-btw

    "I use Arch btw" but it's a Turing-complete programming language.

    Project mention: Happened to me twice... | reddit.com/r/linuxmemes | 2021-03-27

    There is a writing form of the programming language brainfuck, called i use arch btw. Github-Link: https://github.com/OverMighty/i-use-arch-btw

  • GitHub repo whereami

    Locate the current executable and the current module/library on the file system (by gpakosz)

    Project mention: `whereami` uses WiFi signals & ML to locate you (within 2-10 meters) | reddit.com/r/programming | 2021-03-08

    For a moment I was really confused, because https://github.com/gpakosz/whereami

  • GitHub repo libirecovery

    Library and utility to talk to iBoot/iBSS via USB on Mac OS X, Windows, and Linux

    Project mention: [Tutorial] Updating an A12 device to 14.3 with futurerestore on Windows | reddit.com/r/jailbreak | 2021-02-24

    IMPORTANT NOTE: if FR exits before the restore begins, your device may get stuck in recovery mode. FR's built in "--exit-recovery" option doesn't work, so in order to get out, you have to use "irecovery -n"

  • GitHub repo libwacom

    libwacom is a tablet description library

    Project mention: Linux On Yoga 9i Or Ideapad Slim 9i | reddit.com/r/Lenovo | 2021-02-27

    So update on my experince in case anyone is looking to use linux on this laptop. Everything works pretty much out of the box now including rotation, rotation keyboard and trackpad lock, touchscreen, thunderbolt, touchpad fully works, keyboard fully woks, battery and temps you need to do a little tweaking there no manual fan controll support yet though, and finaly the stylus also works, but you might need to add a discripter file (take a look here https://github.com/linuxwacom/libwacom/issues/355)

  • GitHub repo npf

    NPF: packet filter with stateful inspection, NAT, IP sets, etc.

    Project mention: Setting Up A Jenkins Server On NetBSD | dev.to | 2020-10-04

    Configure some basic firewall rules for NPF to block all incoming traffic except SSH, HTTP and HTTPS. Note that the network interface here may be different:

  • GitHub repo Mhook

    A Windows API hooking library

  • GitHub repo libmodule

    C simple and elegant implementation of an actor library

  • GitHub repo alsa-lib

    The Advanced Linux Sound Architecture (ALSA) - library

    Project mention: Usb Headphones How To Fix No Sound Crackling Sound | reddit.com/r/Ubuntu | 2021-01-12

    Unfortunately no, but i think it's because of an alsa driver. I've reported the bug on github. The issue is apparently related to this one : https://github.com/alsa-project/alsa-lib/issues/90. The only thing I can do is waiting until it's fixed, since i don't have the skills to help.

  • GitHub repo zint

    A barcode encoding library supporting over 50 symbologies including Code 128, Data Matrix, USPS OneCode, EAN-128, UPC/EAN, ITF, QR Code, Code 16k, PDF417, MicroPDF417, LOGMARS, Maxicode, GS1 DataBar, Aztec, Composite Symbols and more.

    Project mention: Symbology.js - generate 50+ types of 1D or 2D Barcode in png, svg, or eps formats | reddit.com/r/javascript | 2021-04-05

    Full credit is due to Robin Stuart for making zint, which is the C++ lib that does the actual rendering. I only created the js wrapper for it.

  • GitHub repo libconfini

    Yet another INI parser

    Project mention: If a linux/unix was rewritten today, what would be different? | reddit.com/r/linux | 2021-01-04
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 2021-04-12.


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

Project Stars
1 libcurl 20,115
2 libgit2 7,839
3 lwan 5,393
4 Klib 3,235
5 cute_headers 2,963
6 Collections-C 2,199
7 usbmuxd 854
8 zlib-ng 836
9 libssh2 751
10 libvncserver 703
11 libgphoto2 645
12 TurboPFor 521
13 go-libtor 377
14 i-use-arch-btw 278
15 whereami 273
16 libirecovery 254
17 libwacom 172
18 npf 160
19 Mhook 123
20 libmodule 118
21 alsa-lib 117
22 zint 54
23 libconfini 54