Go MIT

go-cast

A command line tool to control Google Chromecast devices.

B

barnybug

Dernière activité 10 juil. 2026
barnybug/go-cast

169

étoiles

35

forks

12

issues ouvertes

Ce README est souvent en anglais.

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

Projets similaires

cli for Google Chromecast, Home devices and Cast Groups

Gochromecastgolanggoogle-chromecast
Vvishen
975 étoiles98

Cast media files to Smart TVs and Chromecast devices.

Goaudiocastchromecast
Aalexballas
1,1 k étoiles82

Cast All The Things allows you to send videos from many, many online sources to your Chromecast.

Python
Sskorokithakis
3,7 k étoiles175