qmetrics.net

Best Open-Source Alternatives to Ably

Ably by Ably Real-time Ltd. is a commercial product. These open-source projects say they can replace it.

The most popular open-source alternative to Ably is NATS Server, with 21.2k GitHub stars. Other open-source alternatives to Ably are Centrifugo. Most Ably alternatives here are Messaging & Event Streaming tools. The first 1 say in their own README or website that they can replace Ably (the quote is shown under each one); the other 1 do the same job, shown with their own description.

Stars and activity updated 27 November 2026.

Sort:Most starsRecentA–Z

Centrifugo

Self-hosted scalable real-time pub/sub messaging server

Centrifugo delivers channel-based real-time messages to online clients over WebSocket, SSE, HTTP streaming, gRPC, and WebTransport. Backends publish via HTTP or gRPC APIs.

★ 11k⟳ todayApache-2.0
Open Source Alternative to:AblyPubNubPusher
“Centrifugo is an open-source real-time messaging server — a self-hosted alternative to PubNub, Pusher, Ably, Socket.IO, Phoenix.PubSub & SignalR.”

Also does the same job as Ably

These projects don't call themselves a Ably alternative, but two independent checks of their own description found they do the same main job.

NATS Server

High-performance cloud and edge messaging server

The NATS server is the messaging runtime for services and devices, aimed at distributed deployments from data centers to constrained edge hardware

★ 21.2k⟳ todayApache-2.0
Open Source Alternative to:AblyPubNub
“NATS is a simple, secure and performant communications system for digital systems, services and devices.”

Compare Ably alternatives

Questions about Ably alternatives

Is there an open-source alternative to Ably?

Yes. 2 open-source projects can replace Ably, for example NATS Server and Centrifugo. 1 of them says so in its own documentation; the other 1 do the same job.

What is the best open-source alternative to Ably?

NATS Server (21.2k GitHub stars) is the most popular open-source alternative to Ably on GitHub. Centrifugo has the most recent code changes. The best choice depends on your needs: compare them side by side, for example NATS Server vs Centrifugo.

Are the open-source alternatives to Ably free?

All of the 2 projects listed here are free to use under an open-source license, with no license fee: all permissive (such as Apache-2.0). Running software on your own server still costs hosting and upkeep, and many projects also sell a hosted version.

Related commercial products

PubNub

PubNub Inc.

2 open-source alternatives

Pusher

Pusher

2 open-source alternatives