A simple AWS SNS HTTP(s) endpoint to send notification to HipChat chatroom.
Go
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.
.gitignore
.godir
LICENSE
Procfile
README.md
app.json
main.go

README.md

aws-sns-hipchat

Deploy

A simple AWS SNS HTTP(s) endpoint to send notification to HipChat chatroom.

Features

  • 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.

Heroku Deployment

"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.

Configuration

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

Contact

Richard Lee

License

aws-sns-hipchat is available under the MIT license. See the LICENSE file for more info.