whatisgithub

What is castor?

stupside/castor — explained in plain English

Analysis updated 2026-05-18

1,743GoAudience · developerComplexity · 3/5Setup · moderate

In one sentence

A command line tool that finds the real video stream behind a web page and casts it to your TV at full quality, instead of laggy screen mirroring.

Mindmap

mindmap
  root((repo))
    What it does
      Extracts web video streams
      Casts to TV in real time
      Burns in subtitles
    Tech stack
      Go
      Chrome headless
      ffmpeg
    Use cases
      Cast a web page video
      Cast a direct stream URL
      Browse and cast titles
    Audience
      Developers
      Vibe coders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Cast a web page's video to your TV at full quality instead of mirroring.

USE CASE 2

Cast a direct video stream URL from the terminal.

USE CASE 3

Browse and cast movies or TV episodes interactively using a TMDB key.

USE CASE 4

Add auto generated, burned in subtitles to a cast.

What is it built with?

GoChromeffmpegffprobe

How does it compare?

stupside/castortylertreat/boomfiltersnvidia/aistore
Stars1,7431,6461,864
LanguageGoGoGo
Last pushed2025-11-17
MaintenanceQuiet
Setup difficultymoderateeasyhard
Complexity3/53/55/5
Audiencedeveloperdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Chrome, ffmpeg, and ffprobe (7.1 or newer) installed on your PATH.

Check the repository's LICENSE file for exact terms, the README does not spell out permissions in detail.

So what is it?

Castor is a command line tool that casts online video from your computer to your TV. Instead of using screen mirroring, which is often laggy and lowers resolution, Castor finds the actual video stream behind a web page, converts it into a format your TV can play, and sends that real stream to the TV at full quality. You point Castor at a web page you are watching, or at a direct video stream link, and it does the rest. To find the video, it opens a hidden browser window, watches the network traffic in the background, and clicks through the page automatically until playback starts. This works on pages that allow this kind of automated interaction, and the project is upfront that it will not work on every site. It can also look up a movie or TV episode by its IMDB or TMDB id against sources you configure yourself, and it can add auto generated subtitles burned directly into the video. Castor runs as a program on your own computer rather than as a hosted service, since it needs to be on the same network as your TV to find it. It relies on Chrome or Chromium plus ffmpeg and ffprobe being installed and available on your system, and those last two need to be a fairly recent version. On a Mac it can be installed with Homebrew, or it can be built from source using Go, which requires cloning with submodules and building with make. Once installed, you tell Castor which TV to use in a config file, then either browse and cast titles interactively through a text based menu in the terminal, or cast a specific web page or stream URL directly from the command line. Settings like maximum video resolution, TMDB API keys for searching titles, and subtitle generation are all optional and can be adjusted in that same config file.

Copy-paste prompts

Prompt 1
Help me install stupside/castor on my machine using Homebrew or from source.
Prompt 2
Walk me through setting up config.yaml with my TV's device name.
Prompt 3
Explain how Castor extracts a video stream from a web page using headless Chrome.
Prompt 4
Show me how to set up sources so I can use castor cast movie with an id.

Frequently asked questions

What is castor?

A command line tool that finds the real video stream behind a web page and casts it to your TV at full quality, instead of laggy screen mirroring.

What language is castor written in?

Mainly Go. The stack also includes Go, Chrome, ffmpeg.

What license does castor use?

Check the repository's LICENSE file for exact terms, the README does not spell out permissions in detail.

How hard is castor to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is castor for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.