Initial git webhooks service
All checks were successful
check / check (push) Successful in 14s

This commit is contained in:
matamune 2026-05-12 21:06:22 +00:00
commit 0ba9b9f95c
Signed by: matamune
GPG key ID: 3BB8E7D3B968A324
17 changed files with 705 additions and 0 deletions

32
README.md Normal file
View file

@ -0,0 +1,32 @@
# git-webhooks
Containerized Bun service for GitHub and jojo.build webhooks.
## Endpoints
```text
GET /healthz
POST /git-webhooks/jojo
POST /git-webhooks/github
```
## Environment
```text
HOST=0.0.0.0
PORT=3000
DATA_DIR=/app/data
JOJO_WEBHOOK_SECRET=...
GITHUB_WEBHOOK_SECRET=...
```
## Development
```bash
bun install
bun run check
bun run dev
```
Accepted webhook events are appended to `DATA_DIR/events.jsonl`; queued work
items are appended to `DATA_DIR/jobs.jsonl`.