- Rust 78.5%
- JavaScript 6.6%
- TypeScript 4%
- HTML 4%
- Shell 2%
- Other 4.9%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
* fix(ios): load Parakeet once and keep its preparation progress moving On iOS 18 Hex prepares Parakeet V2 through FluidAudio. A TestFlight tester (iPhone 14 Plus, iOS 18.6, build 56) said "Preparing model" felt stuck. What it did before (measured on an iOS 26.2 simulator with Parakeet forced): - AsrModels.downloadAndLoad loaded (and on a first run compiled) every model twice: once inside download() to check it, again in load(). - Each of those eight per-model loads reported 50% at its start and 100% at its end, so the bar went 0->50%, jumped to 100%, fell back to 50% and sat there through the encoder's compile, which takes a minute or more on an iPhone's Neural Engine and reports nothing. - The download sent ~21,700 progress callbacks in 10 s, each a main-actor task and a SwiftUI update. - The detail text was English-only and never shown. Now: - ParakeetTranscriber downloads with ModelHub.download (resumable, no load) and loads once with AsrModels.load. downloadAndLoad is no longer used. - ParakeetPreparationProgress gives the download 70% of the bar, then fills the load on a time estimate that keeps creeping however long Core ML takes, never moving back and never reaching 100% before Core ML is done. - Copy per phase, with zh-Hans: "Checking the speech model", "Downloading the speech model", "Optimizing for this iPhone… about a minute" (first compile), "Still optimizing. The first time can take a few minutes." (past twice the estimate), "Loading the speech model" (later launches). - ParakeetCompileRecord remembers the iOS build Core ML last compiled for, so later launches say Loading and use the short estimate. - Progress goes out at most 10 times a second (79 events for a first run). - Home's preparing row and its handoff status line show the detail instead of "Preparing model…"; onboarding's Almost ready shows it beside the percentage. - ParakeetLoadGuard now marks only the load, not the download, so a download cut off by a quit doesn't read as "closed while loading, short of memory". - Invalid artifacts from FluidAudio map to the plain download error too. Verified: xcodebuild test on an iOS 26.2 iPhone 14 Plus simulator (492 passed, 1 skipped); first run 467 MB in 7.8 s, load 1.6 s, relaunch 0.4 s; recordings of home and onboarding in English and Chinese with a simulated 40 s compile. The simulator compiles on the Mac, so real iPhone compile time is unmeasured. * fix(ios): pick up a model download iOS cut off in the background A preparation interrupted by going to the background could end up failed until the person tapped Try again: - StallWatch measured with ContinuousClock, which keeps counting while iOS has Hex suspended. Back in the foreground after 90 s or more, the first poll saw no progress for over the limit and cancelled the download with "The download stopped". A poll that comes back over 5 s late now counts as a suspension and restarts the wait. - Preparation now holds a background task, so iOS gives a download or compile a few more seconds after Hex leaves the screen. - A download failure (stall, URL error, Parakeet download error) that happens while Hex is in the background is tried again once when Hex is active again. FluidAudio resumes each file from its .partial with Range/If-Range, so nothing already downloaded is fetched again. A failure while Hex is open still waits for Try again. FluidAudio streams through its own default-configuration URLSession data tasks and has no hook for a background URLSession, so a download can't keep running while Hex is suspended. Verified: xcodebuild test on an iOS 26.2 iPhone 14 Plus simulator (492 passed, 1 skipped), including the new retry-on-return tests. |
||
| .cargo | ||
| .cloudflare/cache | ||
| .config | ||
| .github | ||
| android | ||
| app | ||
| assets | ||
| crates | ||
| design | ||
| docs | ||
| ios | ||
| macos/HexMicrophoneDriver | ||
| native | ||
| nix | ||
| packaging | ||
| perf | ||
| prototypes/app-shell | ||
| release-notes | ||
| resources | ||
| scripts | ||
| sdk | ||
| site | ||
| skills/hex-personal-commands | ||
| src | ||
| tests | ||
| .gitignore | ||
| .hivemind.toml | ||
| .markdownlint-cli2.jsonc | ||
| AGENTS.md | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| clippy.toml | ||
| CONTRIBUTING.md | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
| ROADMAP.md | ||
| SECURITY.md | ||
| strobe.json | ||
| THIRD_PARTY_NOTICES.md | ||
Hex
Hex is local voice dictation for Mac, Windows and Linux. Hold a key, speak, and it pastes.
How it works
- hold the shortcut, speak, then let go
- Hex transcribes on your device and pastes into whatever app you're in
- the first run downloads a speech model; after that nothing leaves your machine
- experimental features live in Labs, at the bottom of the sidebar
What it does
- hold the shortcut to dictate, or set Shortcut mode to Tap to start and stop with a press
- the text lands at the cursor in whatever app you're in
- Option-Shift-V pastes the last dictation again (Ctrl-Alt-V on Windows and Linux)
- History keeps your dictations, searchable, for 7 days by default
- Output runs every dictation through steps you choose (word replacements, built-in cleanups, your own scripts, an optional OpenCode rewrite), with different steps per app or website
- Vocabulary is one list of names Hex should know; Whisper and Qwen3-ASR read it while transcribing, Parakeet models read it with Labs › Vocabulary help on, and the OpenCode rewrite uses it
- Annotate records the screen while you draw and talk, on macOS, Linux and Windows (GNOME Wayland needs Labs › Annotate on GNOME)
- an authenticated local API and the TypeScript SDK transcribe with the same model, for your own tools
- Meetings is a macOS lab that records a call and writes the transcript
Output and History:
Speech models
Hex downloads one model the first time it runs and transcribes with it on your
machine from then on. On an English system that's Parakeet Unified English: it
writes while you talk, so the text is ready when you let go. Other languages
start with the model recommended for them. That model also serves meetings and
hex transcribe.
Settings' picker offers more, among others:
- Parakeet v3: 25 European languages, and it hears which one you speak
- Cohere Transcribe: the fewest wrong words, in 14 languages; a big download
- Whisper large-v3-turbo: almost any language, and it reads your vocabulary
- Qwen3-ASR 0.6B: Chinese and 29 more, and it reads your vocabulary
- SenseVoice Small: Chinese, Japanese, Korean and English; a small download
- Nemotron 3.5 ASR: writes while you talk, in 27 languages
- Granite Speech 5.0: IBM's model, seven languages, with punctuation
- one-language models: ivrit.ai Whisper for Hebrew, GigaAM v3 for Russian, NB-Whisper for Norwegian, KB-Whisper for Swedish, QwenCleo-ASR for Egyptian Arabic
- more English models: Parakeet v2 and Underdog Bark 3.0
Add a GGUF model of your own with "Add model file…" in the picker; see your own speech models.
Downloads
Stable is the current release. Dev is the newest build of dev and updates
itself from the dev channel.
| Platform | Stable | Dev |
|---|---|---|
| macOS (Apple silicon) | DMG | DMG |
| Windows x64 | Installer | Installer |
| Windows ARM64 | Installer | Installer |
| Linux x86_64 | Executable | Executable |
| Linux x86_64 (Debian, Ubuntu) | .deb | .deb |
| Linux x86_64 (Fedora, openSUSE) | .rpm | .rpm |
| Linux ARM64 | Executable | Executable |
| Linux ARM64 (Debian, Ubuntu) | .deb | .deb |
| Linux ARM64 (Fedora, openSUSE) | .rpm | .rpm |
Or install with:
- Homebrew:
brew install --cask anomalyco/tap/hex - AUR:
yay -S hex-bin - install script (Linux):
curl -fsSL https://anoma.ly/hex/install-linux.sh | sh - Nix (Linux):
nix profile add github:anomalyco/hex
Command line
hex transcribe meeting.m4a prints a recording's transcript, whether or not
the app is running. It reads WAV, AIFF, CAF, FLAC, MP3, Ogg, WebM, and
MP4/M4A/MOV, including a video's soundtrack. The same hex controls the
running app (hex status, hex dictation, hex settings); see
docs/cli.md.
On macOS the CLI is inside the app. Homebrew links it for you; otherwise link
it somewhere on your PATH that you own:
ln -s /Applications/Hex.app/Contents/MacOS/hex ~/.local/bin/hex
Linux and Windows installs put hex on your PATH.
More docs are in docs/.
Contributing
We don't take pull requests. Open an issue describing the bug or idea, and our agents usually turn it around fast.
MIT licensed.