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>
16 lines
560 B
Plaintext
16 lines
560 B
Plaintext
# 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
|