BraveCast monochrome logo combining the Cast symbol and Brave lion emblem

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 webRequest stream sniffing)
  • Web Remote & Jam Queue: Vanilla JS, HTML, CSS + bundled hls.min.js
  • Audio & Hardware: librespot (Spotify Connect) + macOS LaunchAgent / Windows Task Scheduler / Linux systemd + 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?

  1. Native YouTube DIAL Casting: Broadcasts itself over SSDP on your Wi-Fi so the regular iOS and Android YouTube apps see Living Room TV in the native Cast menu. Tapping Cast wakes the screen, opens youtube.com/tv inside a Smart-TV-spoofed Brave Kiosk window, and lets Brave Shields nuke every ad.
  2. 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.
  3. 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.
  4. Stream Caster MV3 Extension: Sits in your desktop browser toolbar, sniffs live .m3u8 (HLS) and .mp4 streams via webRequest, and lets you beam web video pages or streams straight to the TV in one click.
  5. 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.
BraveCast ambient Smart TV receiver idle screen
BraveCast Jam mobile web remote interface with YouTube, Movy.sx, and Prime Video search, queue, and playback controls

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.