soketi

soketi: Run a Pusher-Compatible WebSocket Server

soketi is a self-hostable WebSocket server that implements the Pusher Protocol v7, giving applications a way to deliver real-time events without relying on Pusher-hosted infrastructure. It suits local development and production deployments that need Pusher-compatible clients and control over hosting.

View on GitHub Compare
Stars
5.6k
Forks
364
Stars, last 30 days
+2

Our take

Health score

27/100

How it is scored
Activity
19
Community
48
Issues
21
Pull requests
20

+2 stars in the last 30 days

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

5,636

Forks

363

Change since Nov 18, 2026: +1 stars·0 forks

Overview

soketi is a TypeScript WebSocket server for applications that use the Pusher Protocol v7. It provides a self-hosted endpoint for real-time event delivery, so teams can keep using compatible client libraries while managing the server and its infrastructure themselves.

It can run as a single instance for development or scale across instances with Redis. It is a fit when Pusher-compatible integration and control over deployment matter; teams wanting a fully managed service may prefer a hosted alternative.

Key Features

  • Implements Pusher Protocol v7 for compatibility with existing Pusher-based projects.
  • Uses uWebSockets.js as its underlying WebSocket server.
  • Supports app-based access with credentials and configurable app data storage.
  • Provides storage options including static arrays, DynamoDB, and SQL-based servers such as Postgres.
  • Supports scaling with Redis.
  • Exposes Prometheus metrics for deployment monitoring.
  • Can be deployed in containers or alongside monolithic applications.

Use Cases

  • Application developers can replace or supplement a Pusher endpoint while making minimal client changes, updating the host, port, and credentials.
  • Teams can run a local real-time server for development, testing, or benchmarks without depending on a hosted Pusher service.
  • Operators can self-host event delivery for production applications and scale out with Redis as usage grows.
  • Platform teams can monitor a deployment by scraping its Prometheus metrics.

Getting Started

See the official installation documentation for setup options, then follow the configuration guide. The README links to the full documentation.

Alternatives

  • autobahn-python: Autobahn|Python provides WebSocket and WAMP messaging libraries rather than a turnkey server compatible with Pusher clients.
ProjectLanguageLicenseStarsStatus
soketiTypeScriptAGPL-3.05.6kNot checked yet
autobahn-pythonPython–2.5kActive

Considerations

  • Self-hosting means you are responsible for deployment, configuration, scaling, and monitoring.
  • The README says maintenance time is limited and that updates and support have at times been infrequent.
  • The AGPL-3.0 license should be reviewed against your distribution and deployment requirements.
  • The README describes scaling with Redis, but does not include detailed resource requirements or deployment instructions here.

Found this useful?

Share it with someone who would like soketi.

Comparisons