Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributerelic

Lightweight web server framework inspired by Shelf, with typed APIs and a high‑performance native Zig adapter.

pub.devRemove
shelf_web_socket

Shelf handler that upgrades HTTP to WebSocket and provides a WebSocketChannel per connection.

pub.devRemove
ScoresHealth91 (best)80
Maintenance98 (best)54
Quality97100 (best)
Popularity8694 (best)
Community8080
Compatibility8585
UsageDownloads (30 days)237k14M (best)
Likes121158 (best)
Pub points160 / 160160 / 160
GitHub stars1461k (best)
MaintenanceLatest release2.0.0, 9 days ago (best)3.0.0, 2 years ago
Major versions in 12 months10 (best)
Contributors1460 (best)
Publisherserverpod.devtools.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies2 (best)3
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Typed headers and request parsing
  • High performance, especially with relic_native
  • Easy migration from Shelf
  • Built‑in WebSocket and static file support
  • Easy integration with existing Shelf middleware
  • Type-safe callback signature
  • Supports pingInterval and protocol negotiation
  • No additional dependencies beyond shelf and web_socket_channel
Weaknesses
  • Requires Dart 3.10 or newer
  • Only server‑side, no client utilities
  • Limited ecosystem compared to Shelf
  • Breaking change in 3.0.0 requires callback signature update
  • Limited to Shelf; not a full-featured WebSocket server framework
  • No built-in authentication or routing for WebSocket paths
WarningsNone
  • Quiet but busy
relic vs shelf_web_socket: which Flutter package should you use? | pubscout