Skip to content

AnyCable

Go WebSocket and SSE server for adding reliable realtime to Rails, Laravel and other

Permissive (OSI) · MIT
  • Self-hosted
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

73

Health

Active

Overview

Stars

2,392

Last commit

10 days ago

Nov 2026

Repository age

10 years

since Sep 2016

Latest version

v1.6.21

Nov 2026

Contributors

–

6 active in 90 days

Releases

14

last 12 months

Language

Go

AnyCable is a realtime server for two-way communication over WebSockets and Server-Sent Events. It is written in Go and sits next to your existing application, handling long-lived connections so your app server does not have to. This repository holds the open source edition, released under the MIT license.

It supports delivery guarantees, presence tracking and message ordering. It works with Rails, Laravel, Node.js and Python, and any other backend can connect through an HTTP API. You run it yourself as a single binary, and it is available through Homebrew on macOS and Linux.

AnyCable is built by Evil Martians. Paid Pro and managed editions exist alongside the open source one, so you can start self-hosted and move later if you want to. The project started in 2016, has 6 contributors in the last 90 days, and shipped 14 releases in the past year.

It serves as a self-hosted alternative to managed realtime services, which charge for hosted connections.

Who it's for

Rails teams outgrowing Action Cable

AnyCable moves WebSocket handling into a Go server and adds delivery guarantees and ordering.

Skip if: Your connection counts are small and Action Cable already meets your needs.

Laravel, Node.js or Python developers who need realtime

Any backend can talk to it over an HTTP API, so you are not tied to one framework.

Skip if: You would rather pay for a fully managed realtime service.

Teams that must keep connection data on their own servers

It is self-hosted under the MIT license and runs as a single process you control.

Skip if: You do not have anyone to operate and monitor another server component.

The problem it solves

Handling many open WebSocket connections inside a web framework strains the app server. Plain WebSockets also do not guarantee that messages arrive, or arrive in order. AnyCable runs that layer as its own server with delivery guarantees.

Strengths

  • MIT-licensed Go server that you host yourself
  • Delivery guarantees, presence tracking and message ordering built in
  • Works with Rails, Laravel, Node.js, Python or any backend over an HTTP API
  • Supports both WebSockets and SSE
  • Healthy activity: 6 contributors in 90 days and 14 releases in the last year

Trade-offs

  • You operate an extra server alongside your application
  • Some features sit in the separate Pro edition rather than this one
  • Setup and tuning details live in separate documentation, not the repository

Self-host AnyCable

Self-hostable
Yes

In the community

Frequently asked questions

Is AnyCable free?

The open source edition in this repository is free under the MIT license. Pro and managed offerings are sold separately.

Can I self-host it?

Yes. It is a Go server you run on your own infrastructure.

Which backends does it work with?

Rails, Laravel, Node.js and Python work with it. Any other backend can connect through its HTTP API.

Does it support SSE as well as WebSockets?

Yes. It handles two-way communication over both WebSockets and SSE.

How do I install it?

It is available as a Homebrew formula on macOS and Linux.

Similar tools in Integration and messaging platforms

Centrifugo

Integration and messaging platforms

Self-hosted real-time messaging server for adding WebSocket pub/sub to any backend

11k 758 yesterday Thriving Apache-2.0

Soketi

Integration and messaging platforms

Self-hosted WebSockets server that speaks the Pusher protocol, for developers cutting

5.6k 362 3 years ago Dormant AGPL-3.0

CMAK

Integration and messaging platforms

Web UI for inspecting and administering Apache Kafka clusters, now dormant

12k 2.5k 4 years ago Dormant Apache-2.0

AutoMQ

Integration and messaging platforms

Kafka-compatible streaming on S3 storage for teams cutting cloud storage and traffic costs

11k 809 today Thriving Apache-2.0

Revert

Integration and messaging platforms

Self-hosted unified API for CRM, chat and ticketing integrations in B2B products

1k 122 2 years ago Dormant AGPL-3.0

Replaces Merge.dev

kafka-ui

Integration and messaging platforms

Web UI for monitoring and managing Apache Kafka clusters, topics and consumers

2.9k 460 yesterday Active Apache-2.0