# lammertb/libhttp

Multi platform HTTP and HTTPS library

Repository: https://github.com/lammertb/libhttp
Canonical: https://ross.abutalabs.com/products/libhttp
Language: C
License: MIT
License Family: permissive
Last push: 2025-03-30T17:33:33+00:00

## Health v2 (maintenance only)
Score: 39/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 14, release rhythm 35, longevity 100
- inputs: {"age_days": 3629, "days_push": 521, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1029, forks 135 (observed 2026-08-28T04:03:17.644180+00:00)

## What it is
LibHTTP is a multi-platform C/C++ embeddable HTTP and HTTPS server library, forked from the Mongoose/CivetWeb family with an MIT license. It can be embedded in applications to add web server functionality or used as a standalone web server, with support for CGI, SSL/TLS, WebSockets, WebDAV, and digest authentication.

## Use cases
- embed an http server in a c application
- add https support to an existing program
- serve web content from an embedded device
- make http requests from c code
- add websocket client and server support in c
- standalone lightweight web server without installation

## When to choose
- you need an MIT-licensed embeddable web server in C/C++
- you want HTTPS, CGI, WebSockets, or WebDAV in a single lightweight library
- you need cross-platform support including mobile and embedded systems
- you want a Mongoose-style API without GPL or commercial licensing restrictions

## When to avoid
- you need a full-featured production web server like nginx or Apache
- you are building in a higher-level language with native HTTP frameworks
- you need HTTP/2 or HTTP/3 support
- you require async I/O at massive scale better served by event-driven frameworks like libuv

## Facets
- artifact type: library
- maturity: active
- function: http-server, http-client, websocket, auth, middleware
- domain: web-development, backend, developer-tools, cross-platform
- platform: windows, cross-platform, c, cpp
- tags: embeddable-web-server, https, ssl-tls, cgi, webdav, mongoose-fork, civetweb, ipv6, digest-auth, linux, macos, android, ios

## Member repositories
- lammertb/libhttp (main) score 39

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:17.644180+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-30T07:07:39.791363+00:00, confidence not recorded.
  - readme: https://github.com/lammertb/libhttp (fetched 2026-08-28T04:03:17.644180+00:00, sha 9656d389ae7a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
