didip/tollbooth
Simple middleware to rate-limit HTTP requests. observed · 2026-08-28
Health v2 · maintenance only
33/100
- Activity 1
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4126
- days_rel: n/a
- days_push: 598
- n_releases_24m: 0
Adoption not part of the score
2854 stars · 207 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Tollbooth is a Go middleware library for rate-limiting HTTP requests. It supports limiting by remote IP, path, HTTP methods, custom headers, and basic auth usernames, and integrates with standard Go routers.
Use cases
- rate limit http requests in go
- protect api from too many requests
- throttle requests by ip address
- add rate limiting middleware to go http server
- limit requests per second per client
- prevent api abuse in go web app
When to choose
- you need simple, focused HTTP rate limiting in a Go application
- you want to rate-limit by IP, path, method, headers, or basic auth username
- you need a library that works with standard net/http routers and middleware chains
When to avoid
- you need distributed rate limiting across multiple instances backed by a shared store like Redis
- you need rate limiting outside of Go or for non-HTTP protocols
- you need advanced quota or billing features beyond simple throttling
Facets
library · maturity stable
rate-limiting middleware http-server web-development backend apis security go windows cross-platform http-middleware throttling token-bucket api-protection linux macos
1 source
- readme: https://github.com/didip/tollbooth · fetched 2026-08-28 · f7e398b90f01
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| didip/tollbooth | main | 33 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem