PeerPlay
Watch videos in sync with friends from anywhere.
PeerPlay is a watch-party web app I built to watch videos with friends remotely. Play, pause, and seek events sync across everyone in the room alongside live chat and presence. It turned into a fun deep dive into handling flaky connections.
Drag the slider to scrub both players together. In the real app, seek events sync over WebSockets.
Keeping playback in sync
When someone pauses or scrubs the video, that event has to reach everyone else without triggering an endless echo loop of socket updates. Keeping the controls responsive while handling network drift was the main engineering puzzle.
Chat and who’s in the room
Each room has live chat and shows who’s currently watching. Syncing the video is the technical bit, but chatting while watching is what actually makes it fun to use.
Open source
Both the Next.js frontend and the socket server are on GitHub. Building it also led to a longer write-up on real-time collaborative systems, state conflicts, and unreliable networks.
UseUI
An MCP server that lets AI agents inspect and control Mac apps and browsers safely.