hubot-save-links-tumblr v0.0.25
Hubot-save-links-tumblr
Forked from hubot-save-links from @cirpo
A hubot script that saves links (on Redis db and on Tumblr) and exposes an api to retrieve them. At the moment it supports local redis installations or Redis to go service attached in Heroku
The links are available via GET /links (hubot has express inside :)
See src/save-links.js
for the bot script documentation.
See hubot scripting documentation for more info.
Installation
Install Hubot
In hubot project repo, run:
npm install hubot-save-links-tumblr --save
Then add hubot-save-links-tumblr to your external-scripts.json
:
[
"hubot-save-links-tumblr"
]
Sample Interaction
The script saves links from messages, discarding duplicates If you want to try locally simply launch hubot
bin/hubot
hubot>> hubot http://example.com
hubot>> hubot hello, check this: http://anotherexample.com
The above links will be saved in redis
Debug
If you want a verbose logging on the console simply launch hubot with the env variable DEBUG
DEBUG=save-links bin/hubot
more verbose:
DEBUG=* bin/hubot
Test
grunt test