Overview
Rewyt is built with Go, Svelte, Shaka Player, and packaged with Wails.
On startup, the Go backend starts ypb, which fetches video info via yt-dlp. When you rewind to a moment, the Svelte frontend requests an MPEG-DASH manifest from ypb, which generates one with proxied URLs. During playback, Shaka Player streams video through ypb, which proxies media segments from YouTube and handles connection errors.