Automated ranking

Best Go HTTP Routers

Compare go http routers by maintenance, adoption, security, release activity, and Go ecosystem usage. Top packages in this group include Chi, Gorilla Mux, ngamux.

Best overall

Chi

Highest combined package health score.

92
Best maintained

Chi

Strongest maintenance signal in this category.

95
Most adopted

Chi

Highest adoption signal from stars, forks, and imported-by data.

100

Ranked Packages

11 packages

#1 Chi

Package chi is a small, idiomatic and composable router for building HTTP services.

Go HTTP Routers 22.3K stars 17.3K imported-by 90% confidence
92

#2 Gorilla Mux

Package mux implements a request router and dispatcher.

Go HTTP Routers 21.8K stars 99.5K imported-by 100% confidence
80

#3 ngamux

Package ngamux is simple HTTP router for Go that compatible with net/http, the standard library to serve HTTP.

Go HTTP Routers 0 stars 31 imported-by 80% confidence
67

#4 v5

Package ship has implemented a flexible, powerful, high performance and minimalist Go Web HTTP router framework, which is inspired by echo and httprouter.

Go HTTP Routers 0 stars 51 imported-by 75% confidence
62

#5 httprouter

Package httprouter is a trie based high performance HTTP request router.

Go HTTP Routers 0 stars 27.4K imported-by 80% confidence
61

#6 lars

Package lars - Library Access/Retrieval System, is a fast radix-tree based, zero allocation, HTTP router for Go.

Go HTTP Routers 0 stars 66 imported-by 80% confidence
49

#7 pure

:non-potable_water: Is a lightweight HTTP router that sticks to the std "net/http" implementation

Go HTTP Routers 0 stars 92 imported-by 80% confidence
49

#8 rux

Package rux is a simple and fast request router for golang HTTP applications.

Go HTTP Routers 0 stars 0 imported-by 45% confidence
45

#9 vestigo

Package vestigo implements a performant, stand-alone, HTTP compliant URL Router for go web applications.

Go HTTP Routers 0 stars 0 imported-by 25% confidence
44

#10 bunrouter

Golang HTTP router

Go HTTP Routers 0 stars 0 imported-by 55% confidence
43

#11 lura

Ultra performant API Gateway with middlewares. A project hosted at The Linux Foundation

Go HTTP Routers 0 stars 0 imported-by 80% confidence
41

Comparison Matrix

score dimensions
Package Health Maintenance Adoption Security Imported by
Chi 92 95 100 70 17.3K
Gorilla Mux 80 38 100 92 99.5K
ngamux 67 75 33 92 31
v5 62 63 29 92 51
httprouter 61 15 82 92 27.4K
lars 49 15 38 92 66
pure 49 15 40 92 92
rux 45 48 7 70 0
vestigo 44 48 7 70 0
bunrouter 43 45 5 70 0
lura 41 15 7 92 0

Related Comparisons

Go HTTP Routers

Chi vs Gorilla Mux

Compare health, maintenance, adoption, security, and release signals.

92

Gorilla Mux vs httprouter

Compare health, maintenance, adoption, security, and release signals.

80

Chi vs httprouter

Compare health, maintenance, adoption, security, and release signals.

92