go-chi/chi
lightweight, idiomatic and composable router for building Go HTTP services observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 98
- Release rhythm 86
- 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: 58.5
- age_days: 3975
- days_rel: 13
- days_push: 13
- n_releases_24m: 9
Adoption not part of the score
22737 stars · 1147 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
chi is a lightweight, idiomatic HTTP router for Go that is 100% compatible with net/http and built around the context package. It supports composable middleware, route groups, and sub-router mounting, making it well suited for large REST API services.
Use cases
- build a REST API in Go
- route HTTP requests with middleware in Go
- replace gorilla/mux with a maintained stdlib-compatible router
- structure a large Go microservice with sub-routers
- generate route documentation from Go source
- add request timeouts and logging middleware to Go HTTP services
When to choose
- you want a fast, minimal router with zero external dependencies
- you need full net/http compatibility to reuse ecosystem middleware
- you are building large, maintainable REST APIs in Go
When to avoid
- you need a full web framework with templating, ORM, or validation built in
- you prefer a batteries-included framework like Gin or Echo
- you need GraphQL or gRPC routing rather than REST
Facets
library · maturity stable
routing middleware http-server api-framework web-development backend apis microservices go windows cross-platform http-router rest-api net-http stdlib-compatible zero-dependencies linux macos
2 sources
- readme: https://github.com/go-chi/chi · fetched 2026-08-28 · cc44af23b21e
- homepage: https://go-chi.io · fetched 2026-08-29 · cc0677eb431e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| go-chi/chi | main | 94 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem