Go chi by go-chi

lightweight, idiomatic and composable router for building Go HTTP services

httproutercontextmiddlewareapirest-apimicroservicesgolanggo
Verdict 70/100 health $4.13/mo cheapest, hetzner 2/5 setup difficulty Last release 3 months ago

Self-host Go chi on hetzner CAX11 for $4.13/mo.

Health score
70 /100
6-dim composite
Self-hosts from
$4.13 /mo
hetzner · CAX11
Difficulty
2 /5
Docker + read README
GitHub stars
22k
1.1k forks

About Go chi

From the project's README at github.com/go-chi/chi. Lightly cleaned for readability; for the full source see the upstream repo.

is a lightweight, idiomatic and composable router for building Go HTTP services. It's especially good at helping you write large REST API services that are kept maintainable as your project grows and changes. is built on the new package introduced in Go 1.7 to handle signaling, cancelation and request-scoped values across a handler chain.

The focus of the project has been to seek out an elegant and comfortable design for writing REST API servers, written during the development of the Pressly API service that powers our public API service, which in turn powers all of our client-side applications.

The key considerations of chi's design are: project structure, maintainability, standard http handlers (stdlib-only), developer productivity, and deconstructing a large system into many small parts. The core router is quite small (less than 1000 LOC), but we've also included some useful/optional subpackages: middleware, render and docgen. We hope you enjoy it too! Install Features

Lightweight - cloc'd in ~1000 LOC for the chi router Fast - yes, see benchmarks 100% compatible with net/http** - use any http or middleware pkg in the ecosystem that

Health score breakdown

6-dimension composite. See methodology for formula and weights.

activity
44
maturity
100
community
85
security
85
sustainability
88
adoption
38

Adoption signals

Real-world usage data, pulled from each registry. The bigger the numbers, the more battle-tested the project.

SignalValueSource
GitHub stars 22k github.com/go-chi/chi
GitHub forks 1.1k github.com/go-chi/chi

Release & maintenance

Is this project actively maintained, or about to die? Check the recency of last commit and last release.

Project age10.6 yearssince Oct 2015
Last commit3 months agoFeb 19, 2026
Releases shipped45last: 3 months ago
Security policySECURITY.mddeclared by maintainers
Funding links1declared by maintainers

Self-hosting cost across providers

Detected requirements: 4GB RAM, 40GB disk minimum. Cheapest plan per provider that meets the requirement.

ProviderPlanSpecsMonthly
hetzner CAX11 2c · 4GB · 40GB $4.13 USD Deploy →
vultr VC2 1c · 1GB · 25GB $5 USD Deploy →
linode Nanode 1GB 1c · 1GB · 25GB $5.12 USD Deploy →
digitalocean Basic Regular 1GB 1c · 1GB · 25GB $6 USD Deploy →

What people say on Hacker News

Ready to self-host Go chi?

Spin up a hetzner CAX11 (4GB RAM, 40GB disk) for $4.13/mo and follow the project's official install docs.

Data last refreshed May 7, 2026.

Similar open-source projects

Projects in our directory that replace the same SaaS or share topics with Go chi.

Frequently asked questions

Last verified . Data refreshes every 30 minutes.