Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

Latest commit

 

History

History
49 lines (30 loc) · 1.53 KB

README.md

File metadata and controls

49 lines (30 loc) · 1.53 KB

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.