MCPcopy Index your code
hub / github.com/barnybug/go-cast

github.com/barnybug/go-cast @0.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.1.0 ↗ · + Follow
184 symbols 356 edges 24 files 3 documented · 2% updated 2y ago0.1.0 · 2018-05-31★ 16910 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Build status

go-cast

A command line tool to control Google Chromecast devices.

Installation

Download the latest binaries from: https://github.com/barnybug/go-cast/releases/latest

$ sudo mv cast-my-platform /usr/local/bin/cast
$ sudo chmod +x /usr/local/bin/cast

Usage

$ cast help

Play a media file:

$ cast --name Hifi media play http://url/file.mp3

Stop playback:

$ cast --name Hifi media stop

Set volume:

$ cast --name Hifi volume 0.5

Close app on the Chromecast:

$ cast --name Hifi quit

Bug reports

Please open a github issue including cast version number cast --version.

Pull requests

Pull requests are gratefully received!

  • please 'gofmt' the code.

Credits

Based on go library port by ninjasphere

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 108
Struct 37
Function 33
Interface 3
TypeAlias 3

Languages

Go100%

Modules by API surface

api/cast_channel.pb.go46 symbols
client.go21 symbols
controllers/receiver.go18 symbols
controllers/media.go18 symbols
controllers/url.go13 symbols
cmd/cast/main.go11 symbols
net/channel.go10 symbols
discovery/service.go8 symbols
net/connection.go7 symbols
log/log.go7 symbols
controllers/heartbeat.go7 symbols
controllers/connection.go4 symbols

For agents

$ claude mcp add go-cast \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page