https://github.com/evuez/delilah
StatusPage notifications in Slack
https://github.com/evuez/delilah
hacktoberfest notifications slack statuspage
Last synced: 27 days ago
JSON representation
StatusPage notifications in Slack
- Host: GitHub
- URL: https://github.com/evuez/delilah
- Owner: evuez
- License: bsd-3-clause
- Created: 2019-11-10T17:12:42.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-01T21:03:20.000Z (over 4 years ago)
- Last Synced: 2024-10-19T17:30:27.830Z (6 months ago)
- Topics: hacktoberfest, notifications, slack, statuspage
- Language: Haskell
- Homepage: https://liftm.io/projects/delilah-statuspage-notifications-in-slack.html
- Size: 17.6 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
# delilah
### :warning: [statuspage.io](https://www.statuspage.io/) now supports Slack, so this is pretty much useless.
A web service to post [statuspage.io](https://www.statuspage.io/) updates to Slack.
> :fire: Service update: `github` changed its status from *operational* to **major outage**
> :heavy_check_mark: Service update: `github` changed its status from *major outage* to **operational**
## Deploying to Heroku
[](https://heroku.com/deploy)
You'll have to add a `SLACK_URL` environment variable with a [Slack webhook URL](https://api.slack.com/messaging/webhooks).
Then, for each service you want to subscribe to, add a `SERVICE_TOKEN_` environment variable with a random token that will be used to authenticate requests to delilah.
### Example with GitHub
1. Add your `SLACK_URL` to the environment variables
2. Add a `SERVICE_TOKEN_GITHUB` environment variable with a random token
3. Deploy the app
4. Go to https://www.githubstatus.com/
5. Click "Subscribe" and select the `<>` tab
6. Fill in the URL. It should look something like this: `https://your-heroku-app.com/status/github?token=`
7. Add your email, click "Subscribe to notifications"
8. You're done!