BraveCast: Ad-Free YouTube Cast Receiver & DIY Chromecast
Commercial streaming sticks like Chromecast, Roku, and Fire TV are great right up until they shove two unskippable ads in front of a 30-second video and lock down everything you want to cast. I wanted to turn a spare laptop plugged into my living room TV into a dead-simple, zero-ad media receiver—so I built BraveCast.
It speaks the exact same DIAL discovery protocol your phone’s official YouTube app already uses, launches Brave Browser in fullscreen kiosk mode with Brave Shields blocking 100% of YouTube pre-roll and mid-roll ads, and throws in a collaborative party queue, Spotify Connect, and a 1-click stream-sniffer extension for good measure.
The Tech Stack
- Receiver Daemon: Zero-dependency Python 3 multi-threaded HTTP, SSE, & SSDP (DIAL) server
- Playback Engine: Brave Browser in Kiosk mode + Chrome DevTools Protocol (CDP) autopilot + YouTube InnerTube API
- Companion Extension: Stream Caster (Chrome / Brave Manifest V3 extension using
webRequeststream sniffing) - Web Remote & Jam Queue: Vanilla JS, HTML, CSS + bundled
hls.min.js - Audio & Hardware:
librespot(Spotify Connect) + macOSLaunchAgent/ Windows Task Scheduler / Linuxsystemd+ Raspberry Pi HDMI-CEC
Links: Open Source Repo (MIT) | Download Installer (Mac / Windows / Linux)
(Note: Unlike Anvil and Stark, Google isn’t super thrilled about an ad-blocking YouTube cast tool living on the Chrome Web Store, so the companion Stream Caster extension ships right inside the repo’s extension/ folder as an unpacked load!)
How’s the magic actually work?
- Native YouTube DIAL Casting: Broadcasts itself over SSDP on your Wi-Fi so the regular iOS and Android YouTube apps see
Living Room TVin the native Cast menu. Tapping Cast wakes the screen, opensyoutube.com/tvinside a Smart-TV-spoofed Brave Kiosk window, and lets Brave Shields nuke every ad. - BraveCast Jam (Party Queue): Friends on the same Wi-Fi can pull up the mobile Web Remote (
http://<ip>:8099/), search YouTube, Movy.sx, or Prime Video, and drop picks into a fair-share round-robin & upvote queue without cutting off whatever’s currently playing. - Headless CDP Autoplay Autopilot: Normally YouTube TV parks on the home screen once a video ends. BraveCast hooks into the kiosk’s Chrome DevTools Protocol port and YouTube’s InnerTube API to automatically advance your Jam Queue—or keep hopping to related videos when the queue empties.
- Stream Caster MV3 Extension: Sits in your desktop browser toolbar, sniffs live
.m3u8(HLS) and.mp4streams viawebRequest, and lets you beam web video pages or streams straight to the TV in one click. - Self-Healing Runtime (
doctor.py): Keeps Smart TV User-Agents fresh, updates rolling InnerTube client versions, cleans up stale Chromium profile locks, and even triggers hardware HDMI-CEC on a Raspberry Pi to power the TV on and switch inputs automatically.


Double-click installers for everybody
I didn’t want setting up a home TV box to feel like compiling Gentoo, so there are one-click GUI installers for Mac and Windows plus a one-line shell script for Linux and Raspberry Pi. Grab it over on GitHub and kick ads off your living room TV.