dart-lang/shelf
Web server middleware for Dart observed · 2026-09-03
Health v2 · maintenance only
92/100
- Activity 100
- Release rhythm 78
- 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: 62
- age_days: 4275
- days_rel: 69
- days_push: 1
- n_releases_24m: 8
Adoption not part of the score
1005 stars · 139 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Shelf is Dart's official model for web server middleware, mapping server logic to simple Request-in/Response-out handler functions that can be composed via pipelines. It includes an ecosystem of packages for routing, static file serving, proxying, and testing.
Use cases
- build a web server in dart
- compose http middleware in dart
- serve static files with dart
- create a rest api backend in dart
- proxy http requests in dart
- add logging or auth middleware to a dart server
When to choose
- you're writing a Dart or Flutter backend and want a composable, minimal HTTP server model
- you need reusable middleware like logging, auth, or routing in Dart
- you want a Rack/Connect-style server abstraction with a rich package ecosystem
When to avoid
- you need a batteries-included full-stack framework with ORM and templating out of the box
- you're not using Dart/Flutter
- you need extreme raw performance from a lower-level server
Facets
framework · maturity stable
web-framework http-server middleware routing http-client web-development backend apis developer-tools cross-platform cli dart middleware http-server rack-inspired pub-package flutter-backend web-server
10 sources
- readme: https://github.com/dart-lang/shelf · fetched 2026-09-03 · 80aee942ddee
- homepage: https://pub.dev/packages/shelf · fetched 2026-08-29 · c8a9b30fced9
- site_page: https://pub.dev/packages/shelf/install · fetched 2026-08-29 · e346541f1417
- site_page: https://pub.dev/documentation/shelf/latest/shelf/Handler.html · fetched 2026-08-29 · 472548712061
- site_page: https://pub.dev/documentation/shelf/latest/shelf/Request-class.html · fetched 2026-08-29 · 4f75019b1153
- site_page: https://pub.dev/documentation/shelf/latest/shelf/Response-class.html · fetched 2026-08-29 · 42d7c2983296
- site_page: https://pub.dev/documentation/shelf/latest/shelf/Middleware.html · fetched 2026-08-29 · 7f2e120d527f
- site_page: https://pub.dev/documentation/shelf/latest/shelf/Pipeline-class.html · fetched 2026-08-29 · 90783139d4f1
- site_page: https://pub.dev/documentation/shelf/latest/shelf/Request/handlerPath.html · fetched 2026-08-29 · 39cbfe9992e4
- site_page: https://pub.dev/packages/shelf/changelog · fetched 2026-08-29 · 426cd6d9410f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dart-lang/shelf | main | 92 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem