GitPedia

Gear lib

Gear-Lib, C library for IOT Embedded Multimedia and Network

From gozfree·Updated June 22, 2026·View on GitHub·

This is a collection of basic libraries. * All are written in POSIX C, aim to used compatibility on linux, windows, android, ios. * Aim to reuse for IOT, embedded and network service development The project is written primarily in C, distributed under the MIT License license, first published in 2015. It has gained significant community traction with 3,207 stars and 870 forks on GitHub. Key topics include: async, embedded-c, event, iot, ipc.

Latest release: v1.1.19
September 21, 2021View Changelog →

Gear-Lib

English | 简体中文

Build
Release
License

This is a collection of basic libraries.

  • All are written in POSIX C, aim to used compatibility on linux, windows, android, ios.
  • Aim to reuse for IOT, embedded and network service development

struct

Data Struct

libdict: Hash key-value dictonary librarylibhash: Hash key-value library based on hlist from kernel
libringbuffer:libqueue: queue library, support memory hook
librbtree: comes from linux kernel rbtree.libsort:
libvector:libdarray: Dynamic array

Network

librtsp: Real Time Streaming Protocol server for ipcamera or NVRlibrtmpc: Real Time Messaging Protocol client for liveshow
libsock: socket warpper api for easily uselibrpc: Remote Procedure Call library
libipc: Inter-Process Communication, support mqueue/netlink/shmlibp2p: High level p2p punch hole library, easy API to use
libmqttc: MQTT client protocollibhomekit: Apple homekit protocol

Async

libgevent: Reactor event, like libeventlibthread: Thread wrapper
libworkq: Work queue in userspace

I/O

libstrex: string extensionlibconfig: Support ini/json
liblog: Support console/file/rsysloglibfile: File operations
libsubmask: ip addr transform

Multi-Media

libavcap: audio/video capture api (v4l2/uvc/esp32/dshow)libmp4: MP4 muxer and parser
libjpeg-ex:libmedia-io: audio/video frame/packet define

OS Abstraction Layer

libposix: posix adapter for Windows/rtos/ios

Misc

libdebug: Help to trace crash like gdblibhal: hardware Abstraction Layer
libplugin: Dynamic link pluginlibtime: Time wrapper
libfsm: Finite State Machine

How To Build

Please refer to INSTALL.md file for detailed information.

License

Please refer to the LICENSE file for detailed information.

Contacts

Contributors

Showing top 12 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from gozfree/gear-lib via the GitHub API.Last fetched: 6/22/2026