A redisred API handler for Hubot
CoffeeScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src Fix a small regex matching bug Mar 27, 2016
.gitignore Add hubot-redisred Aug 14, 2015
LICENSE.md Add hubot-redisred Aug 14, 2015
README.md Update README.md Dec 22, 2015
index.coffee Add hubot-redisred Aug 14, 2015
package.json Update version Mar 27, 2016

README.md

hubot-redisred

A script that allows users to make redisred links through hubot.

See src/redisred.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-redisred --save

Then add hubot-redisred to your external-scripts.json:

[
  "hubot-redisred"
]

Set the following environment variables to interact with redisred:

  • HUBOT_REDISRED_URL The base URL for redirects, not including the API path.
    • e.g. https://go.hackmit.org
  • HUBOT_REDISRED_TOKEN The redisred API token.
  • HUBOT_REDISRED_PREFIX The prefix to auto-expand links
    • e.g. blah here will expand the chat message blah/redisred into https://go.hackmit.org/redisred

License

Copyright (c) 2015 Jack Serrino. Released under the MIT License. See LICENSE.md for details.