https://github.com/evancohen/express-cast
A local HTTP server running node that exposes Chromecast functionality
https://github.com/evancohen/express-cast
Last synced: 6 months ago
JSON representation
A local HTTP server running node that exposes Chromecast functionality
- Host: GitHub
- URL: https://github.com/evancohen/express-cast
- Owner: evancohen
- License: mit
- Created: 2015-10-27T23:49:59.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-29T04:31:43.000Z (over 10 years ago)
- Last Synced: 2024-12-29T09:42:40.581Z (over 1 year ago)
- Language: JavaScript
- Size: 145 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# express-cast
WORK IN PROGRESS
A local HTTP server built to run on your home network with node that exposes Chromecast functionality. As an interesting side effect of this you can Cast from ouside of your home network (using port forwording) and do some pretty cool other stuff.
### Getting started
In order to use Google Music you need to get a key first. If you use 2-Factor Authentication (which you absolutly should) then you'll need to set up a temporary [App Password](https://security.google.com/settings/security/apppasswords)
Once you set that up, fill out `login.js` with your info and then run it with
```
node login.js
```
If everything works you should get an Android ID and a Master Token which you stick in your config.
That's it, you are ready to go! Run it with
```
node index.js
```
#### TODO
When you pause chromecast turn the lights up in the room
When you play it again turn the lights down