Skip to content
warflashPublic

About

Push-to-talk dictation for Windows. Hold a key, talk, let go: the text is pasted where you are. Local speech recognition, one Rust executable.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

30 Commits

Folders and files

Repository files navigation

chatty: hold a key, talk, let go, and the text is typed where you are

CI License: MIT Windows 11 macOS

Push-to-talk dictation for Windows and Apple Silicon Macs. One Rust executable in the tray (the menu bar on macOS); speech recognition runs locally on your GPU (Vulkan) or CPU, and nothing leaves the PC. Text is pasted about 120 ms after you let go.

While you hold the key, the overlay shows the words as they arrive:

Live overlay while recording: level bars, words arriving, a timer

If no text field has focus, the transcript waits on a card instead of being pasted:

Transcript card with a Copy button when no text field had focus

Install

Download the zip from Releases, unzip, run chatty.exe. The default model (Parakeet Unified EN, 697 MB) downloads on first use.

Use

Input Action
Hold Ctrl + Space Record, live text in the overlay
Release Paste into the focused field
Tap Press Enter
Escape while recording Cancel

Settings › Dictation records a different shortcut (any chord, or a right-side modifier such as Right Ctrl held alone) and switches between Hold (above) and Toggle: press once to start, again to stop and paste. Map a spare mouse button to the shortcut for one-handed dictation. Right-click the tray icon for a panel with the last transcript (click it to copy), model, language, overlay and LLM cleanup switches; left-click opens the window with history and statistics. Settings live in config.toml (next to the exe, or %APPDATA%\chatty).

Updates come from GitHub Releases: when a newer one is out, the window's sidebar offers to install it (Settings › Updates picks Stable, Beta or Off).

Seven speech models are available, three of them streaming, covering up to 32 languages. Timings are in docs/MEASUREMENTS.md, the design in docs/DESIGN.md.

macOS

Apple Silicon, macOS 13.3 or later. Download chatty-<version>-macos-arm64.zip from Releases, unzip, move chatty.app to Applications and open it. The same app, with Mac conventions:

  • Hold the shortcut: Control + Space by default; Settings › Dictation records another chord, or the right Option, Command, Control or Shift key or fn (Globe; set System Settings › Keyboard › "Press Globe key to" to Do Nothing, or it also opens the emoji picker) held alone. Release pastes with ⌘V; a tap presses Return; Escape cancels. Toggle mode works as on Windows. With a modifier trigger, pressing any other key while it is held makes it a normal modifier again (Option+L still types @).
  • chatty lives in the menu bar (no Dock icon until its window is open). Its menu shows the last transcript (click it to copy), model, language, overlay and cleanup switches.
  • On first start macOS asks for Accessibility (to see the trigger, paste and check the focused field) and Microphone access. Grant both in System Settings › Privacy & Security; the menu bar menu offers a shortcut while Accessibility is missing. The app is ad-hoc signed, so macOS may ask for Accessibility again after an update.
  • Speech and cleanup run on the GPU through Metal (backend = "metal" or "auto").
  • Config, models, the statistics database, history audio and the log live in ~/Library/Application Support/chatty. "Open at login" installs a LaunchAgent (~/Library/LaunchAgents/com.github.warflash.chatty.plist).

Build on Windows

Needs Rust (MSVC) and the Visual Studio Build Tools C++ workload. Nothing C/C++ is compiled; transcribe.cpp and llama.cpp come as prebuilt DLLs.

./scripts/fetch-native.ps1
cargo build --release
./scripts/package.ps1        # dist/chatty-<version>-windows-x64.zip

Build on macOS

Needs Rust and the Xcode command line tools. Nothing C/C++ is compiled; the native libraries are prebuilt arm64 downloads.

./scripts/fetch-native.sh      # transcribe.cpp + llama.cpp prebuilt dylibs (Metal)
cargo build --release          # target/release/chatty
./scripts/package-macos.sh     # dist/chatty.app + dist/chatty-<version>-macos-arm64.zip

Run the packaged chatty.app (it is ad-hoc signed, so the permission grants stick; a bare target/release/chatty loses them on every rebuild). The macOS-only checks: chatty --overlay-test, chatty --clipboard-test, chatty --render-overlay card out.png.

Pushing a v* tag publishes a release from CI, with both the Windows and the macOS zip.

Credits

transcribe.cpp, llama.cpp, and Handy for parts of the input handling. Model licenses: THIRD-PARTY.md. chatty is MIT licensed.

About

Push-to-talk dictation for Windows. Hold a key, talk, let go: the text is pasted where you are. Local speech recognition, one Rust executable.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages