github.com/uptrace/bunrouter

bunrouter

Golang HTTP router

78

Decision Signals

Health score 78/100, confidence 95/100.

Strong
Maintenance 45
Adoption 99
Security 92
Maturity 94
Developer DX 75
Confidence 95

Install

go get github.com/uptrace/bunrouter

Package Data

updated May 28, 2026
Latest versionv1.0.23
Imported by141 packages
Stars781
Forks42
Last activity1 years ago
Latest releaseUnknown
LicenseMIT
Known vuln records0

API Surface

89 symbols
SymbolKindSynopsis
CompatGroup Type type CompatGroup struct{}
CompatGroup.DELETE Method func (g CompatGroup) DELETE(path string, handler http.HandlerFunc)
CompatGroup.GET Method func (g CompatGroup) GET(path string, handler http.HandlerFunc)
CompatGroup.HEAD Method func (g CompatGroup) HEAD(path string, handler http.HandlerFunc)
CompatGroup.Handle Method func (g CompatGroup) Handle(method string, path string, handler http.HandlerFunc)
CompatGroup.NewGroup Method func (g CompatGroup) NewGroup(path string, opts ...GroupOption) *CompatGroup
CompatGroup.OPTIONS Method func (g CompatGroup) OPTIONS(path string, handler http.HandlerFunc)
CompatGroup.PATCH Method func (g CompatGroup) PATCH(path string, handler http.HandlerFunc)
CompatGroup.POST Method func (g CompatGroup) POST(path string, handler http.HandlerFunc)
CompatGroup.PUT Method func (g CompatGroup) PUT(path string, handler http.HandlerFunc)
CompatGroup.WithGroup Method func (g CompatGroup) WithGroup(path string, fn func(g *CompatGroup))
CompatGroup.WithMiddleware Method func (g CompatGroup) WithMiddleware(middleware MiddlewareFunc) *CompatGroup

Maintained Alternatives

limited recent repository activity

#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

Similar Packages

Go HTTP Routers

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