Skip to content

Instantly share code, notes, and snippets.

@thebiss
Last active October 17, 2023 21:28
Show Gist options
  • Save thebiss/9d7501de7933f7ff93770d0f1c25f12a to your computer and use it in GitHub Desktop.
Save thebiss/9d7501de7933f7ff93770d0f1c25f12a to your computer and use it in GitHub Desktop.
Chromecast Notes

Steps

  1. Listen for Chromecast, using nc

nc -v -l 808

  1. Tell chromecast to fetch a page, using catt project

catt cast_site http://192.168.1.10:8080

  1. Example output
GET / HTTP/1.1
Host: 192.168.1.10:8080
Connection: keep-alive
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.225 Safari/537.36 CrKey/1.56.500000 DeviceType/Chromecast
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
CAST-DEVICE-CAPABILITIES: {"bluetooth_supported":true,"display_supported":true,"hi_res_audio_supported":false,"remote_control_input_supported":false,"touch_input_supported":false}
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment