ithewei/libhv
🔥 比libevent/libuv/asio更易用的网络库。A c/c++ network library for developing TCP/UDP/SSL/HTTP/WebSocket/MQTT/Redis client/server. observed · 2026-08-28
Health v2 · maintenance only
72/100
- Activity 99
- Release rhythm 21
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2927
- days_rel: 312
- days_push: 9
- n_releases_24m: 1
Adoption not part of the score
7539 stars · 1362 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
libhv is a cross-platform C/C++ network library providing an event loop with non-blocking IO and timers, similar to libevent/libuv but with a simpler API and richer built-in protocols. It supports TCP/UDP/SSL client and server development plus HTTP, WebSocket, MQTT, and Redis clients/servers.
Use cases
- build a high-performance HTTP server in C++
- write a WebSocket client or server in C
- develop TCP/UDP client and server applications with an event loop
- create an MQTT client for IoT devices
- make HTTP requests from C++ like curl or python requests
- build a RESTful API service with routing and middleware
- implement a reverse or forward proxy server
When to choose
- you want a simpler API than libevent/libuv/asio for network programming
- you need multiple protocols (HTTP, WebSocket, MQTT, Redis) in one lightweight C/C++ library
- you need cross-platform support including mobile (Android/iOS)
- you are building IoT or embedded network services in C/C++
When to avoid
- you are working in a higher-level language like Python, Go, or Node.js
- you need an extremely battle-tested ecosystem with large community support like libuv or asio
- you only need a full-featured production web server rather than a library to build one
- you need HTTP/3 or QUIC support
Facets
library · maturity active
http-client http-server websocket networking rpc middleware routing caching networking backend web-development iot developer-tools cross-platform windows cross-platform c cpp event-loop tcp udp ssl mqtt redis-client kcp epoll iocp nonblocking-io libuv-alternative linux macos android ios
2 sources
- readme: https://github.com/ithewei/libhv · fetched 2026-08-28 · 22b6553e28ce
- homepage: https://github.com/ithewei/libhv/wiki · fetched 2026-08-29 · e7f26ae1b62a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ithewei/libhv | main | 72 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem