initial commit

This commit is contained in:
RhenCloud 2026-07-24 21:48:50 +08:00
commit 512d4b01d5
No known key found for this signature in database
GPG key ID: A574A617378C4E0B
55 changed files with 6430 additions and 0 deletions

29
docs/index.md Normal file
View file

@ -0,0 +1,29 @@
---
layout: home
hero:
name: WebHooker
text: GitHub Webhook → Discord
tagline: Receive GitHub events via Cloudflare Workers, apply filters, and route formatted messages to Discord channels or threads.
actions:
- theme: brand
text: Get Started
link: /guide/getting-started
- theme: alt
text: View on GitHub
link: https://github.com/ReCloudStudio/WebHooker
features:
- title: 23 Event Formatters
details: Rich Discord embeds for push, pull_request, issues, release, workflow_run, and 18 more event types with color-coded output.
- title: Flexible Filtering
details: Filter by event type, repo, actor, action, branch (including PRs), and keyword (with regex support). Exclude patterns with a flag.
- title: Cloudflare Workers
details: Runs on Cloudflare's edge network with Durable Objects for persistent Discord Gateway connections and KV for storage.
- title: OAuth & User Actions
details: "GitHub App OAuth flow enables user-initiated actions: comment on issues, merge PRs, add reactions — all via Bearer token auth."
- title: Signature Verification
details: HMAC-SHA256 webhook signature verification using the Web Crypto API with timing-safe comparison.
- title: Graceful Degradation
details: Runs in webhook-only mode if Discord token is unavailable. Health endpoint for monitoring.
---