# gozfree/gear-lib

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

Repository: https://github.com/gozfree/gear-lib
Canonical: https://ross.abutalabs.com/products/gear-lib
Language: C
License: MIT
License Family: permissive
Topics: posix, ipc, event, v4l2, async, thread, rtsp, rtmp, iot, embedded-c, multi-media
Last push: 2024-08-08T02:50:27+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4044, "days_push": 755, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3223, forks 868 (observed 2026-08-28T04:07:49.858191+00:00)

## What it is
Gear-Lib is a collection of POSIX C libraries for IoT, embedded, and network service development, covering data structures, networking protocols (RTSP, RTMP, MQTT, RPC, IPC), async event handling, multimedia capture, and OS abstraction. It aims for portability across Linux, Windows, Android, and iOS.

## Use cases
- build an RTSP server for an IP camera or NVR
- stream live video over RTMP from an embedded device
- add inter-process communication with mqueue, netlink, or shared memory in C
- capture audio/video via V4L2 or UVC on Linux
- use kernel-style data structures like hash tables, rbtree, and ring buffers in C
- implement a reactor-style event loop without libevent
- port POSIX code to Windows or RTOS with an OS abstraction layer
- add MQTT client connectivity to an IoT device

## When to choose
- you are developing IoT or embedded software in C on POSIX systems
- you need lightweight, reusable C building blocks for networking, IPC, or multimedia
- you want cross-platform C code targeting Linux, Windows, Android, and iOS
- you need RTSP/RTMP/MQTT protocol implementations without heavy dependencies

## When to avoid
- you are working in a higher-level language like Python, Go, or Rust
- you need a fully maintained, actively released product with long-term support guarantees
- you require modern C++ or feature-rich frameworks rather than minimal C libraries
- your project targets platforms outside the POSIX-compatible set it supports

## Facets
- artifact type: library
- maturity: active
- function: networking, concurrency, rpc, logging, video-processing, audio-processing, plugin-system, serialization, file-system, configuration-management
- domain: iot, embedded-systems, networking, media, developer-tools, cross-platform
- platform: windows, c, embedded, cross-platform
- tags: posix-c, rtsp, rtmp, mqtt, v4l2, ipc, event-loop, data-structures, multimedia, os-abstraction, linux, android, ios

## Member repositories
- gozfree/gear-lib (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:49.858191+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:44:18.718694+00:00, confidence not recorded.
  - readme: https://github.com/gozfree/gear-lib (fetched 2026-08-28T04:07:49.858191+00:00, sha 64b4224fa44d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
