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

Best overall

jwtauth

Highest combined package health score.

95
Best maintained

jwtauth

Strongest maintenance signal in this category.

95
Most adopted

jwtauth

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

100

Ranked Packages

11 packages

#1 jwtauth

JWT authentication middleware for Go HTTP services

Go HTTP Routers 641 stars 697 imported-by 95% confidence
95

#2 Chi

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

Go HTTP Routers 22.3K stars 0 imported-by 45% confidence
88

#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 780 stars 141 imported-by 60% confidence
75

#6 lars

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

Go HTTP Routers 384 stars 66 imported-by 100% confidence
67

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

#8 rux

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

Go HTTP Routers 0 stars 17 imported-by 70% confidence
58

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

#10 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 55% confidence
45

#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
jwtauth 95 95 100 92 697
Chi 88 95 98 70 0
Gorilla Mux 80 38 100 92 99.5K
httprouter 80 38 100 92 27.4K
bunrouter 75 43 99 92 141
lars 67 8 93 92 66
ngamux 67 75 33 92 31
rux 58 63 28 70 17
pure 49 15 40 92 92
v5 45 45 5 70 0
lura 41 15 7 92 0

Related Comparisons

Go HTTP Routers

Gorilla Mux vs httprouter

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

80

jwtauth vs Gorilla Mux

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

95

jwtauth vs httprouter

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

95