A simple AWS SNS HTTP(s) endpoint to send notification to HipChat chatroom.
- Designed to run on Heroku
- Automatically confirm subscription
- Send notifications to multiple chatrooms
- Heroku-compatible logs for every notification and subscribe confirmation
The HTTP(s) API is http://aws-sns-hipchat.herokuapp.com/ROOM_ID
, which could be used to register as endpoints on SNS.
"Deploy to Heroku" button on the top of this README file is recommended way to set up this app to Heroku.
However, if you want to deploy it manually, kr/heroku-buildpack-go is used for running this project on Heroku.
To create Heorku app with the build pack:
heroku create -b https://github.com/kr/heroku-buildpack-go.git
If you're not familiar with using Go on Heroku, check Getting Started with Go on Heroku for more details.
To make this app up and work properly, you need to set an environment variable HIPCHAT_AUTH_TOKEN
as your API auth token of HipChat:
heroku config:add HIPCHAT_AUTH_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Richard Lee
aws-sns-hipchat
is available under the MIT license. See the LICENSE
file for more info.