Skip to content

Automation

rex:// URL scheme

Anything that can open a URL can drive the app:

URL Effect
rex://record Start a recording (ignored while one is running)
rex://record?title=Weekly%20sync Start a recording with a title
rex://stop Stop the current recording
rex://toggle[?title=…] Start or stop
rex://open Show the main window
rex://open?id=<uuid> Show one meeting (id from meeting.json or rex list --json)
rex://settings Open Settings
open "rex://toggle"

A malformed link is reported in the app's status line, never fatal. Launch Services learns the scheme the first time Rex.app runs; rex doctor tells you which bundle it resolves to.

Raycast

Examples/raycast/ holds script commands - Rex: Record Meeting, Stop Recording, Toggle Recording, Open Rex, Record Meeting As… (with a title argument). Add the folder in Raycast › Extensions › Script Commands. They are one-liners around open "rex://…", so they work from Shortcuts, Alfred or Keyboard Maestro as well.

CLI

rex shares the engine and config with the app.

Command
rex record [--title T] [--duration N] Record until Ctrl-C (or N seconds)
rex stop Ask the running app to stop recording (via rex://stop)
rex transcribe <folder | file> [--model id] [--no-aec] [--mic-delay-ms N] [--layout …] [--out dir] Run the pipeline
rex import <audio> [--title T] [--layout …] [--no-transcribe] Import an audio file
rex list [--json] List meetings
rex search <words…> [--json] Search titles (substrings) and transcripts (word prefixes)
rex export <folder…> [--format md,srt] [--audio] [--to dir] Export
rex devices [--probe N] Devices, chosen mic, optional level probe
rex doctor [--probe] Health check; exits 1 on a failure
rex config show \| path Effective config as TOML / file path
rex reindex Rebuild the SQLite index from the meetings folder
rex run-workflow <name> <folder> Run a configured workflow on a meeting folder

--config <path> on every command selects another config file; rex list, rex search and rex reindex take --index <path> for a non-default index database.