Ross ROSS = Recommend OSS · open-source software intelligence for agents

coder/websocket

Minimal and idiomatic WebSocket library for Go observed · 2026-08-28

github.com/coder/websocket · Go · ISC (permissive) observed · 2026-08-28

Health v2 · maintenance only

79/100

  • Activity 87
  • Release rhythm 57
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 228.0
  • age_days: 2942
  • days_rel: 79
  • days_push: 79
  • n_releases_24m: 3

Full methodology

Adoption not part of the score

5432 stars · 374 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A minimal and idiomatic WebSocket library for Go, originally by nhooyr and now maintained by Coder. It offers zero-dependency, context-first WebSocket client and server implementations with JSON helpers, compression, and Wasm support.

Use cases

  • add websocket support to a go http server
  • build a real-time chat backend in go
  • stream json messages over websockets in go
  • compile a websocket client to wasm
  • implement ping/pong keepalive for websocket connections
  • replace gorilla/websocket with a maintained minimal library

When to choose

  • you want a zero-dependency, idiomatic Go WebSocket library with first-class context.Context support
  • you need RFC 7692 permessage-deflate compression or JSON message helpers
  • you target Wasm or want zero-alloc reads and writes

When to avoid

  • you need HTTP/2 WebSocket support, which is still on the roadmap
  • you require graceful shutdown or heartbeat helpers that are not yet implemented
  • you need a batteries-included WebSocket framework rather than a minimal library

Facets

library · maturity active

websocket http-server serialization web-development backend networking go cross-platform wasm zero-dependencies context-aware rfc-7692-compression wsjson minimal-api real-time

1 source

Member repositories

RepositoryRoleHealth v2
coder/websocketmain79

For agents

markdown · JSON · MCP: product_card(name="coder/websocket")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem