# faye/faye-websocket-ruby

Standards-compliant WebSocket client and server

Repository: https://github.com/faye/faye-websocket-ruby
Canonical: https://ross.abutalabs.com/products/faye-websocket-ruby
Language: Ruby
License: NOASSERTION
License Family: other
Last push: 2025-05-25T17:47:27+00:00

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

## Adoption (not part of the score)
Stars 1059, forks 95 (observed 2026-08-28T04:03:25.498083+00:00)

## What it is
A Ruby library providing standards-compliant WebSocket client and server implementations, extracted from the Faye project. It integrates with Rack applications to handle WebSocket and EventSource (server-sent events) connections within existing web servers like Puma, Thin, and Passenger.

## Use cases
- add websocket support to a rack app
- build a websocket echo server in ruby
- handle server-sent events in ruby
- implement real-time push notifications over http
- write a websocket client in ruby
- stream live updates to browsers without websockets

## When to choose
- you need WebSocket or EventSource handling inside an existing Rack-based Ruby application
- you want a minimal, standards-compliant implementation without extra abstractions
- you use Puma, Thin, Passenger, Goliath, or any rack.hijack-compatible server

## When to avoid
- you need a standalone WebSocket server rather than Rack integration
- you use a Ruby web server that does not support rack.hijack
- you want a higher-level realtime framework with channels and reconnection built in

## Facets
- artifact type: library
- maturity: stable
- function: websocket, http-server, middleware
- domain: web-development, backend, apis
- platform: ruby
- tags: eventsource, server-sent-events, rack, real-time-messaging, real-time

## Member repositories
- faye/faye-websocket-ruby (main) score 43

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:25.498083+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-30T06:57:13.984911+00:00, confidence not recorded.
  - readme: https://github.com/faye/faye-websocket-ruby (fetched 2026-08-28T04:03:25.498083+00:00, sha 32cd153dc3d5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
