- Published on
Better and Cheaper Than IPTV
- Authors

- Name
- DeepHorus
A new open-source tool called Castor enables users to cast web videos to smart TVs directly from the terminal, bypassing the limitations of traditional streaming protocols like Chromecast and AirPlay. Developed by a programmer frustrated with the inability to stream arbitrary web video from a laptop to a TV, Castor extracts the video stream, transcodes it in real time, and sends it to any DLNA/UPnP-compatible device. This approach delivers full quality without the lag or resolution drops common with screen mirroring.
The tool addresses a persistent gap in smart TV functionality: while many TVs support streaming from apps like Netflix or YouTube, they often fail to handle random web videos. Castor uses a headless Chrome browser with randomized fingerprints and stealth scripts to evade automation detection, then captures the video stream via the Chrome DevTools Protocol. It can also accept direct stream URLs or IMDB/TMDB IDs, and even burn in auto-generated subtitles.
Castor works with virtually any smart TV supporting the DLNA/UPnP MediaRenderer:1 profile, including models from Samsung, LG, Sony, Panasonic, Philips, Hisense, TCL, VIZIO, and Sharp. It also supports media players like Kodi, VLC, and Plex. The native binary requires Chrome, ffmpeg, and ffprobe on the systemâs PATH, while a Docker image bundles all dependencies but only functions properly on Linux hosts due to network bridging limitations.
The toolâs extraction pipeline clicks through pages, navigates iframes, and can even solve Cloudflare Turnstile challenges, though it may not defeat sophisticated bot protection. This technical sophistication comes at a cost: setup requires Go 1.26 or later and cmake for building from source. The developer recommends the native binary for macOS and Windows users, as Docker Desktopâs internal VM prevents device discovery on those platforms.
Early reactions highlight the toolâs niche appeal. While powerful, Castor remains experimental and untested on some features, with the developer explicitly inviting contributions. For users comfortable with the command line, it offers unprecedented control over the casting experience, potentially replacing more restrictive commercial solutions.
Looking ahead, Castor could find a dedicated user base among developers and tech enthusiasts who value flexibility over ease of use. However, its terminal-centric approach and technical prerequisites may limit mainstream adoption. The projectâs open-source nature suggests ongoing refinement, with the community likely to address compatibility and simplify deployment over time.