Skip to content

feat: github sponsors webhook ingress - #1061

Merged
Xe merged 14 commits into
mainfrom
me/site-10-github-sponsors-webhooks
Nov 1, 2025
Merged

feat: github sponsors webhook ingress#1061
Xe merged 14 commits into
mainfrom
me/site-10-github-sponsors-webhooks

Conversation

@Xe

@Xe Xe commented Nov 1, 2025

Copy link
Copy Markdown
Owner

Part of the vibe coding post research. Done with GLM 4.6, Claude Code, and Linear.

Closes SITE-10

Xe added 10 commits November 1, 2025 11:38
Signed-off-by: Xe Iaso <me@xeiaso.net>
Signed-off-by: Xe Iaso <me@xeiaso.net>
Signed-off-by: Xe Iaso <me@xeiaso.net>
Signed-off-by: Xe Iaso <me@xeiaso.net>
- Create xesitectl command using github.com/google/subcommands framework
- Implement test-webhook subcommand with comprehensive options
- Support all GitHub Sponsors event types (created, edited, cancelled, etc.)
- Load configuration from environment variables with godotenv/autoload
- Generate realistic mock sponsorship events with proper HMAC signatures
- Support custom webhook URLs, secrets, and sponsorship parameters
- Add comprehensive help documentation and examples
- Enable verbose logging for debugging webhook requests

Usage:
  xesitectl test-webhook -action created -sponsor testsponsor -tier "Pro Tier"
  xesitectl test-webhook -action cancelled -sponsor oldsponsor -url https://myapp.com/hook
Example environment variables for xesitectl test-webhook command:
- GITHUB_SPONSORS_SECRET: Webhook secret for HMAC signatures
- WEBHOOK_URL: Custom webhook endpoint URL
- TEST_SPONSOR: Default sponsor login name
- TEST_TIER: Default sponsorship tier name
- TEST_PRICE: Default monthly price in dollars
Signed-off-by: Xe Iaso <me@xeiaso.net>
@Xe Xe self-assigned this Nov 1, 2025
@linear

linear Bot commented Nov 1, 2025

Copy link
Copy Markdown

Xe added 4 commits November 1, 2025 14:32
Signed-off-by: Xe Iaso <me@xeiaso.net>
Signed-off-by: Xe Iaso <me@xeiaso.net>
Signed-off-by: Xe Iaso <me@xeiaso.net>
…e on ingress

Signed-off-by: Xe Iaso <me@xeiaso.net>
@Xe
Xe merged commit 0933293 into main Nov 1, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant