0.0.24 • Published 9 years ago

hubot-save-links v0.0.24

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

Hubot-save-links Build Status

A hubot script that saves links and exposes an api to retrieve them. At the moment it supports local redis installations or redis togo service attached in Eroku

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 --save

Then add hubot-save-links to your external-scripts.json:

[
  "hubot-save-links"
]

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

TODO

Check the open issues Feel free to open issues for suggestions. Oh, lets start writing test :P

0.0.24

9 years ago

0.0.23

9 years ago

0.0.22

9 years ago

0.0.21

9 years ago

0.0.20

9 years ago

0.0.19

9 years ago

0.0.18

9 years ago

0.0.17

9 years ago

0.0.16

9 years ago

0.0.15

9 years ago

0.0.14

9 years ago

0.0.13

9 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago