Recipes
Shortcuts, Raycast and Automator don't read your shell profile, so write the full path, ~/.local/bin/glimpse.
| Command | Use it for |
|---|---|
| glimpse transcribe "$@" | A Finder Quick Action that writes a text file next to each file |
| glimpse library import "$@" --open | A Finder Quick Action that adds files to the Library |
| glimpse history last | pbcopy | A Shortcut that copies your last dictation |
| glimpse dictionary add "$1" | A Shortcut that adds a word to your dictionary |
| glimpse history search "$1" --limit 20 --json | A Raycast command that searches History |
| glimpse model set "$1" | A Raycast command that switches models |
| glimpse record start | Starting a recording from anywhere |
| glimpse record finish --json | Finishing it, and getting the new Library item |
| glimpse status --json | Checking the pill before a Shortcut starts a job |
| glimpse open library | Opening Glimpse on a screen |
Finder Quick Action
In Automator, make a Quick Action that receives audio files in Finder, add Run Shell Script, set Pass input to "as arguments", and use:
~/.local/bin/glimpse transcribe "$@"With Glimpse open, right-click a recording and choose Quick Actions. The transcript appears next to it.
Convert first
Glimpse reads wav, mp3, m4a, aac, ogg, flac, mp4, mov, webm and mkv on its own. For anything else, install FFmpeg, or convert to WAV:
ffmpeg -i input.mov -ar 16000 -ac 1 -c:a pcm_s16le output.wavMore
Glimpse for Raycast does most of this already. Agents can use the MCP server, and your own scripts can run from a key or a phrase as Actions.