AnyCable logo

AnyCable

High-performance realtime server for WebSockets and Server-Sent Events

Replaces
Slack
Discord
2.3k Go MIT 3 days ago

Overview

AnyCable is a Go-based server that handles persistent realtime connections (WebSockets, SSE, long polling) and delegates business logic to a backend application via gRPC, making it language-agnostic. It is designed as a drop-in replacement for Action Cable in Rails apps but works with any backend. It supports horizontal scaling, pub/sub via Redis or NATS, and delivers significantly higher throughput than a pure Ruby server. A demo chat app illustrates full-stack integration.

Where it falls short of Slack

  • It is a realtime transport layer, not a full chat product; requires significant custom development to build a user-facing app
  • gRPC configuration and tuning adds operational complexity
  • No built-in UI, user management, or message persistence — all delegated to the application layer
  • Managed AnyCable Cloud only available for certain plans

We list the gaps honestly so you can decide if the trade-off is worth owning your data.

Tags

websockets
realtime
sse
pub-sub
rails
Maintain AnyCable?

Claim this listing to keep it accurate, add a deploy template, or feature it on relevant pages.

Show off your self-host difficulty score

Embed the AnyCable difficulty badge in your README — it links back here.

Self-host difficulty badge← add this to your README
[![Self-host difficulty](https://openreplace.com/api/badge/anycable)](https://openreplace.com/anycable)

Similar open-source projects

Other self-hostable tools in the same space worth comparing.

Fully customizable open-source communications platform and Slack alternative

46k TypeScript MIT today
3/5
1-click
AnyCable vs Rocket.Chat

Open-source notification infrastructure for multi-channel developer alerts

39k Docker MIT today
3/5
AnyCable vs Novu

Open-source, self-hostable Slack alternative for secure team messaging and collaboration

38k Go MIT today
3/5
1-click
AnyCable vs Mattermost

Simple HTTP-based push notifications to phone and desktop, no account needed

31k Go Apache-2.0 yesterday
2/5
AnyCable vs ntfy