# faye/faye

Simple pub/sub messaging for the web

Repository: https://github.com/faye/faye
Canonical: https://ross.abutalabs.com/products/faye
Homepage: http://faye.jcoglan.com
Language: JavaScript
License: NOASSERTION
License Family: other
Last push: 2025-06-17T14:32:36+00:00

## Health v2 (maintenance only)
Score: 44/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 27, release rhythm 35, longevity 100
- inputs: {"age_days": 6297, "days_push": 442, "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 4385, forks 369 (observed 2026-08-28T04:08:47.109488+00:00)

## What it is
Faye is a publish-subscribe messaging library based on the Bayeux protocol, providing message servers for Node.js and Rack (Ruby) applications plus clients for browsers and servers. It enables simple real-time message routing between web clients over WebSocket and HTTP transports.

## Use cases
- send real-time notifications to web browsers
- build a chat application with pub/sub channels
- push live updates from server to clients
- implement comet-style messaging over websocket
- subscribe and publish messages between browser and Node.js server

## When to choose
- you need simple pub/sub messaging between web clients and servers
- you want a mature Bayeux protocol implementation for Node.js or Ruby
- you need browser and server clients from the same library

## When to avoid
- you need a full-featured message broker like RabbitMQ or Kafka
- you want modern alternatives like Socket.IO with richer ecosystem
- you need guaranteed message delivery or persistence

## Facets
- artifact type: library
- maturity: maintenance
- function: message-queue, websocket, http-server, rpc
- domain: web-development, microservices
- platform: browser, cross-platform
- tags: pubsub, bayeux-protocol, comet, real-time-messaging, messaging, real-time, nodejs, web-server

## Member repositories
- faye/faye (main) score 44

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:47.109488+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-29T18:21:15.575521+00:00, confidence not recorded.
  - readme: https://github.com/faye/faye (fetched 2026-08-28T04:08:47.109488+00:00, sha 409d378b53fd)
  - homepage: http://faye.jcoglan.com (fetched 2026-08-29T09:09:40.389588+00:00, sha cc8eb615e9ae)
  - registry_npm: https://registry.npmjs.org/faye (fetched 2026-08-29T09:09:40.417014+00:00, sha 9ae8d2dc1038)
- Data as of 2026-08-30T08:39:29.467469+00:00.
