finds.dev← search

// the find

mafintosh/signalhub

★ 674 · JavaScript · MIT · updated Feb 2024

Simple signalling server that can be used to coordinate handshaking with webrtc or other fun stuff.

A minimal WebRTC signalling server — handles the out-of-band message exchange peers need before they can talk directly. It's SSE for pub/sub, nothing more. Aimed at people building P2P browser apps who don't want to stand up a full WebSocket server.

SSE-based subscriptions mean the server is nearly stateless and dead simple to deploy anywhere — no WebSocket upgrade headaches. Multi-hub support for redundancy is a nice practical touch. The API surface is tiny enough to read in five minutes. Works in-browser via Browserify, which is the actual target use case.

No authentication or channel authorization whatsoever — anyone who knows your hub URL can subscribe to any channel. The publicly listed hubs in the README point to now.sh (defunct) and are clearly dead. Last meaningful activity was years ago; the SSE approach predates the now-common WebSocket/WebTransport alternatives that handle reconnection better. No persistence, no delivery guarantees, and no docs on what happens when you broadcast to a channel with no subscribers — you just fire and forget.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →