# benoitc/hackney

simple HTTP client in Erlang

Repository: https://github.com/benoitc/hackney
Canonical: https://ross.abutalabs.com/products/hackney
Language: Erlang
License: NOASSERTION
License Family: other
Topics: http, client, erlang
Last push: 2026-08-12T05:53:49+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 97, longevity 100
- inputs: {"age_days": 5175, "days_push": 21, "days_rel": 21, "gap_med": 1.0, "n_releases_24m": 39}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1417, forks 453 (observed 2026-08-28T04:04:40.022684+00:00)

## What it is
hackney is an HTTP client library for Erlang supporting HTTP/1.1, HTTP/2, and experimental HTTP/3, with connection pooling, streaming, async responses, and WebSocket/WebTransport clients. It runs each connection in its own process for isolation and includes SSL verification by default.

## Use cases
- make HTTP requests from Erlang or Elixir
- stream large file uploads and downloads without loading into memory
- pool and reuse HTTP connections for high-throughput services
- consume WebSocket APIs from the BEAM
- call HTTP/2 or HTTP/3 endpoints with protocol negotiation
- fetch responses asynchronously as messages

## When to choose
- you need a battle-tested HTTP client on Erlang/Elixir with pooling and streaming
- you want HTTP/2 multiplexing or to experiment with HTTP/3 on the BEAM
- you need WebSocket or WebTransport client support in Erlang

## When to avoid
- you need a simple script-friendly client in Elixir where Finch or Req may be more idiomatic
- you require guaranteed production HTTP/3 support, which is still experimental
- you are outside the BEAM ecosystem

## Facets
- artifact type: library
- maturity: active
- function: http-client, websocket
- domain: web-development, backend, networking, apis
- platform: elixir, cross-platform, serverless
- tags: http2, http3, quic, connection-pooling, streaming, webtransport, elixir-compatible

## Member repositories
- benoitc/hackney (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:40.022684+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-30T04:38:00.859163+00:00, confidence not recorded.
  - readme: https://github.com/benoitc/hackney (fetched 2026-08-28T04:04:40.022684+00:00, sha 74e3a7e11667)
- Data as of 2026-08-30T08:39:29.467469+00:00.
