Skip to content

A Cloudflare Worker that translates Ko-fi donations webhooks to a Discord channel.

Notifications You must be signed in to change notification settings

quacksire/kofi-to-discord

Repository files navigation

Ko-fi to Discord Webhook

A Cloudflare Worker that forwards Ko-fi donations to a Discord channel via a webhook. wakatime

Deploy to Cloudflare Workers

Features

  • Verifies incoming requests from Ko-fi using a verification token.
  • Sends donation details to a Discord channel using a webhook.
  • Includes a button in the Discord message to view the donation on Ko-fi.
image

Requirements

Installation

You can deploy this worker directly to Cloudflare Workers using the button below:

Deploy to Cloudflare Workers

Manual Setup

  1. Clone the repository:
git clone https://github.com/quacksire/kofi-to-discord
cd kofi-to-discord
  1. Install dependencies:
npm install
  1. Configure environment variables: Copy .dev.vars.example to .dev.vars:
cp .dev.vars.example .dev.vars

Replace the placeholder values in .dev.vars with your actual WEBHOOK and KOFISECRET. 4Deploy the worker:

wrangler publish

About

A Cloudflare Worker that translates Ko-fi donations webhooks to a Discord channel.

Topics

Resources

Stars

Watchers

Forks

Sponsor this project