Skip to content
levupsPublic

About

Fast, lightweight voice dictation for the Mac, transcribed on-device (Apple's SpeechAnalyzer, macOS 27)

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Blablabla

Fast, lightweight voice dictation for the Mac: the transcription happens on your Mac, with Apple's speech recognition engine (SpeechAnalyzer). Neither your voice nor your text ever leaves the machine.

  1. ⌃⌥⇧Space (configurable): a Liquid Glass pill appears at the bottom of the screen, its waveform following your voice. Above it, the text writes itself as a subtitle while you speak (can be turned off in Settings).
  2. ↩︎ inserts the text into the app you were writing in, without ever sending or submitting anything. ⎋ cancels.
  3. Holding the shortcut down and releasing it inserts too (walkie-talkie mode).

Pause, then say « à la ligne » or « nouveau paragraphe » ("new line", "new paragraph" in English) to break the line. Dictated right after a word, the text comes in with the missing space. Dictation defaults to the Mac's language, and you can pick another in Settings, along with the soft sounds at the start and the end.

Blablabla keeps a history of your dictations (text only, never audio). ⌃⌥⇧H opens it from the keyboard, and so does "History…" in the menu bar: search for a dictation, and ↩︎ pastes it where the cursor is. "Custom Words…" in the menu bar takes names, jargon and acronyms for the dictation to get right.

The app speaks every language macOS offers: English, Arabic, Catalan, Chinese (Simplified and Traditional), Croatian, Czech, Danish, Dutch, Finnish, French, German, Greek, Hebrew, Hindi, Hungarian, Indonesian, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese (Brazil and Portugal), Romanian, Russian, Slovak, Spanish, Swedish, Thai, Turkish, Ukrainian and Vietnamese.

Requirements: an Apple silicon Mac running macOS 27 or later.

Install

curl -fsSL https://raw.githubusercontent.com/levups/blablabla/main/scripts/install.sh | sh

This installs the latest release in /Applications and opens it. On first launch, Blablabla explains the two permissions it needs (Microphone, and Accessibility to paste the text) and opens the right System Settings pane; macOS also downloads its dictation model for your language if it doesn't have it yet.

The script checks the archive's checksum and that the app is signed with Blablabla's key before it touches anything. Running the same command again updates (BLABLABLA_VERSION=1.0.0 for a given version).

The app is not notarized by Apple. Downloaded by curl, it isn't quarantined and opens straight away. If you download Blablabla.zip from the releases page with a browser instead, macOS blocks it on first launch: open it once, then go to System Settings › Privacy & Security › "Open Anyway".

Updates

Blablabla checks at launch, then every 12 hours, whether a new version is out: a single anonymous request to the GitHub API, which you can turn off in Settings. When there is one, the menu offers to install it: Blablabla downloads the archive, checks its checksum and that the app is signed with Blablabla's key, puts it in place of the old one, then opens again. Nothing downloaded runs before that check. Every version is signed with the same key, so macOS keeps the permissions from one version to the next.

Why it's so light

Blablabla ships no speech recognition model: it uses the one in macOS 27, already on the Mac and shared with the system. As a result:

  • 1.4 MB for the app (under 500 KB to download), about 16 MB of memory at rest, no dependencies. Apps that bundle Whisper or Parakeet weigh hundreds of MB, even GBs.
  • A very good model. On the same sentence dictated in French in a trial, macOS's built-in dictation wrote "poêle Quest", "GT" and "commis"; Blablabla wrote "poule request", "GitHub", "commit" and "meeting". One trial, not a benchmark; custom words help with stubborn jargon.
  • Near-instant. The final text is ready about 50 to 70 ms after ↩︎; the microphone opens in 40 ms.
  • Nothing to update on the model side: Apple improves it with macOS.

Blablabla targets macOS 27 to get the latest version of this engine and the latest system APIs (Liquid Glass, Swift 6.4).

Build

./bundle.sh
open build/Blablabla.app

bundle.sh builds in release mode with SwiftPM and assembles build/Blablabla.app, with the UI translations compiled from Resources/*.xcstrings by scripts/xcstrings.swift: the Command Line Tools are enough, Xcode isn't needed (CI checks the result against Xcode's own xcstringstool). Any build not signed "Blablabla Release" is "Blablabla Dev" (fr.levups.blablabla.swift.dev): its own permissions and preferences, so it never takes over the installed app's Accessibility grant, its own history, words and log (Blablabla Dev), and no self-update. It signs with the "Blablabla Dev" identity, a self-signed certificate kept in 1Password: scripts/import-dev-identity.sh puts it in the login keychain, once per Mac, so macOS keeps the test build's permissions from one build to the next. Without it the build is signed ad hoc and macOS asks again after every build. BLABLABLA_SIGN_IDENTITY picks another identity. scripts/test.sh runs the tests.

Written in Swift 6.4 in Swift 6 language mode (concurrency checked by the compiler), SwiftUI and AppKit, with no dependencies. Log: ~/Library/Logs/Blablabla.log. History and words: ~/Library/Application Support/Blablabla/.

Translations

English is the source language. Every UI string lives in Resources/Localizable.xcstrings (the permission prompts in Resources/InfoPlist.xcstrings), with a translation for each language the app speaks. Corrections from native speakers are welcome.

Release a version

A release is a pull request that bumps the version in Support/Info.plist (CFBundleShortVersionString, and CFBundleVersion, a build number that only goes up) and adds its ## <version> section to CHANGELOG.md. Once merged, the Release workflow tests, builds, signs with the Blablabla Release key (kept in the release GitHub environment, which only main can use) and publishes Blablabla.zip and SHA256SUMS under the tag v<version>. Every pull request already goes through the same path as a dry run (scripts/release.sh --dry-run), install included.

License

MIT. By Level UP Solutions.

About

Fast, lightweight voice dictation for the Mac, transcribed on-device (Apple's SpeechAnalyzer, macOS 27)

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages