chi is a lightweight, idiomatic and composable router for building Go HTTP services.
chi addresses the need for a minimal HTTP router that integrates seamlessly with Go's standard library patterns. Rather than imposing a heavy framework, it builds on top of Go's net/http package, allowing developers to write handlers that are compatible with the standard library while gaining routing capabilities. The router supports middleware composition, context-based request handling, and RESTful route patterns, enabling clean separation of concerns in HTTP service code.
Developers should choose chi when building microservices or APIs where simplicity and standards compliance matter more than an all-in-one framework. It suits projects that value idiomatic Go code and want to avoid vendor lock-in to a larger framework ecosystem. The tool works well for teams already comfortable with Go's net/http patterns and seeking to add routing without significant architectural changes.
The project maintains steady, focused development with regular updates addressing bug fixes and minor enhancements. Contributions are accepted and reviewed, indicating an active maintenance posture. The codebase remains lean and purposeful, avoiding feature creep that would compromise the lightweight philosophy stated in its core description.