hubot-chromecast-youtube

Starts a YouTube video with Hubot

Showing:

Popularity

Downloads/wk

1

GitHub Stars

2

Maintenance

Last Commit

8yrs ago

Contributors

0

Package

Dependencies

2

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Starts a YouTube video with Hubot

Installation

Add the package hubot-chromecast-youtube as dependencies in your Hubot package.json file by running the command:

npm install hubot-chromecast-youtube --save

To enable the script, add the hubot-chromecast-youtube entry to the external-scripts.json file (you may need to create this file, if it is not present or if you upgraded from Hubot < 2.4).

["hubot-chromecast-youtube"]

You can specify a Chromecast, by setting the following environment variable:

HUBOT_CHROMECAST_NAME="Your Chromecast Name"

Commands

Use

hubot cast <youtube-url>

To start a youtube video

Eg

hubot cast http://www.youtube.com/watch?v=y6Sxv-sUYtM

Quick installation of Hubot

To quickly install hubot, run:

sudo npm install -g hubot coffee-script
hubot --create mixbot

(mixbot is the name of our hubot)

To test it locally, run

bin/hubot --name mixbot

Type

mixbot help

To get an idea of all the available commands

To run it on Campfire, run:

HUBOT_CAMPFIRE_ACCOUNT="youraccount" HUBOT_CAMPFIRE_ROOMS="474911,537247" HUBOT_CAMPFIRE_TOKEN="sometoken" bin/hubot --name mixbot -a campfire

More on the installation of Hubot can be found here: https://github.com/github/hubot/tree/master/docs

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial