cenko.tech

#websockets

2 posts tagged websockets. All tags

  1. Peer-to-peer screen sharing from the terminal

    7 min

    A Python CLI that shares your screen over WebRTC: a small WebSocket server introduces the peers, then the video goes straight from sharer to viewer.

  2. A WebSocket broadcast server and client in one CLI

    4 min

    A Node.js CLI that runs a WebSocket server and an interactive client: every message one client sends goes to all the others, with heartbeats and clean shutdown.