What problem does it solve?
Sockethub provides a unified gateway that lets web applications talk to a variety of protocols (IRC, XMPP, RSS/Atom) using a single ActivityStreams-based API, removing the need to implement per-protocol adapters in client code.
Core Features & Use Cases
- Protocol bridging: Translate ActivityStreams messages to IRC, XMPP, and feeds for real-time cross-protocol apps.
- Platform isolation: Each protocol runs in its own process, ensuring stability and security.
- Session-scoped credentials: Encrypted credential storage per client session for secure connections.
- Extensible architecture: Add new platforms (dummy, feeds, etc.) via a pluggable module system.
- Use Case: Build a browser chat client that connects to IRC, subscribes to RSS/Atom feeds, and exchanges messages over a single ActivityStreams API.
Quick Start
Install dependencies and start the server:
- Run
bun install to install dependencies.
- Start Redis locally (e.g.,
docker run -d -p 6379:6379 redis).
- Launch the server with Redis:
bun run dev or production bun run build + bun run start.