Packages

WebSockets & Realtime Packages

Realtime communication libraries for WebSockets, pub/sub channels, and live data sync — the building blocks behind chat, presence, and collaborative UIs.

125 packages

Packages in WebSockets & Realtime

63Health
Library npm

node-http-proxy

A programmable HTTP and WebSocket proxying library for building reverse proxies, load balancers, and dev-server middleware in Node.js.

14,119
MIT
Used by 9
93Health
SDK Go

nats.go

The official Go client for NATS, the cloud native messaging system, with built-in JetStream persistence.

6,790
Apache 2.0
Used by 9
90Health
Library PyPI

websocket-client

A low-level, dependency-free WebSocket client for Python supporting both synchronous and event-driven connections.

3,712
Apache 2.0
Used by 9
85Health
Library PyPI

sse-starlette

Production-ready Server-Sent Events streaming for Starlette and FastAPI, with graceful shutdown and multi-loop support.

856
BSD 3
Used by 9
79Health
Library PyPI

python-socketio

Python implementation of the Socket.IO realtime protocol for both servers and clients.

4,373
MIT
Used by 8
50Health
Library npm

utf-8-validate

Native addon that validates UTF-8 buffers at C++ speed, with a pure-JS fallback for unsupported platforms.

126
MIT
Used by 8
75Health
Library npm

@fastify/websocket

Adds first-class WebSocket route support to Fastify, dispatching every upgrade through Fastify's own hooks and router instead of bolting ws on beside it.

467
MIT
Used by 7
51Health
Library npm

bufferutil

Native buffer masking and unmasking utilities that make the ws WebSocket library fast.

170
MIT
Used by 7
92Health
Tool Go

nats-server

High-performance, self-hostable messaging server for NATS.io, powering pub/sub, request/reply, and JetStream persistence across cloud and edge.

20,920
Apache 2.0
Used by 6
79Health
Library npm

noVNC

An HTML5 VNC client library that renders a remote desktop directly in the browser over WebSockets

14,129
MPL-2.0
Used by 6
89Health
Framework npm

Agents

Persistent, stateful AI agents on Cloudflare Durable Objects with real-time sync

5,880
MIT
Used by 6
86Health
Library npm

oRPC Client

Type-safe client for consuming oRPC and OpenAPI APIs over HTTP, WebSocket, or message ports.

5,715
MIT
Used by 6
67Health
Library Go

websocket

Minimal, idiomatic Go WebSocket library with full context.Context support, zero dependencies, and Wasm compatibility.

5,539
Other
Used by 6
68Health
Library Cargo

tungstenite

A lightweight, stream-based WebSocket protocol implementation for Rust, runtime-agnostic by design

2,400
Other
Used by 6
95Health
Framework npm

@rails/actioncable

The client-side JavaScript half of Action Cable, Rails' full-stack framework for building WebSocket-powered realtime features.

58,849
MIT
Used by 5
86Health
Framework PyPI

Tornado

Python web framework and asynchronous networking library built for high concurrency

22,166
Apache 2.0
Used by 5
95Health
Library Go

quic-go

A production-ready, pure-Go implementation of the QUIC transport protocol and HTTP/3, powering Caddy, Traefik, and cloudflared.

11,820
MIT
Used by 5
48Health
Library npm

graphql-subscriptions

A reference PubSub engine and async-iterator helpers for building GraphQL subscription resolvers in Node.js

1,616
MIT
Used by 5
38Health
Library PyPI

httpx-sse

Consume Server-Sent Event (SSE) streams with HTTPX

215
MIT
Used by 5
46Health
Library Go

ws

A zero-allocation Go library for building fast, low-level RFC 6455 WebSocket servers and clients.

6,469
MIT
Used by 4
54Health
Framework PyPI

Django Channels

The official Django project that swaps WSGI for ASGI so your app can handle WebSockets, long-polling, and background tasks.

6,364
BSD 3
Used by 4
92Health
Library Cargo

webrtc

An async-friendly, pure-Rust implementation of the full WebRTC stack for real-time peer-to-peer communication.

5,165
Other
Used by 4
48Health
Library npm

EventSource Polyfill

A spec-compliant EventSource polyfill that adds custom headers, auth tokens, and legacy-browser support to Server-Sent Events.

2,181
MIT
Used by 4
48Health
Library npm

subscriptions-transport-ws

The original WebSocket transport for GraphQL subscriptions (deprecated, superseded by graphql-ws)

1,504
MIT
Used by 4

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers