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 8197ec959f feat(capture): record Linux screen captures at 60 fps
Raise Linux Annotate screen recording from 30 fps to 60 fps across the
PipeWire/VA-API, PipeWire/x264, and X11/x264 paths (step L1):

- Raise `linux::media::FPS` from 30 to 60 and propagate it to both
  sampler loops, `ffmpeg` mux/encode args, and VA-API H.264 sequence
  and VUI timing (`time_scale = 2 * FPS = 120`), replacing the 30 fps
  cap (`time_scale = 60`).
- Offer `SPA_FORMAT_VIDEO_maxFramerate` 60/1 (range 1/1..60/1) and a
  60/1 default on `SPA_FORMAT_VIDEO_framerate` in PipeWire `enum_format`,
  keeping linear modifier negotiation unchanged for now.
- Compute VA-API H.264 `level_idc` from macroblocks and frame rate per
  Table A-1 (e.g. 4.2 at 1080p60, 5.1 at 1440p60, 5.2 at 4K60, replacing
  hardcoded level 5.1), allocate coded surfaces padded to 16 px
  macroblocks while setting SPS `frame_cropping_flag` and crop offsets
  (replacing `fit(..., 16)` truncation that squashed 1920x1080 to
  1920x1072 and float-truncating 3840x2160 to 2560x1438), and scale the
  `small` candidate surface on demand in `small_rgba` at
  `FRAME_SAMPLE_INTERVAL` instead of on every frame in `load`.
- Switch CPU `Writer::x264` from fixed `veryfast` to `superfast` up to
  1440p and `ultrafast` above, raise the pipe buffer to 1 MiB, and
  timestamp piped frames on the wall clock into `fps=60` inside `ffmpeg`
  instead of duplicating multi-MB raw frames across `pipe:0` when a
  screen is still or a 4K software frame runs past 16.7 ms.
- Borrow the X11 MIT-SHM segment directly into `Writer` instead of
  copying each frame into a `Vec<u8>`, and cache the XFixes cursor image
  across frames using `XFixesSelectCursorInput` (`XFixesCursorNotify`),
  pipelining `QueryPointer` with `shm_get_image` instead of fetching the
  cursor bitmap every frame.
- Update `docs/features/capture.md` (`capture.linux`) with the new
  behaviour, checks, and T4 verification limits.

Verified:
- `cargo clippy --locked -p scrawl-capture --target x86_64-unknown-linux-gnu -- -D warnings`
  and `python3 scripts/code-shape.py --check`.
- FFmpeg `trace_headers` bit-level parse of generated VA-API SPS/PPS/IDR
  headers at 1920x1080@60 (level 42, crop_bottom 4), 2560x1440@60
  (level 51), and 3840x2160@60 (level 52), all `time_scale = 120`.
- On `hex-linux-nvidia` (`g4dn.2xlarge`, Tesla T4, Ubuntu 24.04):
  273/275 `scrawl-capture` unit tests pass (the other 2 fail identically
  on clean `dev`); native Xorg 1080p60 recorded 598 frames in 9.97 s at
  60/1 (`1920x1080`, 597 grabs, 16.5% capture CPU); Xorg 1280x720 Area
  recorded 298 frames in 4.97 s at 60/1 (297 grabs); rootful Xwayland 4K
  recorded `2560x1440` at 60/1 (598 frames in 9.97 s from 282 raw 4K
  grabs); PipeWire 1080p60 SHM -> x264 recorded 598 frames in 9.97 s at
  60/1 (594 delivered). VA-API hardware encoding was not exercised live
  because Tesla T4 has no VA-API encoder.
2026-11-03 17:51:51 -05:00
.cargo Add NB-Whisper Medium for Norwegian (#1150) (#1173) 2026-11-03 12:43:26 -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 Add scripts/check with nextest timeouts; make hanging tests deterministic 2026-10-23 20:03:00 -07:00
.github Legacy appcast: tell 2.3.1 Macs about Hex 3.3.0 (informational, no enclosure) (#1059) 2026-11-02 14:23:40 -05: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/icons Annotate: one key, a pen toolbar, no pins or undo (#427) 2026-10-29 21:00:20 -04:00
crates feat(capture): record Linux screen captures at 60 fps 2026-11-03 17:51:51 -05:00
design Captures: the Scrawl capsule and ink overlay on Rune 2026-10-26 10:48:55 -07:00
docs feat(capture): record Linux screen captures at 60 fps 2026-11-03 17:51:51 -05:00
ios Fix #987: iOS full keyboard Hex key gestures (#995) 2026-11-02 07:49:20 -05: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 fix(macos): clear stale permission rows and offer one-click recovery (#715) 2026-10-31 20:53:36 -07:00
nix settings recorder takes scroll lock, pause and menu (#1187) (#1196) 2026-11-03 15:19:12 -05:00
packaging macOS: let the mishearings fill the installer window around the line too (t423) (#1185) 2026-11-03 12:03:26 -08:00
perf perf: run tray, hidden-launch, and listening benches on a locked session (#1205) 2026-11-03 15:21:32 -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 Toggle mode: a cancel shortcut, Escape by default (#786, #1022) (#1046) 2026-11-02 11:54:22 -05:00
scripts split app_settings under the shape cap, and cover meetings.opencode_model in the settings key check (#1117) 2026-11-03 07:36:27 -05:00
sdk Add NB-Whisper Medium for Norwegian (#1150) (#1173) 2026-11-03 12:43:26 -05:00
site Fix #1134: Nix install documentation (#1135) 2026-11-03 09:07:41 -05:00
skills/hex-personal-commands docs: rewrite README minimal, shorten CONTRIBUTING 2026-11-01 12:44:35 -05:00
src fix: keep meeting text from segments with zero timestamps (#1198) (#1207) 2026-11-03 16:35:12 -05:00
tests History: name each transcript's model and keep earlier versions (#1177) (#1178) 2026-11-03 14:05:06 -05:00
.gitignore perf: run tray, hidden-launch, and listening benches on a locked session (#1205) 2026-11-03 15:21:32 -06: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 Let strobe launch an isolated Hex (#1180) 2026-11-04 06:05:58 +10:00
build.rs Cargo.lock: gpu-allocator back on windows 0.62.2 with wgpu-hal, and build.rs fails on the split (#1087) 2026-11-02 23:26:53 -05:00
Cargo.lock settings recorder takes scroll lock, pause and menu (#1187) (#1196) 2026-11-03 15:19:12 -05:00
Cargo.toml settings recorder takes scroll lock, pause and menu (#1187) (#1196) 2026-11-03 15:19:12 -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 Fix #1134: Nix install documentation (#1135) 2026-11-03 09:07:41 -05:00
ROADMAP.md feat(ios): polish iPhone keyboard dictation, warm sessions, and Live Activity (#574) 2026-10-30 23:35:45 -07:00
SECURITY.md Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
strobe.json perf: run tray, hidden-launch, and listening benches on a locked session (#1205) 2026-11-03 15:21:32 -06:00
THIRD_PARTY_NOTICES.md Labs: Parakeet Ultra with a details view (#766) 2026-11-01 01:24:54 -04: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

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: nix profile add github:anomalyco/hex

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.