Simple webhook server that allows you to receive Discord Webhook notifications for your GitHub sponsors.
- Clone the repo
git clone https://github.com/Vendicated/SponsorsWebhook cd SponsorsWebhook
- Copy
.env.example
to.env
and fill out its values - Copy
sponsors-webhook.service
to your systemd service directory and start the service - Set up a domain for the server, for example via Caddy using the sample
Caddyfile
- Visit your domain in the browser and you should see a basic website
- Go to https://github.com/sponsors/YourNameHere/dashboard/webhooks and press
Add webhook
- Inside payload url, enter your domain followed by
/webhook
, likehttps://sponsors-webhook.example.com/webhook
- Set Content type to application/json
- Paste your secret (from your .env) file in the Secret box
- Hit save and you're all done!