Skip to content
master
Go to file
Code

Latest commit

* Set description field to title if issue description is empty

Discord doesn't like an empty value on embed fields.

* Also set description field if merge request description is empty

* Fix indentation

* Use strict equality and string interpolation
d5ca2bc

Git stats

Files

Permalink
Failed to load latest commit information.

README.md

skyhook

Parses webhooks and forwards them in the proper format to Discord.

Build Status Discord

Setup

You can use the site to create the right webhook link. If you want to manually do it, here are the steps:

  1. Create a webhook in Discord (Server Settings -> Webhooks -> Create Webhook)
  2. Copy the webhook url
  3. Turn the Discord webhook url into a skyhook webhook url like so:
Replace discordapp.com in url with skyhookapi.com
https://discordapp.com/api/webhooks/firstPartOfWebhook/secondPartOfWebhook
->
https://skyhookapi.com/api/webhooks/firstPartOfWebhook/secondPartOfWebhook
  1. Add the provider you want to the end of the url:
https://skyhookapi.com/api/webhooks/firstPartOfWebhook/secondPartOfWebhook/providerGoesHere

Supported Providers

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.

Testing Locally

To run server:

npm start

To run tests:

npm test

Through Docker:

docker run -it --rm -p 8080:8080 commit451/skyhook

Deploying

Thanks

Special thanks to all our amazing contributors. skyhookapi.com is hosted for free for you, so if you feel so inclined, buy a coffee!

License

skyhook is available under the MIT license. See the LICENSE file for more info.

\ ゜o゜)ノ

You can’t perform that action at this time.