# bmizerany/pat

Repository: https://github.com/bmizerany/pat
Canonical: https://ross.abutalabs.com/products/bmizerany-pat
Language: Go
License: MIT
License Family: permissive
Last push: 2022-06-28T12:19:41+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5334, "days_push": 1527, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1427, forks 115 (observed 2026-08-28T04:04:41.876550+00:00)

## What it is
pat is a Sinatra-style pattern muxer for Go's net/http library, allowing route registration with URL parameters like /hello/:name. It is a small, classic Go library that integrates with the standard http.ServeMux.

## Use cases
- route http requests by pattern in go
- extract url parameters in go http handlers
- sinatra-style routing for go web servers
- register restful get/post routes in go
- minimal http router without a full framework

## When to choose
- you want a tiny, dependency-free router on top of net/http
- you prefer Sinatra-style pattern matching with :param captures
- you need a legacy-compatible muxer for older Go codebases

## When to avoid
- you need advanced routing features like middleware, groups, or regex constraints
- you are starting a new project and can use modern routers or Go 1.22+ net/http pattern matching
- you need active development and frequent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: routing, web-framework, http-server
- domain: web-development, backend, apis
- platform: go, cross-platform
- tags: sinatra-style, pattern-muxer, net-http, url-parameters

## Member repositories
- bmizerany/pat (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:41.876550+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:37:21.596336+00:00, confidence not recorded.
  - readme: https://github.com/bmizerany/pat (fetched 2026-08-28T04:04:41.876550+00:00, sha 3543c73d6368)
- Data as of 2026-08-30T08:39:29.467469+00:00.
