104 points · by pancomplex · 4mo ago · 44 comments
It's called Yap and its a small menu-bar app for macOS that does voice to text for any input. You'll set a hotkey, press it, talk, press it again, and the text gets pasted into whatever field you were in. Everything runs locally and never leaves your computer. Fully OSS and MIT licensed.
With macOS 26, Apple recently added two new APIs, SpeechAnalyzer and SpeechTranscriber, that do streaming on-device speech to text using models the OS ships and manages. So the app ships no model of its own and loads nothing before the first word. A recent benchmark put Apple's model slightly ahead of Whisper Small on accuracy and about 3x faster (see: https://news.ycombinator.com/item?id=48894752). On Mac, there's really no need anymore to download models or pay for expensive APIs.
A lot of existing dictation tools do one of a few things I wanted to avoid with this OSS project. They either:
- cost money (for something that's literally built into the OS)
- bundle memory-intensive models (e.g. Whisper or Parakeet)
- webapps wrapped in Electron
- Intel macs straight up don't work
- closed source
- use third-party APIs that will have access to all your transcripts
It's around 3,000 lines of native Swift in a 4 MB app and idles near 60 MB of memory. Audio comes off AVAudioEngine into SpeechAnalyzer with volatile results turned on for the live preview, history is stored in SwiftData. There's no network code in it at all.
Repo and a demo available here: https://github.com/FrigadeHQ/yap
Happy to answer questions and would love to hear any feature requests!
At first I thought it was going to be a CLI/package to interface with that API which sounded interesting, but I already use a hotkey to dictate text on my Mac via the OS.
This project uses the on-device SpeechAnalyzer API directly and makes zero network calls, and since it's open source you can verify that nothing leaves your Mac. It also keeps a local searchable history. Finally, I also added press-to-stop with a preview so you can cancel a bad take before it inserts, instead of typing live (very useful in terminal).
What type of package were you hoping it was?
That definitely changes my take and I'm interested in trying this!
My initial assumption was that this was something I could invoke via CLI or within scripts to transcribe audio from files or user input using on-device models, which is something I would presently probably use Whisper for.
1) install the dmg in the GH repo
2) turn off wifi
3) use it offline
I mostly use the MacWhisper app until now, but I got frustrated by its slow development and lack of focus and dictation. So I tried the free TypeWhisper app. It works very well, but then I tested multiple models and my conclusion was that one cannot beat the Whisper Large v3 model for accuracy. I tried Qwen ASR (very good, but only for English), Voxtral (spoke Polish to it and it wrote Russian, BIG oopsie), Parakeet TDT 3 (very fast, but sometimes inaccurate).
I got frustrated by the speed of the Whisper Large model. So I spent an hour with AI benchmarking, testing and developing a new plugin. Turns out that on a modern Mac with a good GPU you can run the Whisper Large model at roughly the same speed as the tiny Parakeet model. 2-3x faster than what other apps ship. It's just that nobody bothered.
So, I am now happily dictating into TypeWhisper and then feeding the dictated text into a local gemma-4-26b-a4b-qat LLM for corrections. Everything happens instantly.
This is exactly why I made TypeWhisper’s engine and plugin layer extensible. The best setup depends heavily on language, hardware, and workload. Your result that Large v3 can run close to Parakeet speeds on a modern Mac is especially interesting, as is your fully local Whisper plus Gemma correction workflow.
If you’re comfortable sharing the plugin or benchmark setup, I’d be very interested in taking a closer look and seeing whether it could benefit more users. Either way, thank you for putting so much time into this and contributing your findings back to the project.
The Apple Foundation models SDKs are surprisingly cool. I recently started working on a personal productivity app that tries to keep track of all the projects I work on, and the ideas and initiatives within these. It does so by creating a graph of events, fed by Claude transcripts and the git and browser history, then letting FM summarize and describe all events; that in turn feeds a semantic search index in an SQLite database.
What I have now is an app that shows me where all my projects stand, what I last worked on, where I left forks behind (like deciding for one idea and doing something else "later"), and how to get back into something I wasn’t working on for a while. It also has a built-in MCP server, so I can ask Claude code about any past event or decision or roughly-similar keyword, and it’ll get sensible answers back!
Called the thing Pensieve :-)
However, one thing still missing is actually being able to ask it directly, or talk to it, so Yap looks like a great opportunity to learn!
This project uses the on-device SpeechAnalyzer API directly and makes zero network calls, and since it's open source you can verify that nothing leaves your Mac.
I do see the input being listed to — there's an audio graph animated as I speak (~US English), though it appears to be late in picking up my speech. Only my second "test?" is represented in the graph as it moves leftwards.
I went through all the permissions, they show as checked.
I also had a crash once, I've submitted the crash report.
Using the DMG from GitHub.
- Remove the presence of the Dock icon. Yap is the kind of app you just want as a menu bar utility. Like Whisper.
- Add a "Settings..." menu item to the main Yap menu with `Command-,` as a shortcut. This will align it with other apps.
- I couldn't enter F13 as a shortcut.
- I saw there's a transcript history of input. I kind of don't want that to be there. I believe input should be ephemeral and not logged.
And interesting re: history - it does have the option to clear, but you’d want that as a setting?
Trying to keep the amount of settings to a minimum - personally finding it overwhelming when apps have too many bells and whistles lol
W.r.t. the history — I'm just saying I don't want my input to be logged at all. It has no utility. It can be discarded as soon as it's pasted. I don't want to maintain a log by pressing Clear every now and then.
remote: Repository not found. fatal: repository 'https://github.com/frigadehq/homebrew-tap/' not found
NVIDIA Parakeet TDT v2 still best, but look like apple is not far behind.
i'd be happy to switch to yours if you add parakeet support, but that ight defy the purpose of the repo