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, lura, Gorilla Mux.

Best overall

Chi

Highest combined package health score.

97
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.2K stars 17.3K imported-by 100% confidence
97

#2 lura

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

Go HTTP Routers 6.8K stars 0 imported-by 100% confidence
93

#3 Gorilla Mux

Package mux implements a request router and dispatcher.

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

#4 httprouter

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

Go HTTP Routers 17.1K stars 27.4K imported-by 100% confidence
80

#5 bunrouter

Golang HTTP router

Go HTTP Routers 781 stars 141 imported-by 95% confidence
78

#6 rux

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

Go HTTP Routers 0 stars 17 imported-by 80% confidence
62

#7 vestigo

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

Go HTTP Routers 0 stars 126 imported-by 80% confidence
50

#8 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

#9 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 0 imported-by 25% confidence
44

#10 pure

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

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

#11 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 0 imported-by 20% confidence
43

Comparison Matrix

score dimensions
Package Health Maintenance Adoption Security Imported by
Chi 97 95 100 92 17.3K
lura 93 95 94 92 0
Gorilla Mux 80 38 100 92 99.5K
httprouter 80 38 100 92 27.4K
bunrouter 78 45 99 92 141
rux 62 63 28 92 17
vestigo 50 15 43 92 126
lars 49 15 38 92 66
ngamux 44 48 7 70 0
pure 44 48 7 70 0
v5 43 48 5 70 0

Related Comparisons

Go HTTP Routers

Chi vs Gorilla Mux

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

97

Gorilla Mux vs httprouter

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

80

Gorilla Mux vs bunrouter

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

80

httprouter vs bunrouter

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

80

lura vs Gorilla Mux

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

93

Chi vs httprouter

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

97

lura vs httprouter

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

93

Chi vs lura

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

97