A really simple Slack bot that returns the first video it finds for a query.
- Define a
YT_KEY
environment variable setting it to your YouTube API token. - Set up a Slack Slash Command integration pointing it to the URL of the bot:
http://yourapp.com/ytsearch
- Search for things using
/youtube DJ Roomba