mattrguerra/transcription-pipelinemainPrivate on GitHub, published here in full

run-inbox.sh

Language Shell607 B11 lines

scheduling/run-inbox.sh

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