yhirose/cpp-httplib
A C++ header-only HTTP/HTTPS server and client library observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 86
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 7.0
- age_days: 5094
- days_rel: 19
- days_push: 7
- n_releases_24m: 61
Adoption not part of the score
16780 stars · 2743 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A C++11 single-file header-only HTTP/HTTPS server and client library supporting HTTP/1.1 with SSL/TLS via OpenSSL, MbedTLS, or wolfSSL. It also offers Server-Sent Events and WebSocket support with a simple blocking-socket API.
Use cases
- embed an http server in a c++ application
- make http requests from c++ without heavy dependencies
- add a simple rest api to a native app
- serve https with tls in c++
- single-header http library for c++
When to choose
- you want a drop-in single header with no build system changes
- you need both client and server in one lightweight library
- you only need HTTP/1.1 and blocking I/O is acceptable
When to avoid
- you need HTTP/2 or HTTP/3
- you need non-blocking or asynchronous socket I/O
- you target 32-bit platforms
Facets
library · maturity active
http-server http-client websocket web-development backend apis cpp cross-platform header-only http-1-1 ssl-tls server-sent-events
2 sources
- readme: https://github.com/yhirose/cpp-httplib · fetched 2026-08-28 · 69345fa73f46
- homepage: https://yhirose.github.io/cpp-httplib/ · fetched 2026-08-29 · 19e26e1132fd
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| yhirose/cpp-httplib | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="yhirose/cpp-httplib")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem