Add Hammerspoon hotkey examples for dictation and meeting notes#222
Merged
Conversation
Adds examples/wisprflow-hammerspoon, a push-to-talk dictation recipe that drives `assembly dictate` from a Hammerspoon hotkey: hold to record, release to SIGTERM the task and paste/type the transcript at the cursor in any app. Includes the ~100-line Lua script and a setup README, and links it from the main README's "Things you can do with it" section. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JFNUnmwzsAr7VL5NnaYwUj
Renames examples/wisprflow-hammerspoon to examples/dictation-hammerspoon (script -> dictation.lua) and adds examples/meeting-notes-hammerspoon: a one-hotkey meeting recorder built on `assembly stream` (system audio + mic, speaker labels, --auto-name, live --llm notes), with the companion justfile (record/list/search) it mirrors. Both link from the README's examples section. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JFNUnmwzsAr7VL5NnaYwUj
6f58fe1 to
3107890
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds two new example integrations that drive the AssemblyAI CLI from Hammerspoon hotkeys on macOS, making speech-to-text and meeting recording accessible without the terminal.
Changes
examples/dictation-hammerspoon/: A ~100-line Hammerspoon script that implements push-to-talk dictation (WisprFlow-style). Hold a hotkey to record, release to transcribe and insert the text at the cursor in any app. Usesassembly dictatewhich records immediately and prints the transcript on SIGTERM, enabling a clean hotkey-driven workflow.examples/meeting-notes-hammerspoon/: A Hammerspoon companion to thejustfilethat records meetings with one hotkey. Captures system audio + mic with speaker labels, auto-names the file from its content, and writes a live Markdown note via an LLM. Pairs withassembly stream --system-audio --speaker-labels --auto-name --llmfor a complete meeting-to-notes pipeline.Documentation: Each example includes a
README.mdwith setup instructions (CLI + Hammerspoon installation, permissions, configuration), usage examples, and customization options.examples/meeting-notes-hammerspoon/justfile: Terminal-driven recipes (just record,just list,just search) that complement the Hammerspoon hotkey, allowing the same workflow from the command line.Root
README.md: Updated to reference both new examples in the feature overview.Implementation details
Both scripts follow the same pattern:
assemblybinary through a login shell (Hammerspoon has a minimal PATH; Homebrew installs to/opt/homebrew/binon Apple Silicon)hs.taskto launch the CLI as a background processThe meeting-notes example additionally manages a live-updating Markdown file via
--llm, which re-runs the prompt over the growing transcript as the meeting progresses.https://claude.ai/code/session_01JFNUnmwzsAr7VL5NnaYwUj