Aaryn's Webhooks
GitHub → DiscordNo account needed

Your GitHub commits, delivered straight to Discord.

Connect a repository in under a minute. Every push arrives as a clean embed with the author, branch, file stats, and a link to the commit.

Signature verifiedDuplicate-safeNo install

One-page setup

Connect a repository

1Discord webhook URL
How to find it↗

Server Settings → Integrations → Webhooks → Copy Webhook URL.

2Timezone

Used for the date and time in every Discord embed.

3Generate your endpoint

No account, no OAuth. Your Discord URL is encrypted and never appears in the generated endpoint.

How it works

Three steps. Then it's out of your way.

No installs, dashboards, or bot commands. You paste one URL into GitHub and close the tab.

01

Paste a Discord webhook

Create a webhook in the channel you want, then paste the URL. It is encrypted before it touches the database.

02

Choose your timezone

Search any zone in the world. Commit timestamps and footer dates follow daylight saving automatically.

03

Connect one GitHub URL

Add the generated endpoint to your repo. Signatures, stats, and delivery are handled from there.

Under the hood

The interesting parts, handled.

A focused FastAPI service receives the push, verifies it, fetches exact stats, and builds the embed with discord.py. PostgreSQL keeps every setup independent.

  • Signed before parsed

    Every delivery is verified with HMAC-SHA256 before the payload is read.

  • Retries don't duplicate

    Delivery IDs and commit SHAs are recorded, so GitHub retries stay idempotent.

  • Stats from the source

    Additions, deletions, and modified files come from GitHub's commit API.

  • Secrets stay secret

    Discord URLs are Fernet-encrypted; endpoint tokens are stored as one-way hashes.

PostgreSQLAsync SQLAlchemydiscord.py 2.x
discord_embed.pyexcerpt
1import discord
2from zoneinfo import ZoneInfo
3 
4async def send_commit_notification(
5 webhook, repo_name, branch, commit_message,
6 github_username, github_avatar, commit_url,
7 additions, deletions, modified_files, timezone,
8 commit_time,
9):
10 local_time = commit_time.astimezone(ZoneInfo(timezone))
11 
12 embed = discord.Embed(
13 title=f"{repo_name} ({branch})",
14 description=(
15 f"```{commit_message}```\n"
16 f"🟢 +{additions} Added\n"
17 f"🔴 -{deletions} Removed\n"
18 f"🟡 ~{modified_files} Modified Files"
19 ),
20 color=discord.Color.from_rgb(137, 207, 240),
21 timestamp=local_time,
22 )
23 embed.set_author(
24 name=github_username,
25 icon_url=github_avatar,
26 )
27 embed.add_field(
28 name="Commit",
29 value=f"[View Commit]({commit_url})",
30 inline=False,
31 )
32 embed.set_footer(
33 text=f"Aaryn's GitHub Webhook Sender • "
34 f"{local_time.strftime('%B %d, %Y at %I:%M %p')}"
35 )
36 
37 await webhook.send(embed=embed)
Messages and fences are sanitized and truncated for Discord's limits.python 3.12+

FAQ

The obvious questions.

A small tool should explain itself. If something is still unclear, the API docs are one click away.

Read the API docs
Do I need to install a Discord bot?

No. You create an incoming webhook in Discord, paste it here, and the server posts embeds to that webhook. There is no bot user to invite and no slash command to set up.

How is my Discord webhook stored?

It is encrypted at rest with Fernet using a server-side key. The generated GitHub endpoint contains only a random, hashed identifier — never your Discord URL. The API never returns the stored URL after setup.

What happens if GitHub retries a delivery?

Each X-GitHub-Delivery ID is claimed once, and each repository, branch, and commit SHA is tracked separately. Successful embeds are skipped on retry, while failed deliveries can try again.

Can I use one endpoint for multiple repositories?

Yes. Add the same payload URL and secret to as many repositories as you like. Every repository and branch is processed independently, and the embed always shows the real repo name.

How do I turn notifications off?

Delete the webhook in GitHub, delete the incoming webhook in Discord, or use the Delete setup control shown after generating your endpoint. GitHub deliveries stop immediately.