AltHub

go-chi/chi Alternatives

Go HTTP router / REST API routing

chi is a lightweight, idiomatic, composable HTTP router for Go that is built on net/http and primarily targets REST APIs.

22.7kGoMITactive · last push 2mo agoGitHub

Same job, different approach

Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.

karldoenitz/TigoGitHub

Choose if you want a Tornado-style all-in-one web framework in Go with a different API, but with a smaller community.

Tigo is an HTTP web framework written in Go (Golang).It features a Tornado-like API with better performance. Tigo是一款用Go语言开发的web应用框架,API特性类似于Tornado并且拥有比Tornado更好的性能。

2.2k
Go
MIT
active4mo ago
devfeel/dotwebGitHub

Choose for a minimal micro-framework for simple HTTP services if you don't need chi's middleware ecosystem.

Simple and easy go web micro framework

1.4k
Go
MIT
active3mo ago
gin-gonic/ginGitHub

Choose when you want an all-in-one web framework with built-in binding, validation, and a large ecosystem, accepting a framework-specific context API.

Gin is a high-performance HTTP web framework written in Go. It provides a Martini-like API but with significantly better performance—up to 40 times faster—thanks to httprouter. Gin is designed for building REST APIs, web applications, and microservices.

89.1k
Go
MIT
active2mo ago
labstack/echoGitHub

Choose when you want a minimalist but full-featured web framework with structured routing and built-in middleware, if happy with vendor-specific handlers.

High performance, minimalist Go web framework

32.7k
Go
MIT
active2mo ago
teambition/gearGitHub

Choose if you want a lightweight composable web service framework with a framework-style API and do not require large community support.

A lightweight, composable and high performance web service framework for Go.

543
Go
MIT
active3mo ago

Older generation, or narrower

An earlier or more limited way to do the job. Still the right call when you need something small, proven, or CPU-only.

gorilla/muxGitHub

Choose for a mature, feature-rich stdlib-compatible router with route grouping and regex patterns, but note it is largely unmaintained.

Package gorilla/mux is a powerful HTTP router and URL matcher for building Go web servers with 🦍

21.8k
Go
BSD-3-Clause
dormant2.2y ago
julienschmidt/httprouterGitHub

Choose when raw routing performance and a simple radix tree matter more than composable middleware, but expect no active maintenance.

A high performance HTTP request router that scales well

17.1k
Go
BSD-3-Clause
dormant2.2y ago

Listed as an alternative to

These projects were analysed and named chi among their alternatives. The relationship is not symmetric — how chi rates them is a separate judgement, made when chi is analysed in its own right.

labstack/echoGitHub

calls chi “choose when you want a lightweight stdlib-compatible router/middleware chain and prefer to assemble your own binding and validation rather than using Echo's batteries-included approach.”

High performance, minimalist Go web framework

32.7kGoactive
julienschmidt/httprouterGitHub

calls chi “choose when you want an idiomatic, composable Go router with middleware support and active maintenance; modern peer to httprouter.”

A high performance HTTP request router that scales well

17.1kGodormant
gin-gonic/ginGitHub

calls chi “Lighter, stdlib-centric router with composable middleware; choose when you prefer using net/http handlers directly.”

Gin is a high-performance HTTP web framework written in Go. It provides a Martini-like API but with significantly better performance—up to 40 times faster—thanks to httprouter. Gin is designed for building REST APIs, web applications, and microservices.

89.1kGoactive
cloudwego/hertzGitHub

calls chi “Choose chi when you want a lightweight, idiomatic router on net/http and are comfortable assembling your own middleware stack rather than adopting Hertz's integrated framework.”

Go HTTP framework with high-performance and strong-extensibility for building micro-services.

7.3kGoactive
gogf/gfGitHub

calls chi “choose if you only need a fast, idiomatic router and want to assemble your own stack without gf's extra modules.”

A powerful framework for faster, easier, and more efficient project development.

13.2kGoactive
seanmonstar/warpGitHub

calls chi “Choose when you need only composable routing/middleware on Go's net/http rather than warp's batteries-included framework.”

A super-easy, composable, web server framework for warp speeds.

10.4kRustactive