{"id":13480664,"url":"https://github.com/gozfree/gear-lib","last_synced_at":"2025-04-11T06:17:16.858Z","repository":{"id":36061040,"uuid":"40359871","full_name":"gozfree/gear-lib","owner":"gozfree","description":"Gear-Lib, C library for IOT Embedded Multimedia and Network","archived":false,"fork":false,"pushed_at":"2024-08-08T02:50:27.000Z","size":5778,"stargazers_count":3142,"open_issues_count":29,"forks_count":859,"subscribers_count":221,"default_branch":"master","last_synced_at":"2025-04-11T06:17:10.811Z","etag":null,"topics":["async","embedded-c","event","iot","ipc","multi-media","posix","rtmp","rtsp","thread","v4l2"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gozfree.png","metadata":{"files":{"readme":"README.cn.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-08-07T12:41:05.000Z","updated_at":"2025-04-09T02:27:29.000Z","dependencies_parsed_at":"2022-08-08T13:01:09.083Z","dependency_job_id":"0a59d88d-1d4c-403a-9108-5721e0667249","html_url":"https://github.com/gozfree/gear-lib","commit_stats":null,"previous_names":["gozfree/libraries"],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gozfree%2Fgear-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gozfree%2Fgear-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gozfree%2Fgear-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gozfree%2Fgear-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gozfree","download_url":"https://codeload.github.com/gozfree/gear-lib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248351394,"owners_count":21089272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","embedded-c","event","iot","ipc","multi-media","posix","rtmp","rtsp","thread","v4l2"],"created_at":"2024-07-31T17:00:43.363Z","updated_at":"2025-04-11T06:17:16.839Z","avatar_url":"https://github.com/gozfree.png","language":"C","readme":"# Gear-Lib\n\n[English](README.md) | 简体中文\n\n[![Build](https://travis-ci.org/gozfree/gear-lib.svg?branch=master)](https://travis-ci.org/gozfree/gear-lib)\n[![Release](https://img.shields.io/github/release/gozfree/gear-lib.svg)](https://github.com/gozfree/gear-lib/releases)\n[![License](https://img.shields.io/github/license/gozfree/gear-lib.svg)](https://github.com/gozfree/gear-lib/blob/master/LICENSE.MIT)\n\n这是一组通用的Ｃ基础库\n* 全部用POSIX C实现，目标是为了跨平台兼容linux, windows, android, ios.\n* 适用于物联网，嵌入式，以及网络服务开发等场景\n\n![struct](./build/gear-lib.png)\n\n## 数据结构\n|  |  |\n|--|--|\n| libdict: 哈希字典 | libhash: linux内核原生哈希库 |\n| libringbuffer: 循环缓冲 | libqueue: 数据队列 |\n| librbtree: 内核rbtree | libsort: |\n| libvector: 容器库 | libdarray: 动态数组 |\n\n## 网络库\n|  |  |\n|--|--|\n| librtsp: RTSP协议，适合IPCamera和NVR开发 | librtmpc: RTMP协议，适合推流直播 |\n| libsock: Socket封装 | librpc: 远程过程调用库 |\n| libipc: 进程间通信 | libp2p: p2p穿透传输 |\n| libmqttc: MQTT客户端协议 | libhomekit: Apple homekit协议库 |\n\n## 异步\n|  |  |\n|--|--|\n| libgevent: 事件驱动 | libthread: 线程 |\n| libworkq: 工作队列 | |\n\n## I/O\n|  |  |\n|--|--|\n| libstrex: 字符扩展 | libconfig: 配置文件库 |\n| liblog: 日志库 | libfile: 文件操作库 |\n| libsubmask: 网络地址翻译 | |\n\n## 多媒体\n|  |  |\n|--|--|\n| libavcap: 音频视频捕获库 | libmp4: MP4录制解析库 |\n| libjpeg-ex: | libmedia-io: 音频视频格式定义 |\n\n## 系统抽象层\n|  |  |\n|--|--|\n| libposix: windows/rtos/ios平台posix适配库 |\n\n## 其他\n|  |  |\n|--|--|\n| libdebug: 调试辅助库 | libhal: 硬件抽象层 |\n| libplugin: 动态加载库 | libtime: 时间库 |\n| libfsm: 有限状态机 | |\n\n## 编译方法\n详细请参考[INSTALL.md](https://github.com/gozfree/gear-lib/blob/master/INSTALL.md)\n\n## License\n详细请参考[LICENSE](https://github.com/gozfree/gear-lib/blob/master/LICENSE.MIT)\n\n## 联系交流\n* 邮箱: gozfree@163.com\n* QQ 群: 695515645\n* Github: [gear-lib](https://github.com/gozfree/gear-lib)\n* 码云主页: [gear-lib](https://gitee.com/gozfreee/gear-lib)\n","funding_links":[],"categories":["C","Miscellaneous","Frameworks","C/C++ 程序设计","CLI Utilities"],"sub_categories":["网络服务_其他"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgozfree%2Fgear-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgozfree%2Fgear-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgozfree%2Fgear-lib/lists"}