Initial commit: BLIGHT: CUE

Webhook listener that monitors Gitea repos for BLIGHT: triggers in
markdown files, processes them via Gemini 2.5 Flash-Lite, and writes
results back in-place.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-14 20:17:31 -05:00
commit 4c9fecda16
12 changed files with 523 additions and 0 deletions

15
.env.example Normal file
View File

@@ -0,0 +1,15 @@
# Gitea instance base URL (no trailing slash)
GITEA_URL=https://gitea.bunny-wyvern.ts.net
# Gitea personal access token (Settings → Applications → Generate Token)
# Needs read/write access to repository contents
GITEA_TOKEN=your_gitea_token_here
# Google Gemini API key (https://aistudio.google.com/apikey)
GEMINI_API_KEY=your_gemini_api_key_here
# Secret shared with the Gitea webhook (set this when registering the webhook in Gitea)
WEBHOOK_SECRET=your_webhook_secret_here
# Port for the webhook listener to bind on (default: 5010)
WEBHOOK_PORT=5010