http4k/http4k
The Functional toolkit for Kotlin HTTP applications. http4k provides a simple and uniform way to serve, consume, and test HTTP services. observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 86
- Longevity 100
Flags: no_license
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: 3.0
- age_days: 3450
- days_rel: 14
- days_push: 9
- n_releases_24m: 141
Adoption not part of the score
2783 stars · 281 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
http4k is a lightweight, functional HTTP toolkit for Kotlin where applications are just functions from Request to Response, with no annotations, reflection, or containers. It spans 200+ modules covering servers, clients, routing, testing, serverless, WebSockets, and integrations, all released under a single versioned BOM.
Use cases
- build http apis in kotlin without a heavy framework
- test http endpoints in-memory without starting a server
- write a kotlin http server as a simple function
- swap server backends like undertow or jetty with one line
- deploy kotlin http apps to serverless platforms like aws lambda
- consume http services with a uniform kotlin client
- tdd-driven development of http services
- test ai/llm integrations offline with fakes
When to choose
- you want a typesafe, testable, functional approach to HTTP in Kotlin
- you value minimal dependencies, immutability, and no reflection magic
- you need in-memory testing of HTTP apps in milliseconds
- you want one consistent model for serving and consuming HTTP
When to avoid
- you prefer annotation-driven or DI-container frameworks like Spring
- your team is not comfortable with functional programming style
- you need a non-JVM platform, since http4k targets the JVM/Kotlin ecosystem
Facets
framework · maturity stable
web-framework http-server http-client routing middleware testing websocket templating api-framework web-development backend apis developer-tools testing jvm serverless cloud kotlin functional-programming server-as-a-function tdd immutability no-reflection openapi serverless llm-adapters supply-chain-security docker
9 sources
- readme: https://github.com/http4k/http4k · fetched 2026-08-28 · db04cf38402b
- homepage: https://http4k.org · fetched 2026-08-29 · c614bbe320cd
- site_page: https://www.http4k.org/quickstart · fetched 2026-08-29 · b6605ee90296
- site_page: https://http4k.org/quickstart · fetched 2026-08-29 · b6605ee90296
- site_page: https://www.http4k.org/learn · fetched 2026-08-29 · 02056f8c3f60
- site_page: https://www.http4k.org/faq · fetched 2026-08-29 · a6ef267b94f7
- site_page: https://www.http4k.org/ecosystem/changelog · fetched 2026-08-29 · 968af98f5743
- site_page: https://http4k.org/ecosystem · fetched 2026-08-29 · f5acb828dbfe
- site_page: https://http4k.org/company · fetched 2026-08-29 · 0efcb476de8c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| http4k/http4k | main | 95 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem