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:
10
config.py
Normal file
10
config.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import os
|
||||
from dotenv import load_dotenv
|
||||
|
||||
load_dotenv()
|
||||
|
||||
GITEA_URL = os.environ["GITEA_URL"].rstrip("/")
|
||||
GITEA_TOKEN = os.environ["GITEA_TOKEN"]
|
||||
GEMINI_API_KEY = os.environ["GEMINI_API_KEY"]
|
||||
WEBHOOK_SECRET = os.environ["WEBHOOK_SECRET"]
|
||||
WEBHOOK_PORT = int(os.environ.get("WEBHOOK_PORT", 5010))
|
||||
Reference in New Issue
Block a user