antebrl/IPTV-Restream ? reverse-engineered prompt

Reverse engineered prompt

Build me a web app for sharing IPTV playlists and watching them together in sync. I want a simple frontend where I can add one or more IPTV playlists, switch channels, and play streams in the browser with a clean TV style player. It should support a direct mode, a proxy mode for streams with CORS or device limits, and a restream mode that uses the backend to restream through ffmpeg when needed.

The important part is that multiple people can open the same room and have their channel selection and playback stay synchronized, like a watch together experience. Include a basic live chat with random guest names, and make it so users can also expose a playlist for use in other IPTV players, with a special current channel link. If it helps, look up current docs online for any streaming or HLS details you need. I’d like the whole thing to run easily with Docker and work as a full stack app.