No description
  • Rust 78.5%
  • JavaScript 6.6%
  • TypeScript 4%
  • HTML 4%
  • Shell 2%
  • Other 4.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 9427d069bf
iOS: onboarding follows the desktop flow (#2136)
* iOS: launch screen in the app's first-frame black

The launch screen's LaunchBackground was a dark teal (sRGB 7,17,20, shown
as about 2,17,19) for the ~1.5 s before the app's first frame, which is
HexTheme.bgDeep (0x0A0B0D). It now uses bgDeep's exact components, so
launch hands over to the app without a colour jump.

Verified: built for Simulator; fresh-install launch recorded.

* iOS: onboarding follows the desktop's pages, with the polish fixes

Dax found the iPhone onboarding annoying; Ryan and Dax asked for the
desktop's flow. The three pages (Welcome, Set up Hex, Try the keyboard)
become the desktop's six, in its order and copy style:

1. Setting up Hex: the speech model starts downloading as onboarding
   opens (whichever engine transcriberFactory picks). Before, only home's
   "Set up" started a Parakeet download, so onboarding said "You're all
   set" while home said "Finish setup · 1 step". A launch that found
   Parakeet ended mid-load stays failed (ParakeetLoadGuard) until Try
   again. Moves on after a beat; a failed start holds it with Try again.
2. With Hex: a short demo, a reply dictated with the Hex key. Skip.
3. Let Hex hear you: Microphone and Hex keyboard rows with a one-line
   detail that stays (steady heights) and one-line copy ("With Full
   Access", no mid-phrase wrap). A done row shows only its check (the
   Keyboard row used to keep its Open Settings pill). The pill and the
   page's button say Continue before iOS's prompt (App Review 5.1.1(iv)),
   Continue never needs the microphone, and the page moves on once both
   rows are done. No Skip.
4. Almost ready: only while the model downloads, with its progress;
   Continue without a model only after a failure or 30 s without progress.
5. Your turn: the practice. The field keeps the keyboard up (the old
   page unfocused it ~150 ms after the first letter) and counts once a
   dictation arrives (lastInsertedResultID changes) or three words are
   typed with Full Access. An empty dictation says "Hex didn't hear any
   words. Try again a little louder." on this page only; the keyboard
   notes it in the App Group (keyboard.lastEmptyDictationAt) and still
   shows nothing itself. Skip.
6. Hex is ready: only once every step (model included) is done, else
   "Almost ready" with what's left. Start using Hex never waits.

The download's pill (language and percent) sits in the top bar until the
model is ready; Skip shows on the demo and the practice only. The page
counter and Back are gone, as on the desktop. Saved pages from earlier
builds resume on their new equivalents. Snapshot scenes are renamed
onboarding-setup/-demo/-permissions(-done)/-waiting/-failed/-try(-done,
-empty,-off)/-ready, plus onboarding-tour. zh-Hans strings added.

Verified: xcodebuild test on an iOS 27.2 simulator (385 tests, 0
failures, 1 skipped), including new KeyboardBridgeTests for the empty
dictation note, the practice rule, and saved-page migration; English and
Chinese snapshots of every page; a fresh-install recording.

* iOS onboarding: the practice field takes focus when Hex comes back

Coming back from Settings with both permission rows done moves straight
on to Your turn, but the page opened before Hex was active again, so its
field never took focus and the keyboard stayed down. The page now
focuses the field again when the scene becomes active (unless it already
has focus).

Verified: fresh-install recording on an iOS 27.2 simulator: back from
Settings, Your turn opens with the keyboard up.

* iOS: Ready waits for the model the Hex key itself dictates with

On iOS 26 the keyboard transcribes inside itself with Apple Speech,
whatever Hex uses. When Hex dictates with Parakeet (an English iPhone
without SpeechTranscriber, or a cached Parakeet model), onboarding and
home said Ready while the keyboard's Apple Speech model wasn't there,
and the first Hex key tap said "Open Hex to download English."

KeyboardSpeechPreparation (owned by ContentView, started at launch)
prepares the keyboard's engine:
- Hex dictates with Apple Speech: Hex's model is the same one, so it
  follows Hex's.
- Otherwise it resolves the keyboard's language (AppleSpeechLanguages,
  as the keyboard does) and installs it with AppleSpeechAssets.install,
  the keyboard's own call, which also clears keyboardNeedsHex.
- Apple has no model for it on this iPhone, or Speech lists nothing: it
  marks keyboardNeedsHex, so the Hex key opens Hex (which dictates with
  its own model) from the first tap instead of after a failed one.
  Re-marked at each launch, as the mark lasts a day.
- A failed download (connection) shows on onboarding with Try again.

Why not have the keyboard use Hex's Parakeet: it can't load within a
keyboard extension's memory limit, and handing every dictation to Hex
leaves the app being typed in each time. In-keyboard Apple Speech stays
the path, with the handoff only where Apple has no model.

Onboarding's model stage combines both (OnboardingModel.combine): ready
only when both are, a failure first, fractions averaged only when the
keyboard actually downloads. Home's status line and the setup sheet's
Speech model row count it the same way.

Verified: xcodebuild test, iOS 27.2 simulator: 386 tests, 0 failures,
1 skipped (new: the combine rules). In the simulator (no Apple Speech
assets: "not subscribed to assistant.en_US") it marks the handoff and
onboarding goes on to Parakeet's Ready; a real iPhone must confirm the
Apple Speech download path.

* iOS onboarding: the desktop's motion, the pill flying between places

The desktop onboarding's motion (onboarding_kit/landing.rs, pill.rs):
- Each page's parts roll in 8 pt with a fade on a 0.34 s zero-bounce
  spring, 0.05 s apart (onboardingStagger), and the leaving page lifts
  away 8 pt on 0.26 s. Replaces the old 28 pt sideways page slide.
- The download pill flies from under Setting up Hex to the top bar and
  stays there across pages (matchedGeometryEffect), on the desktop's
  0.42 s flight spring.
- Reduce Motion: parts fade without moving or staggering, the pill
  cross-fades, pages fade.
Stills (--snap-state) show every part at once.

"Watch another one" stays off: on the desktop it fills a long download
on Almost ready; on iPhone the demo is ~6 s and moves on by itself, so a
replay control would only add a label.

Verified: xcodebuild test (386, 0 failures, 1 skipped); fresh-install
recording on an iOS 27.2 simulator, frames checked at each page change.

* iOS onboarding: steady progress and an untruncated pill in flight

Two things the recording showed:
- In the simulator the keyboard's Apple Speech download starts, then
  can't be had and hands off to Hex; that short attempt still counted as
  half of onboarding's progress, so the percent jumped from 0% to 50%.
  A handoff no longer counts as a download.
- The pill flew with its frame, so the small pill's language truncated
  ("Engli… 2%") for about half a second after landing. It now flies by
  position only; each pill keeps its own size.

