No description, website, or topics provided.
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.
.godir
.travis.yml
LICENSE
Procfile
README.md
hipchat-webhook.sh
main.go
main_test.go

README.md

Build Status

Forward HipChat notifications to Slack

This tool reformat and forward notifications from HipChat to Slack

Use Cases

  • Test Slack without rewriting all your notifications
  • Smooth transition from HipChat to Slack
  • Handle services only compatible with Hipchat notifications
  • Don't use polling to transfer messages from Hipchat to Slack

Deploy on Heroku

heroku create hipchat-to-slack -b https://github.com/kr/heroku-buildpack-go.git
heroku config:set SLACK_CHANNEL="#channel"
heroku config:set SLACK_URL="https://XXX.slack.com/services/hooks/incoming-webhook?token=TOKEN"
git push heroku master
FORWARD_APP_URL=http://XXX.herokuapp.com HIPCHAT_ROOM=myroom HIPCHAT_ADMIN_TOKEN=mytoken ./hipchat-webhook.sh --create
  • Test
HIPCHAT_ROOM=myroom HIPCHAT_ADMIN_TOKEN=mytoken ./hipchat-webhook.sh --test
  • Enjoy!