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

34
SpecSheet.md Normal file
View File

@@ -0,0 +1,34 @@
# Name:
TBD. Will need help thinking of a name.
# Objective:
Create a script/tool/project that can monitor a gitea repo full of markdown files, look for a specific text trigger, and then follow the instructions listed after that trigger.
For example, lets say the trigger text is "BLIGHT: "
Example triggers could be:
"BLIGHT: Explain to the differences of the two grammer points mentioned in the above paragraph."
"BLIGHT: Please format this document"
"BLIGHT: Can you spell check this page"
"BLIGHT: Look at the rest of the doc and write a conclusion paragraph please"
I'm currently thinking to use Gemini with an API key, but if openrouter seems like the better (or cheaper) option, we can go with that.
# Process
1. Script checks for text trigger
2. Script process instructions after trigger
3. Script carries out instructions after trigger
4. Script replaces the trigger and instructions with result of aforementioned instructions.
# Additional Notes
- As mentioned, the files that need to be watched are currently on a gitea server. We can pull them, change them, then push them, or if there's some better way, I'm open to suggestions.
- This will be part of a much bigger ecosystem, simply known as "BLIGHT".