Verified: fresh-install recording on an iOS 27.2 simulator, frames at
15 fps around the Setting up Hex to demo change, and the percent climbing
from 0% in steps.
2026-11-21 03:27:38 +00:00
.cargo Add KB-Whisper Medium for Swedish (#1991) (#1992) 2026-11-19 05:44:56 -05:00
.cloudflare/cache ci(aur): a dispatchable check that the AUR accepts the deploy key 2026-10-23 14:41:55 -04:00
.config feat(onboarding): the first run is one story, from a bad conversation to your first words (#1501) 2026-11-09 17:29:51 -08:00
.github Set up Hex Mobile internal TestFlight releases (#1997) 2026-11-19 11:48:49 -05:00
android Bump Hex Android to 0.1.1 (build 2) for internal testing (#2082) 2026-11-20 18:09:21 +00:00
app Keep the old Sparkle key so 2.3.1 and Swift Hex can update into the new Hex (t1217) (#1092) 2026-11-02 21:44:19 -08:00
assets Show Jay's photo in onboarding (#1630) 2026-11-10 13:41:20 -08:00
crates annotate: record the screen under the pointer on wayland (labs), list hex annotate without a shortcuts portal (#2094) 2026-11-20 15:58:16 -05:00
design Captures: the Scrawl capsule and ink overlay on Rune 2026-10-26 10:48:55 -07:00
docs fix windows annotate search: clicks, keys and click-away (#2113) (#2118) 2026-11-20 20:24:28 -05:00
ios iOS: onboarding follows the desktop flow (#2136) 2026-11-21 03:27:38 +00:00
macos/HexMicrophoneDriver feat(macos): the app is anomaly.hex, a new app to macOS, from the first Anomaly-signed release 2026-10-23 14:57:13 -04:00
native macOS: close the Screen Recording guide once Hex reads the grant (#2086) 2026-11-20 14:50:03 -05:00
nix fix: drop parakeet's padding mel frame before the encoder (#2072) (#2076) 2026-11-20 13:01:29 -05:00
packaging windows: sign the setup engine so smart app control can run setup (#1987) 2026-11-19 02:38:03 -05:00
perf perf: listening bench waits for the listener before measuring rest (#1615) 2026-11-09 16:19:11 -06:00
prototypes/app-shell Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
release-notes feat: add local transcription service and resilient capture 2026-07-21 14:22:12 -04:00
resources linux: recolor the tray mark with the panel's text color (#1691) 2026-11-11 10:46:08 -05:00
scripts iOS: split DictationController so dev passes the size check (#2066) 2026-11-20 11:42:45 -05:00
sdk add fluid speech pro to the speech model catalog (#2007) 2026-11-19 15:19:06 -05:00
site site: /hex/ios redirects to Hex for iPhone on the App Store (#2122) 2026-11-21 00:59:44 +00:00
skills/hex-personal-commands docs: rewrite README minimal, shorten CONTRIBUTING 2026-11-01 12:44:35 -05:00
src fix windows annotate search: clicks, keys and click-away (#2113) (#2118) 2026-11-20 20:24:28 -05:00
tests vocabulary: import and export csv files (labs) (#2117) 2026-11-20 19:37:20 -05:00
.gitignore iOS: clean up what I say with an on-device tagger (experiment) (#2023) 2026-11-20 01:29:41 +00:00
.hivemind.toml feat(land): add declarative .hivemind.toml land queue + Hex.app swap (t811) (#387) 2026-10-29 09:52:47 -07:00
.markdownlint-cli2.jsonc feat: unify desktop modes and platform runtime 2026-07-23 17:33:22 -04:00
AGENTS.md vocabulary: import and export csv files (labs) (#2117) 2026-11-20 19:37:20 -05:00
build.rs feat(onboarding): the first run is one story, from a bad conversation to your first words (#1501) 2026-11-09 17:29:51 -08:00
Cargo.lock fix: drop parakeet's padding mel frame before the encoder (#2072) (#2076) 2026-11-20 13:01:29 -05:00
Cargo.toml fix: drop parakeet's padding mel frame before the encoder (#2072) (#2076) 2026-11-20 13:01:29 -05:00
clippy.toml Add agent marker and drop internal references (#702) 2026-10-31 18:30:32 -07:00
CONTRIBUTING.md docs: rewrite README minimal, shorten CONTRIBUTING 2026-11-01 12:44:35 -05:00
flake.lock feat(linux): add wlroots Wayland support and Nix packaging (#36) 2026-08-28 12:05:21 -04:00
flake.nix nix: build for aarch64-linux (#1057) 2026-11-02 14:11:35 -05:00
LICENSE feat: unify desktop modes and platform runtime 2026-07-23 17:33:22 -04:00
README.md Add KB-Whisper Medium for Swedish (#1991) (#1992) 2026-11-19 05:44:56 -05:00
ROADMAP.md Roadmap: add Hex Mobile's larger tester asks (#2130) 2026-11-21 02:52:13 +00:00
SECURITY.md Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
strobe.json perf: listening bench waits for the listener before measuring rest (#1615) 2026-11-09 16:19:11 -06:00
THIRD_PARTY_NOTICES.md add fluid speech pro to the speech model catalog (#2007) 2026-11-19 15:19:06 -05:00

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:

Hex output: the steps every dictation runs, a Try box, and different steps per app Hex history: past dictations, a search field, and one entry's raw transcript, app, processing and model

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.