Skip to content

HackMIT/hubot-redisred

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A redisred API handler for Hubot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 100.0%