{"id":20420031,"url":"https://github.com/raidensakura/kofi-discord-notification","last_synced_at":"2025-09-24T06:32:30.350Z","repository":{"id":151593324,"uuid":"584094047","full_name":"raidensakura/kofi-discord-notification","owner":"raidensakura","description":"Serverless Express app running on Netlify Functions to send Ko-fi donation to Discord","archived":false,"fork":false,"pushed_at":"2023-05-24T13:27:29.000Z","size":343,"stargazers_count":9,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-15T06:42:20.368Z","etag":null,"topics":["api","discord","embed","express-js","javascript","ko-fi","netlify-functions","nodejs","webhook"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raidensakura.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-01T10:29:38.000Z","updated_at":"2024-05-21T05:56:00.000Z","dependencies_parsed_at":"2023-06-11T23:00:21.458Z","dependency_job_id":null,"html_url":"https://github.com/raidensakura/kofi-discord-notification","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raidensakura%2Fkofi-discord-notification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raidensakura%2Fkofi-discord-notification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raidensakura%2Fkofi-discord-notification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raidensakura%2Fkofi-discord-notification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raidensakura","download_url":"https://codeload.github.com/raidensakura/kofi-discord-notification/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234052961,"owners_count":18772070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","discord","embed","express-js","javascript","ko-fi","netlify-functions","nodejs","webhook"],"created_at":"2024-11-15T06:41:19.783Z","updated_at":"2025-09-24T06:32:30.336Z","avatar_url":"https://github.com/raidensakura.png","language":"JavaScript","funding_links":["https://ko-fi.com/P5P6D65UW","https://ko-fi.com/manage/webhooks","https://ko-fi.com/manage/webhooks?src=sidemenu"],"categories":[],"sub_categories":[],"readme":"# kofi-discord-notification\nServerless Express app running on Netlify functions to send Ko-fi notification to Discord.\n\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/P5P6D65UW)\n\n## Why?\nKo-fi currently has Discord Integration which only does role assignment but not message notification on donation. I found [a Node.js script](https://github.com/eramsorgr/kofi-discord-alerts) to achieve this goal but unfortunately it needed a constantly running server environment, as well as your own domain to avoid exposing the server IP address. Hence, I modified it to make it run on [Netlify Functions](https://functions.netlify.com/), and you also get a free Netlify subdomain.\n\nYou can also deploy this simple script on an already existing Netlify website if you have one, just remember to include the extra dependencies in your main `package.json` and update your env variables.\n\n## How?\n1. Click this button\u003cbr\u003e\u003cbr\u003e[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/raidensakura/kofi-discord-notification)  \n\n2. Fill your environmental variables\u003cbr\u003e\u003cbr\u003e![Screenshot 2023-01-01 200539](https://user-images.githubusercontent.com/38610216/210170197-b7f31dd5-3c81-40eb-8997-6990250bcf04.png)  \n\n3. Save \u0026 Deploy\n\n4. Access your function at: `https://\u003cyour_domain\u003e.netlify.app/.netlify/functions/kofi`\u003cbr\u003e\u003cbr\u003e![image](https://user-images.githubusercontent.com/38610216/210170195-3eca1cfb-fa5c-4763-ba17-567900688876.png)\n\n5. [Edit your Webhook URL on Ko-fi](https://ko-fi.com/manage/webhooks)\n\n6. [Test your webhook](https://ko-fi.com/manage/webhooks#postSingleDonationTestMessageBtn)\u003cbr\u003e\u003cbr\u003e![image](https://user-images.githubusercontent.com/38610216/210170513-42bb56e7-1559-4088-80d1-c261f295af3d.png)\n\n## Where?\n- Discord Webhook URL (Under channel settings):\u003cbr\u003e\u003cbr\u003e![image](https://user-images.githubusercontent.com/38610216/210170804-02a5a3fe-b3db-4cca-b006-201bbe0fa518.png)\n\n- [Ko-fi Token](https://ko-fi.com/manage/webhooks?src=sidemenu) (Under advanced):\u003cbr\u003e\u003cbr\u003e![Screenshot 2023-01-01 204241](https://user-images.githubusercontent.com/38610216/210170905-0e274abc-74f4-46ee-9e3b-cd87a5cadcdf.png)\n\n## Help\nFeel free to reach out to me on [Discord](https://dsc.gg/transience) or [Create an issue](https://github.com/raidensakura/kofi-discord-notification/issues/new)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraidensakura%2Fkofi-discord-notification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraidensakura%2Fkofi-discord-notification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraidensakura%2Fkofi-discord-notification/lists"}