http4s/http4s
A minimal, idiomatic Scala interface for HTTP observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 99
- Release rhythm 80
- 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: 42.5
- age_days: 5287
- days_rel: 58
- days_push: 10
- n_releases_24m: 9
Adoption not part of the score
2626 stars · 814 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Http4s is a minimal, idiomatic Scala library for building HTTP servers and clients, serving as Scala's equivalent to Rack, WSGI, WAI, and Servlets. It favors typeful, purely functional programming built on cats-effect and FS2 streaming, and cross-builds for Scala.js and Scala Native.
Use cases
- build http services in scala
- serve rest apis with functional scala
- make http client requests from scala
- stream large payloads over http in constant memory
- implement websockets in scala
- share http code across jvm, js, and native
When to choose
- you want a type-safe, purely functional http stack in Scala
- you already use cats-effect, fs2, or the Typelevel ecosystem
- you need streaming request/response bodies or websockets
- you want to cross-compile http code to Scala.js or Scala Native
When to avoid
- you prefer imperative or non-functional Scala http frameworks
- you need a batteries-included full-stack framework rather than a minimal http interface
- your team is unfamiliar with cats-effect and effect systems
Facets
library · maturity stable
http-server http-client web-framework middleware routing websocket streaming web-development backend apis jvm cross-platform scala cats-effect fs2 typelevel functional-http scalajs scala-native functional-programming web-server
3 sources
- readme: https://github.com/http4s/http4s · fetched 2026-08-28 · 65fa6dd40f63
- homepage: https://http4s.org/ · fetched 2026-08-29 · 8c9ff6221101
- site_page: https://http4s.org/changelog.html · fetched 2026-08-29 · 44828aa8deb8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| http4s/http4s | main | 93 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem