Skip to content

Add macwhisper extension - #33883

Merged
raycastbot merged 10 commits into
raycast:mainfrom
JohanDevl:ext/macwhisper
Nov 27, 2026
Merged

raycastbot merged 10 commits into
raycast:mainfrom
JohanDevl:ext/macwhisper

Conversation

@JohanDevl

@JohanDevl JohanDevl commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Description

Adds MacWhisper, an extension for MacWhisper, the on-device transcription app for macOS.

It is a thin wrapper around the mw command-line tool that ships with MacWhisper 15.11+. Every call uses execFile/spawn with an argument array (no shell). Transcription runs locally in MacWhisper; only Summarize Recording and the @macwhisper tools send transcript text to Raycast AI (Raycast Pro).

Commands

Command What it does
Transcribe File Pick files (the Finder selection is filled in), choose model, language, format (txt, srt, vtt, json, csv, md, html, avid), speaker detection and timestamps. Single plain-text transcripts stream in as they are produced.
Transcribe Finder Selection No-view: transcribes the files selected in Finder and copies the transcript.
Transcribe Latest Recording Transcribes the newest audio/video file in configurable recording folders.
Batch Transcribe Folder Transcribes a whole folder (optionally recursive) into transcript or subtitle files, then lists the results with a preview.
Watch Folder Background command (10 min interval): new recordings added to a folder get a transcript next to them. Existing files are left alone and mw is only called when there is something new.
Summarize Recording Transcribes, then asks Raycast AI for a summary, action items, a translation, a follow-up email, YouTube chapters, or a custom prompt. The answer language (same as the recording by default) and the AI model (Raycast's default by default) can be chosen.
Generate Subtitles No-view: SRT or VTT files next to the videos selected in Finder.
Export Presets Saved export settings, with built-in presets for subtitles, meeting notes, timestamped text and Avid.
Manage Models Lists downloaded models and switches the active one.
Active Model Menu bar item showing the active model, with quick switching (no background interval, so it never launches MacWhisper on its own).

AI extension

@macwhisper exposes four tools (translation, e.g. "make French subtitles", is done by the AI from the original-language transcript): transcribe-audio (optionally as subtitles, grouped by speaker, or written to a file), list-recent-recordings, list-models and select-model. Writing over an existing file and changing the active model ask for confirmation. The manifest includes AI instructions and evals.

Notes for reviewers

  • Requires MacWhisper 15.11 or later with at least one downloaded model. The mw binary is found at /usr/local/bin/mw or inside MacWhisper.app (/Applications, ~/Applications, Setapp, or via Spotlight), and can be overridden in the preferences. Clear errors are shown when MacWhisper is missing or too old to have the CLI.
  • MacWhisper does not need to be open: mw starts it on demand.
  • The extension icon is MacWhisper's own app icon.

Screencast

Transcribe File
Meeting notes by speaker
Action items with Raycast AI
@macwhisper in Quick AI
Export presets

Checklist

- feat: browse batch transcripts with a preview when the batch finishes
- Revert "fix: use typed folder paths in Batch Transcribe Folder instead of the open panel"
- fix: use typed folder paths in Batch Transcribe Folder instead of the open panel
- fix: fill folder and file fields from Finder so the picker is optional
- style: format AI task prompts
- docs: add Store screenshots
- fix: keep placeholder owners out of AI action items
- fix: explain empty transcripts instead of showing a blank result
- chore: ignore local dist build
- refactor: remove redundant commands
- refactor: merge Live Transcript into Transcribe File
- docs: note that mw starts MacWhisper on demand
- feat: add subtitle translation, chapters and folder watching
- feat: add tier 2 commands, recent recordings AI tool and MacWhisper icon
- feat: add MacWhisper Raycast extension
@raycastbot raycastbot added new extension Label for PRs with new extensions AI Extension platform: macOS labels Nov 23, 2026
@raycastbot

Copy link
Copy Markdown
Collaborator

Congratulations on your new Raycast extension! 🚀

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 15 business days.

Once the PR is approved and merged, the extension will be available on our Store.

@greptile-apps

greptile-apps Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · No blocking findings remain in the reviewed changes.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] No blocking findings remain in the reviewed changes.

Summary

Adds MacWhisper commands for local transcription, subtitles, saved export settings, folder watching, and model selection, plus Raycast AI tools.

  • Raycast can start MacWhisper transcription from files, Finder, or recent recordings.
  • Folders can produce transcripts in batches or as new recordings arrive.
  • Raycast AI can answer questions about MacWhisper transcripts and recordings.
  • Saved export presets make transcription settings reusable.
  • People can see and switch MacWhisper models from Raycast.
  • The extension's setup files explain its MacWhisper requirements and usage.

Reviews (8) · Last reviewed commit: "Update CHANGELOG.md and optimise images" · Reviewed by Greptile

Comment thread extensions/macwhisper/package.json Resolved
Comment thread extensions/macwhisper/README.md Resolved
Comment thread extensions/macwhisper/package.json Resolved
@JohanDevl
JohanDevl marked this pull request as ready for review November 23, 2026 15:26

@0xdhrv 0xdhrv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @JohanDevl 👋

Thanks for building such a thorough MacWhisper extension, the argument array process calls and the clear errors when MacWhisper is missing or too old are a nice touch 🔥

Here's everything I found in this pass:

Blocking

  • Please remove macwhisper-4.png from metadata/. It shows an AI Chat conversation (an @macwhisper prompt answered by a model), which is model output rather than the extension's own views. The other four screenshots already cover the extension.

    As mentioned in our docs here ↗

Should fix

  • In src/watch-folder.ts, a long recording can get the background run terminated, because Raycast ends background commands after a timeout tied to the interval. The lock taken at line 104 then stays set for 2 hours (STALE_LOCK_MS, line 18), and the file is only added to state.done at line 120, so it is retried and killed again every time. Could you record the file as attempted before calling transcribeFileTo, and shorten the stale lock window to about one interval?

    state.done.push(path);
    await saveState(state);
    await transcribeFileTo(path, sidecarPath(path, format), { format });

    As mentioned in our docs here ↗

When the blocking items are done, request another review 😊

Feel free to reach me here or on Slack if anything is unclear.

@0xdhrv
0xdhrv marked this pull request as draft November 26, 2026 17:03
@0xdhrv 0xdhrv self-assigned this Nov 26, 2026
@JohanDevl

Copy link
Copy Markdown
Contributor Author

Hey @0xdhrv, thanks for the thorough review! 🙏

Both points are addressed in the latest commit (fix: address second Store review):

Blocking

  • Removed the AI Chat screenshot. I renamed the former macwhisper-5.png to macwhisper-4.png to keep the numbering continuous, so the diff shows macwhisper-4.png as modified and macwhisper-5.png as deleted. The four remaining screenshots only show the extension's own views.

Should fix

  • src/watch-folder.ts now records each recording in state.done and saves the state before calling transcribeFileTo, so a run terminated by Raycast no longer retries (and gets killed on) the same file every interval.
  • STALE_LOCK_MS went from 2 hours to 10 minutes, matching the command's 10m interval.

I also added a line to the README saying that a recording whose transcription failed or was interrupted is not retried automatically, and that it can be transcribed with Transcribe File instead.

Ready for another look when you have a moment 😊

@JohanDevl
JohanDevl marked this pull request as ready for review November 27, 2026 10:14

@0xdhrv 0xdhrv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit 3dcc582 into raycast:main Nov 27, 2026
3 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

@raycastbot

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

@JohanDevl
JohanDevl deleted the ext/macwhisper branch November 27, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Extension new extension Label for PRs with new extensions platform: macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants