8000 GitHub - cirpo/hubot-save-links: a hubot script to persist links from messages · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Oct 31, 2026. It is now read-only.
cirpoPublic archive

About

a hubot script to persist links from messages

Resources

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

80 Commits

Folders and files

Repository files navigation

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

About

a hubot script to persist links from messages

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0