Skip to content

Latest commit

 

History

History
39 lines (34 loc) · 1.57 KB

README.md

File metadata and controls

39 lines (34 loc) · 1.57 KB

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!