# krisleech/wisper

A micro library providing Ruby objects with Publish-Subscribe capabilities

Repository: https://github.com/krisleech/wisper
Canonical: https://ross.abutalabs.com/products/wisper
Language: Ruby
License Family: other
Topics: ruby, events, publish-subscribe, pubsub
Last push: 2024-08-15T15:29:18+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4905, "days_push": 748, "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 3331, forks 154 (observed 2026-08-28T04:07:56.635040+00:00)

## What it is
Wisper is a micro library that adds Publish-Subscribe (pub/sub) capabilities to plain Ruby objects. Objects including the Wisper::Publisher module can broadcast events to subscribed listeners, synchronously or asynchronously, without depending on Rails.

## Use cases
- decouple business logic from external concerns in Ruby applications
- replace ActiveRecord callbacks and observers in Rails apps
- broadcast domain events from service objects
- subscribe listeners to object events at runtime
- publish events asynchronously in Ruby
- build hexagonal architecture in Ruby

## When to choose
- you want lightweight pub/sub in Ruby without a message broker dependency
- you need to decouple service objects from side effects like notifications
- you want an alternative to ActiveRecord callbacks and observers
- you need runtime, context-based subscription of listeners

## When to avoid
- you need durable, cross-process event delivery or a real message queue
- you are starting a greenfield app and prefer its successor libraries like WisperNext or Ma
- you need event sourcing with persistence and replay

## Facets
- artifact type: library
- maturity: stable
- function: middleware, message-queue, developer-tools
- domain: backend, web-development, developer-tools
- platform: ruby
- tags: publish-subscribe, event-bus, decoupling, hexagonal-architecture, activerecord-callbacks-alternative

## Member repositories
- krisleech/wisper (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:56.635040+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:41:42.698463+00:00, confidence not recorded.
  - readme: https://github.com/krisleech/wisper (fetched 2026-08-28T04:07:56.635040+00:00, sha 6bee13f203c3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
