Replace Pusher and Ably with a single binary you control. Drop-in Pusher protocol compatibility. Works with Laravel, Node, Rails, and Django out of the box.
Features
A single binary that handles WebSocket connections, channel management, presence tracking, and authentication.
Runs on your own infrastructure. Full control over data, latency, and uptime. No third-party dependencies.
Official SDKs for Laravel, Node.js, Rails, and Django. Works with any language that can make HTTP requests.
Drop-in replacement. Existing Pusher apps switch with one config change. Same protocol, same client libraries.
One file. No runtime, no JVM, no Node. Download and run, or use Docker. Production-ready in seconds.
MIT licensed. Read every line of code. Contribute, fork, extend. No vendor lock-in, ever.
No per-message pricing. No connection limits. No surprise bills. Unlimited everything, forever.
Getting started
From zero to production-ready WebSockets in under five minutes.
A single Docker command. That's it.
Subscribe to channels and bind event handlers.
One HTTP call from any framework.
Integrations
Official SDKs for every major framework.
Comparison
See how Relay compares to hosted real-time services.
| Feature | Relay | Pusher | Ably |
|---|---|---|---|
| Self-hosted | ✓ | ✕ | ✕ |
| Open source | MIT | ✕ | ✕ |
| Free connections | Unlimited | 100 | 1,000 |
| Messages/day free | Unlimited | 200k | 6M |
| Channel history | ✓ Free | Paid | Paid |
| Webhooks | ✓ Free | Paid | Paid |
| Multi-app | ✓ Free | Paid | Paid |
| Laravel SDK | ✓ Official | ✓ | Community |
| Rails SDK | ✓ Official | ✓ | Community |
| Starting price | $0 | $49/mo | $29/mo |