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-tumblrbot-bysetting with all npm packages installed. Try it out:

var hubotTumblrbotBysetting = require("hubot-tumblrbot-bysetting")

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

hubot-tumblrbot-bysetting v0.0.4

hubot tumblrbot by setting

hubot-tumblrbot-bysetting

Description

You can get from tumblr image without coding scirpts.

Installation

Add hubot-tumblrbot-bysetting to your package.json dependencies.

"dependencies": {
  "hubot-tumblrbot-bysetting": "0.0.4"
}

Add hubot-tumblrbot-bysetting to external-scripts.json.

 [
  "hubot-tumblrbot-bysetting"
 ]

Config

You can set some tumblr and some keyword.

HUBOT_TUMBLR_SOURCES='{ "aaa.tumblr.com": "xxx", "bbb.tumblr.com": "yyy", "ccc.tumblr.com": "zzz" }

If you set above, Hubot replys

  • "xxx" Returns a image from aaa.tumblr.com
  • "yyy" Returns a image from bbb.tumblr.com
  • "zzz" Returns a image from ccc.tumblr.com
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