Skip to content

Instantly share code, notes, and snippets.

@tyzbit
Created August 10, 2025 02:05
Show Gist options
  • Save tyzbit/44f1018e2615422ebeed4676fa2114d5 to your computer and use it in GitHub Desktop.
Save tyzbit/44f1018e2615422ebeed4676fa2114d5 to your computer and use it in GitHub Desktop.
ACARS-Processor New Config Demo
# yaml-language-server: $schema=https://raw.githubusercontent.com/tyzbit/acars-processor/refs/heads/main/schema.json
# This file (and schema.json) are automatically generated
# from the code by running ./acars-processor -s
ACARSProcessorSettings:
ColorOutput: true
LogLevel: info
Database:
Enabled: true
SQLiteDatabasePath: ./messages.db
Type: mariadb
ACARSHub:
ACARS:
Host: acarshub
Port: 15550
VDLM2:
Host: acarshub
Port: 15555
Steps:
- Filter:
HasText: true
- Filter:
DictionaryPhraseLengthMinimum: 2
- Filter:
DuplicateMessageSimilarity: 0.9
- Annotate:
Tar1090:
URL: http://tar1090
- Filter:
BelowDistanceNm: 100.0
- Annotate:
Ollama:
Model: llama3.2
URL: http://ollama-service:11434
UserPrompt: Rate this message in terms of urgency.
- Filter:
Ollama:
Model: llama3.2
URL: http://ollama-service:11434
UserPrompt: Is this message very urgent?
- Send:
DiscordWebhook:
URL: https://discord.com/api/webhooks/1234321/unique_id1234
FormatText: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment