Event-Driven Development, Simplified

SignalBus is a lightweight, local-first developer framework for structured signals and events. Connect processes, scripts, and applications on the same machine instantly without the overhead of HTTP APIs or message brokers.

SignalBus Demo

Features

Near-Instant Dispatching

Lightning-fast event routing for local processes with minimal latency and maximum efficiency.

Simple CLI Interface

Intuitive command-line tools for emitting, listening, and reacting to signals with minimal setup.

Pattern Matching

Subscribe using wildcards to handle dynamic or hierarchical topics like build.*, system.cpu.*, and more.

Token-Based Security

Fine-grained permissions with token management for secure multi-user environments and controlled access.

Signal History

Query recent signals with timestamps, sender info, and payload metadata for debugging and monitoring.

Rate Limiting

Prevent signal spam with configurable per-topic or per-sender emission limits for system stability.

Use Cases

Build Systems

build.started → build.completed → deploy.triggered

User Management

user.created → email.welcome → analytics.track

System Monitoring

system.cpu.high → alert.notify → scale.up

Development Workflows

test.failed → slack.notify → retry.build

Local Automation

Connect TUI or CLI tools with real-time event triggers for rapid automation.

Service Communication

Secure service-to-service messaging with controlled permissions and isolation.

Install SignalBus

Get started with SignalBus via Cargo (P.S: Read the documentation for more details on all the SignalBus commands)

cargo install signalbus
View Documentation

Note: SignalBus currently keeps all signal data in memory and clears it when the daemon stops. Optional persistence across restarts will be added later, allowing data and configurations to be retained between daemon sessions if desired.