Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including hubot-linda with all npm packages installed. Try it out:

var hubotLinda = require("hubot-linda")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

hubot-linda v0.1.0

Linda connector for Hubot

Hubot Linda

Linda connector for Hubot


Build Status


% npm i hubot-linda -save

edit external-script.json



set ENV Variables



Optional (default value is below)

% export HUBOT_LINDA_ROOM=general
% export HUBOT_LINDA_HEADER=:feelsgood:  # slack emoticon
% export NODE_ENV=production             # mute status message

on heroku: heroku config:set HUBOT_LINDA_SERVER=


  1. Write a Tuple into Linda {type: "hubot", cmd: "post", value: "hello!!"}
  2. Hubot detects the Tuple
  3. send "Hello!!" to chat
  type: "hubot",   // required
  cmd: "post",     // required
  value: "hello",   // required
  room: "#general" // optional, you can specify chat room.

for Hubot Script

hubot-linda emits linda:ready event when ready.

# Description:
#   read light sensor value with Linda
# Commands:
#   hubot sensor light

module.exports = (robot) ->

  robot.on 'linda:ready', ->

    robot.respond /sensor light/, (msg) ->

      robot.linda.tuplespace('test').read {type: "sensor", name: "light"}, (err, tuple) ->
        if err
          msg.send "linda error"
        msg.send "light : #{}"
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free