julienschmidt/httprouter
A high performance HTTP request router that scales well observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4654
- days_rel: n/a
- days_push: 772
- n_releases_24m: 0
Adoption not part of the score
17126 stars · 1464 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
HttpRouter is a lightweight, high-performance HTTP request router (mux) for Go that supports path variables and method matching using a compressing radix tree. It is optimized for speed and low memory footprint, with zero-garbage matching and automatic path correction.
Use cases
- route http requests in a go web service
- handle url path parameters in go
- replace net/http servemux with a faster router
- build a high performance rest api in go
- redirect trailing slashes and fix url paths automatically
- route large numbers of endpoints efficiently
When to choose
- you need a fast, minimal router with path parameters in Go
- you want zero-allocation request dispatching for latency-sensitive services
- you have many routes or long paths and need efficient matching
When to avoid
- you need a full web framework with middleware, templating, or validation built in
- you want wildcard or regex-based route matching with flexible priority rules
- you prefer the standard library's http.ServeMux for maximal compatibility
Facets
library · maturity stable
routing http-server middleware web-development backend apis performance go windows cross-platform http-router mux radix-tree zero-allocation path-parameters linux macos
4 sources
- readme: https://github.com/julienschmidt/httprouter · fetched 2026-08-28 · f0814e6516e3
- homepage: https://pkg.go.dev/github.com/julienschmidt/httprouter · fetched 2026-08-29 · 6ecfcec1a5ca
- site_page: https://pkg.go.dev/about · fetched 2026-08-29 · 757852027879
- site_page: https://go.dev/project · fetched 2026-08-29 · d5ca00bb378b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| julienschmidt/httprouter | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="julienschmidt/httprouter")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem