# karlseguin/http.zig

An HTTP/1.1 server for zig

Repository: https://github.com/karlseguin/http.zig
Canonical: https://ross.abutalabs.com/products/httpzig
Language: Zig
License: MIT
License Family: permissive
Topics: http-server, zig, zig-library, zig-package
Last push: 2026-08-26T10:44:59+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 90
- inputs: {"age_days": 1269, "days_push": 7, "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 1591, forks 127 (observed 2026-08-28T04:05:08.636211+00:00)

## What it is
http.zig is an HTTP/1.1 server library written in Zig, providing routing, middleware, WebSockets, and server-sent events. It is designed as a fast, lightweight alternative for building web services in Zig.

## Use cases
- build an http server in zig
- serve a json rest api with zig
- add websocket support to a zig backend
- handle server-sent events in zig
- route http requests with path parameters in zig
- write middleware for a zig web server

## When to choose
- you are building an HTTP/1.1 web service or API in Zig
- you want a lightweight, fast server with routing and middleware built in
- you need WebSocket or SSE support in a Zig application

## When to avoid
- you need HTTP/2 or TLS handled by the library itself
- you are not using Zig or are pinned to an older Zig version without a matching branch
- you need a fully batteries-included web framework with ORM and templating

## Facets
- artifact type: library
- maturity: active
- function: http-server, routing, middleware, websocket
- domain: web-development, backend, apis
- platform: cross-platform, windows
- tags: http1, zig-library, server-sent-events, arena-allocator, zig, linux, macos

## Member repositories
- karlseguin/http.zig (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:08.636211+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-30T03:54:44.724512+00:00, confidence not recorded.
  - readme: https://github.com/karlseguin/http.zig (fetched 2026-08-28T04:05:08.636211+00:00, sha 6c2cafa5ff08)
- Data as of 2026-08-30T08:39:29.467469+00:00.
