Connects to a yadt broadcaster and sends notification to an IRC channel in case something interesting happens.

Usage no npm install needed!

<script type="module">
  import yadtHubot from 'https://cdn.skypack.dev/yadt-hubot';


Hubot: yadt-hubot-script

Build Status

Subscribes itself one or more topics provided by a YaDT broadcaster and publishes those notifications. So far only cmd notification are supported.

See src/hubot-yadt-script.coffee for further documentation.


Add yadt-hubot-script to your package.json file:

"dependencies": {
  "hubot": ">= 2.5.1",
  "yadt-hubot-script": ">= 0.0.1",

Add yadt-hubot-script to your external-scripts.json:


Run npm install


Create a config file (coffeescript) somewhere a set the environment variable HUBOT_YADT_CONFIG to that file.

export HUBOT_YADT_CONFIG=/path/to/file

Sample config file.

exports.broadcasterUrl = 'ws://host:port'
exports.channelConfig = [
    regex: /^dev.*/i
    rooms: ["#dev-channel", "#ops-channel"] },
    regex: /evil.*/i },
    regex: /.*/
    rooms: ["#devops-channel"] }
exports.topics = ['dev-machines']

Sample Interaction

hubot>> Yadt action 'update' for target 'marvin.bot.net' has been 'started'.
hubot>> Yadt action 'update' for target 'marvin.bot.net' has been 'finished'.