Back to News
Advertisement
ppancomplex about 9 hours ago 4 commentsRead Article on github.com

DE version is available. Content is displayed in original English for accuracy.

Hey HN! I wanted to share this OSS project I've been working on.

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!

Advertisement

⚡ Community Insights

Discussion Sentiment

80% Positive

Analyzed from 120 words in the discussion.

Trending Topics

#parakeet#tdt#using#https#com#apple#mac#repository#found#link

Discussion (4 Comments)Read Original on HackerNews

eric_khun7 minutes ago
link to the benchmark against parakeet TDT v2 (the one im using now with spokenly) : https://get-inscribe.com/blog/parakeet-moss-apple-speech-ben...

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

heresalexandria10 minutes ago
I don't think get it unless I'm missing something - how is this different from just using the built in Mac OS dictation feature?

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.

__erik12 minutes ago
This is super cool! The brew install path in the readme doesn't seem to work

remote: Repository not found. fatal: repository 'https://github.com/frigadehq/homebrew-tap/' not found

pancomplex2 minutes ago
My bad - this is now fixed! Thank you!