GitHub Discord Webhook

A self-hosted service that forwards GitHub webhook events to Discord channels with beautifully formatted embeds. Supports multi-user, multi-repo configurations with secure webhook signature verification.

Features

  • Secure by design - GitHub webhook signature verification (HMAC-SHA256)
  • Multi-user support - Each user manages their own webhook mappings
  • Flexible registration - Open, closed, or invite-only modes
  • Beautiful Discord embeds - Rich formatting for PR events
  • Easy deployment - Single binary, auto-migrations, Railway-ready

How It Works

GitHub Repo -> GitHub Webhook -> This Service -> Discord Webhook -> Discord Channel

Users create webhook mappings (repo -> Discord webhook), configure the generated URL in their GitHub repository settings, and GitHub events are automatically forwarded as formatted Discord embeds.

Quick Start

git clone https://github.com/alexng353/github-discord-webhook.git 
cd github-discord-webhook
bun install
bun run start