Table of Contents
DiscordWebhookProxy is a webhook endpoint that re-formats the data sent from other services such as GitHub into much better looking and customizable discord webhooks.
Discord already supports GitHub and Slack style webhooks, why something in between?
Discord's support for github and slack style webhooks has remained largely unchanged since they were introduced with the platform, leaving meany new features such as GitHub Actions in the dust and silently failing to publish. Additionally, the embeds created by these webhooks often lack important data, or aren't formatted in a way that makes it easy to see important details at a glance. This project aims to fix that.
Clone and open the project in your favorite IDE/Editor!
- Install Visual Studio Code, Visual Studio 2019, or Rider
- Install the dotnet SDK
- Install Docker
- (Optional) Install docker-compose
Command line:
docker run -d --restart=always -p 80:80 ghcr.io/discord-csharp/discordwebhookproxy:latest
Docker Compose:
version: '3.7'
services:
repl:
image: ghcr.io/discord-csharp/discordwebhookproxy:latest
restart: always
ports:
- '80:80'
Note: This service isn't configured to handle HTTPS on its own. For HTTPS support, front the container with a reverse proxy such as nginx.
curl -X POST -H 'Content-Type: application/json' -d '{ custom webhook payload }' "http://localhost/webhokproxy/$discordWebhookId/$discordWebhookKey/$platformIdentifier"
Invoke-WebRequest -UseBasicParsing -ContentType application/json -Method POST -Body "{ custom webhook payload }" -Uri "http://localhost/webhokproxy/$discordWebhookId/$discordWebhookKey/$platformIdentifier" | Select-Object Content
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Chris Curwick - @Cisien on Discord
Project Link: https://github.com/discord-csharp/DiscordWebhookProxy