Skip to content

Soketi

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

Copyleft (OSI) · AGPL-3.0

Listed by , founder & editor

18

Health

Dormant

Overview

Stars

5,636

Last commit

3 years ago

Mar 2024

Repository age

5 years

since Jun 2021

Latest version

1.6.1

Mar 2024

Contributors

–

Releases

0

last 12 months

Language

TypeScript

Soketi is a WebSockets server written in TypeScript on top of uWebSockets.js. It implements the Pusher Protocol v7, so an app that talks to Pusher usually needs only a new host, port and credentials to talk to Soketi instead.

You run it as a Docker container or a Node.js process, on one instance for local development or on several instances behind Redis for scale. Apps are defined in a static array, DynamoDB or an SQL database such as Postgres. Prometheus metrics are built in, so you can scrape connection and traffic numbers for monitoring.

It works as a self-hosted replacement for Pusher-style hosted broadcasting services. It is licensed under AGPL-3.0. Community projects add a web UI and a Filament plugin for managing apps. Note that maintenance is slow: the last commit was in March 2024 and the latest release is 1.6.1.

Who it's for

Laravel or JavaScript developers using Pusher for broadcasting

Because it follows the Pusher protocol, you mostly change connection settings instead of rewriting client code.

Skip if: You want a vendor-backed service with support and active development.

Teams that need a local real-time server for testing

It runs in one Docker container with no connection limits to hit during development or benchmarks.

Skip if: You only need a few connections and the hosted free tier already covers you.

Small teams running their own infrastructure

It runs on a small cloud instance and scales out with Redis when traffic grows.

Skip if: You cannot accept AGPL-3.0 obligations for a modified version you expose over a network.

The problem it solves

Hosted real-time messaging services charge by connection and message volume, which gets costly as an app grows. Soketi lets you run a Pusher-compatible server yourself, so existing clients keep working while you control the hosting and cost.

Strengths

  • Implements Pusher Protocol v7, so existing Pusher clients need little change
  • Built on uWebSockets.js for low overhead on small servers
  • Stores app definitions in a static array, DynamoDB or SQL databases like Postgres
  • Scales across instances with Redis
  • Exposes Prometheus metrics for monitoring

Trade-offs

  • Dormant: no commits since March 2024 and no releases in the past year
  • AGPL-3.0 license has network-use source obligations
  • You run, secure and scale the server yourself
  • App management needs community tools if you want a UI

Self-host Soketi

Self-hostable
Yes
Docker Compose
The repository ships a Compose file

Frequently asked questions

Is Soketi free?

Yes. It is open source under AGPL-3.0 and you run it on your own server.

Can I use it with existing Pusher clients?

Yes. It implements Pusher Protocol v7, so you add your host and port and swap credentials.

Can I self-host it with Docker?

Yes. It ships as a Docker image and also runs as a Node.js application.

Is it still maintained?

Barely. The last commit was in March 2024, with no releases in the last year.

Similar tools in Integration and messaging platforms

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

connect

Integration and messaging platforms

Self-hosted integration engine for moving and translating HL7 healthcare messages

1.2k 476 2 months ago Slowing MPL-2.0

Outpost

Integration and messaging platforms

Outbound webhook and event delivery service for SaaS and API platforms

1.1k 80 5 days ago Thriving Apache-2.0