A simple Cloudflare Worker that accepts Ko-Fi webhook requests and transforms them to be delivered to a Discord webhook URL.
- Clone the repository and publish the worker to your Cloudflare account:
wrangler publish
- Configure the required secrets:
DISCORD_WEBHOOK_URL
- The webhook URL to relay toVERIFICATION_TOKEN
- The verification token from your Ko-Fi webhooks page
wrangler secret put DISCORD_WEBHOOK_URL wrangler secret put VERIFICATION_TOKEN
- (Optional) If the Discord webhook messages are not shown publicly, you can set the
PUBLIC_MODE
environment variable tofalse
via the dashboard.
With this variable set tofalse
, private messages will be included in the Discord embeds.