# Caster Very WIP! Not ready for release. Expect many bugs. Please don't sign builds on AMO with current ID. Credit: * [electron-chromecast](https://github.com/GPMDP/electron-chromecast) * [node-castv2](https://github.com/thibauts/node-castv2) * [chrome-native-messaging](https://github.com/jdiamond/chrome-native-messaging) ## Supported platforms * Linux * macOS (TODO) * Windows (TODO) Only tested on Linux. mDNS library issue to be fixed. `mdns` only works on Windows, `mdns-js` only works on Linux. ## Building ### Requirements * NodeJS * `node` binary in path * ~~Bonjour SDK (Windows)~~ ```` git clone https://github.com/hensm/caster.git npm install ./ext --prefix ./ext npm install ./app --prefix ./app npm run build --prefix ./ext ```` Installer scripts aren't written yet, so registering the native messaging manifest with Firefox and specifiying the path must be done manually: [MDN: Native Manifests](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Native_manifests) `path` key within `app/caster_bridge.json` must be set to absolute path of `app/src/launcher.sh` or `app/src/launcher.bat`. Then, the manifest must be either moved to the correct location or the path added to the registry (Windows): [MDN: Native Manifests # Manifest location](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Native_manifests#Manifest_location) Extension can be loaded from `about:debugging` as a temporary extension. Most sites won't load the cast API unless the browser presents itself as Chrome. The plan is to spoof the user agent string for a whitelist of cast-enabled sites, but that isn't implemented yet. You can workaround this by setting it manually or using a [third-party extension](https://addons.mozilla.org/en-US/firefox/search/?q=user+agent). ## Video Demos Netflix / HTML5: [fx_cast Netflix](https://www.youtube.com/watch?v=Ex9dWKYguEE) [fx_cast HTML5](https://www.youtube.com/watch?v=16r8lQKeEX8)