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.exampleto.envand fill out its values - Copy
sponsors-webhook.serviceto 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!
