skyhook
Parses webhooks and forwards them in the proper format to Discord.
Setup
You can use the site to create the right webhook link. If you want to manually do it, here are the steps:
- Create a webhook in Discord (Server Settings -> Webhooks -> Create Webhook)
- Copy the webhook url
- Turn the Discord webhook url into a skyhook webhook url like so:
Replace discordapp.com in url with skyhook.glitch.me
https://discordapp.com/api/webhooks/firstPartOfWebhook/secondPartOfWebhook
->
https://skyhook.glitch.me/api/webhooks/firstPartOfWebhook/secondPartOfWebhook
- Add the provider you want to the end of the url:
https://skyhook.glitch.me/api/webhooks/firstPartOfWebhook/secondPartOfWebhook/providerGoesHere
Supported Providers
- AppVeyor -
/appveyor
- Bintray -
/bintray
- BitBucket -
/bitbucket
- circleci -
/circleci
- Codacy -
/codacy
- Dockerhub -
/dockerhub
- GitLab -
/gitlab
- Heroku -
/heroku
- Jenkins -
/jenkins
(requires the notification plugin) - Patreon -
/patreon
- Pingdom -
/pingdom
- Travis -
/travis
- Trello -
/trello
- Unity Cloud -
/unity
- VSTS -
/vsts
If you want support for a new provider, just create a pull request and add it!
Alternatively, a new provider can also be requested by creating an issue.
Contributing
If you wish to contribute, follow our contributing guide.
Creating a Provider
If you want to create a new provider please follow the examples shown at our small documentation.
\ ゜o゜)ノ
Testing Locally
To run server:
npm start
To run tests:
npm test
Running with Docker
To build the image:
docker build -t skyhook .
To run the application:
docker run -p 8080:8080 --name skyhook skyhook
To run the tests:
docker run --name skyhook skyhook npm test
To remove the created container:
docker rm skyhook
License
skyhook is available under the MIT license. See the LICENSE file for more info.