# chi

> Lightweight, composable HTTP router for Go services built on net/http

Source: https://talira.ai/catalog/chi-95y6xdkd
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Framework
- Categories: [frameworks / web / backend](https://talira.ai/categories/frameworks/web/backend), [languages / go](https://talira.ai/categories/languages/go)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [go-chi](https://talira.ai/orgs/go-chi.md)

chi is a small router for building HTTP services in Go, made for large REST APIs that stay maintainable as they grow. It is fully compatible with net/http, so any standard handler or middleware works with it, and it is built on the context package for request-scoped values, cancellation and timeouts. The core router is about 1,000 lines with no dependencies outside the standard library; optional packages add middleware, response rendering and route documentation generation.

## Links

- Website: https://go-chi.io/
- GitHub: https://github.com/go-chi/chi
- Docs: https://go-chi.io/

## Problems it solves

- route HTTP requests in a Go REST API without a heavy framework
- organise a growing Go API into route groups and sub-routers
- add middleware to Go handlers that stays compatible with net/http

## Features

- Route groups, inline middleware and mounting sub-routers
- Works with any net/http handler or middleware
- Request context for values, cancellation and timeouts
- Optional middleware package (logging, request IDs, recovery and more)
- docgen generates routing docs as JSON or Markdown
- No dependencies beyond the Go standard library

## Trust

Overall: 0.63 out of 1.
Signals: maintenance 0.72, adoption 0.87, momentum 0.68, community 0.91, backing 0.30, extensibility 0.00.

- last commit 22 days ago
- 18 commits in the last 90 days
- latest release v5.5.0 46 days ago
- 23.2k GitHub stars
- 185 contributors
- accepts sponsorship (Github)
- backed by go-chi

## Alternatives

- [Gin](https://talira.ai/catalog/gin-zd6z62pc.md): The fastest full-featured HTTP web framework for Go
- [go-restful](https://talira.ai/catalog/go-restful-cvjvx8yk.md): Lean Go package for building REST-style web services
- [Echo](https://talira.ai/catalog/echo-fjssmnnn.md): High performance, minimalist Go web framework
- [Fiber](https://talira.ai/catalog/fiber-ha55596g.md): Express inspired web framework written in Go
- [go-zero](https://talira.ai/catalog/go-zero-18jnhjpx.md): A cloud-native Go microservices framework with a code generation CLI
- [Iris](https://talira.ai/catalog/iris-qveva698.md): Web framework for Go whose builder makes out-of-order setup a compile error

## Sources

[^1]: https://github.com/go-chi/chi/blob/master/LICENSE (checked 27 Nov 2026)
