tsuna

tsuna is a peer-to-peer synchronized video watching tool that coordinates playback across mpv players without centralized servers or user accounts. using a 6-character room code, tsuna initiates stun discovery and udp hole punching to establish a direct, peer-to-peer connection between host and guest. playback sync is managed via an ipc connection to mpv with ntp-style clock synchronization and micro-seek adjustments to keep frame drift below a few milliseconds. it features a full-screen terminal tui dashboard built using bubble tea that displays real-time connection status and sync telemetry, as well as a browser-based next.js web dashboard equipped with session controls, chat capabilities, watch queues, and live emoji reactions.

Stack

GoCobraBubbleteaNext.jsReactWebSockets