gorilla/mux
Package gorilla/mux is a powerful HTTP router and URL matcher for building Go web servers with 🦍 observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5083
- days_rel: n/a
- days_push: 748
- n_releases_24m: 0
Adoption not part of the score
21838 stars · 1892 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
gorilla/mux is a powerful HTTP request router and URL matcher for Go web servers, implementing the standard http.Handler interface. It supports path variables with regex patterns, host/scheme/header/query matching, subrouters, middleware, and reverse URL building.
Use cases
- route http requests to handlers in a go web server
- match urls with path variables and regex patterns
- build rest apis with nested subrouters in go
- add middleware like cors or logging to go routes
- reverse-generate urls from registered routes
- serve single page applications from a go backend
When to choose
- you need flexible route matching beyond Go's standard http.ServeMux
- you want path variables, host matching, or custom matchers
- you need subrouters to group routes with shared conditions
- you want a mature, widely-adopted Go router compatible with net/http
When to avoid
- you only need simple path-based routing that http.ServeMux already covers
- you want a batteries-included web framework rather than just a router
- you need HTTP/2 routing features or strict net/http mux compatibility in newer Go versions
Facets
library · maturity stable
routing middleware http-server web-development backend apis go cross-platform http-router url-matcher gorilla-web-toolkit rest-api
2 sources
- readme: https://github.com/gorilla/mux · fetched 2026-08-28 · 2907bf28d7b9
- homepage: https://gorilla.github.io · fetched 2026-08-29 · aa93940b2bb1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| gorilla/mux | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem