24 lines
1.2 KiB
Bash
24 lines
1.2 KiB
Bash
# Copy to ~/.config/wiki-llm-watcher/env and run: chmod 600 ~/.config/wiki-llm-watcher/env
|
|
# Lines are KEY=VALUE. No export, no shell expansion (use absolute paths).
|
|
|
|
# Absolute path to the vault root, and the inbox folder inside it
|
|
WIKI_VAULT_ROOT=/Users/YOURNAME/Documents/wiki-llm
|
|
WIKI_RAW_DIR=raw
|
|
|
|
# n8n Webhook node PRODUCTION URL (the workflow must be Active; the "test" URL only works
|
|
# while you are listening in the editor)
|
|
WIKI_WEBHOOK_URL=https://n8n.example.com/webhook/wiki-llm-intake
|
|
|
|
# Header-auth credential configured on the Webhook node
|
|
WIKI_AUTH_HEADER=X-Webhook-Secret
|
|
WIKI_AUTH_SECRET=change-me
|
|
|
|
# Optional tuning (defaults shown)
|
|
# WIKI_POLL_SECONDS=20 # how often to scan raw/
|
|
# WIKI_STABLE_SECONDS=10 # file must be unchanged this long before it is posted
|
|
# WIKI_POST_DELAY=0.5 # pause between POSTs during a burst
|
|
# WIKI_TIMEOUT=30 # HTTP timeout per POST
|
|
# WIKI_IGNORE_NAMES=AGENTS.md,CLAUDE.md,.hermes.md,README.md,SCHEMA.md # file names never posted, at any depth (case-insensitive)
|
|
# WIKI_EXTENSIONS=.md # comma-separated, or * for all (keep in sync with n8n's path allowlist)
|
|
# WIKI_STATE_DB=~/.local/state/wiki-llm-watcher/seen.db
|