olahol/melody
:notes: Minimalist websocket framework for Go observed · 2026-08-28
Health v2 · maintenance only
54/100
- Activity 49
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4130
- days_rel: n/a
- days_push: 309
- n_releases_24m: 0
Adoption not part of the score
4083 stars · 371 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Melody is a minimalist websocket framework for Go built on top of gorilla/websocket. It abstracts away tedious websocket handling with a simple net/http-like interface, session management, broadcasting, and automatic ping/pong heartbeats.
Use cases
- build a websocket chat server in Go
- broadcast messages to all connected websocket clients
- handle websocket sessions with per-session data
- add real-time features to a Go web app
- automatically detect and drop broken websocket connections
- send messages to selected websocket sessions only
When to choose
- you want a simple, high-level websocket API in Go without managing gorilla/websocket details
- you need safe concurrent writes and broadcasting out of the box
- you want automatic heartbeat/timeout handling for dead connections
- your app fits the net/http handler style
When to avoid
- you need fine-grained control over websocket frames, compression, or subprotocols
- you need a full-featured realtime platform with rooms, reconnection, or fallbacks like Socket.IO
- you are not using Go
- you need client-side websocket support only
Facets
library · maturity stable
websocket middleware http-server web-development backend go windows cross-platform websocket-framework broadcast sessions gorilla-websocket realtime minimalist real-time linux macos
1 source
- readme: https://github.com/olahol/melody · fetched 2026-08-28 · 031c92b8521f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| olahol/melody | main | 54 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem