run-inbox.sh
Language Shell607 B11 lines
#!/bin/zsh# Called by launchd whenever the inbox changes. Edit the paths, then load the# plist (see docs/SETUP.md). Tokens come from the Keychain, not from here.export TP_ROOT="$HOME/Transcription" # holds inbox/ transcripts/ done/ failed/export TP_VAULT_INBOX="$HOME/Vault/Inbox" # also file the .md here; delete to skipexport TP_ENGINE="local" # or deepinfra (hosted; uploads the audio)export TP_FORMATS="txt,md,json"export PATH="/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin"exec "$HOME/transcription-pipeline/.venv/bin/transcribe" inbox