Skip to main content

Local, offline voice dictation for Linux, macOS, and Windows — hold a key, speak, release

Project description

NovaVoice

Local, offline voice dictation for Linux, macOS, and Windows. Hold a key, speak, release — the transcribed text appears in whatever app is focused. No cloud, no GPU.

Tests PyPI Apache 2.0

Hold the dictation key (>0.5s) → speak → release → text appears

Powered by faster-whisper (CPU/int8). Works in browsers, terminals, IDEs, chat apps — anywhere the OS lets keystrokes reach the focused window.


Supported platforms

OS Hotkey default Install Status
Linux Space apt / snap / PPA / pipx / .deb / installer Stable
macOS Right Option .dmg (Homebrew Cask coming) Developer preview (unsigned)
Windows Right Ctrl .exe installer (winget coming) Developer preview (unsigned)

Why Right Ctrl on Windows, not Right Alt? On many international layouts Right Alt acts as AltGr — used to type @, , {}, [], \, ~, etc. Hijacking it would break normal typing. Right Ctrl is rarely used for typing, so it's the safer default. Every platform's hotkey is configurable in config.toml.


Quick install

macOS

  1. Download NovaVoice-<version>.dmg from the latest release.
  2. Open the .dmg, drag NovaVoice.app into Applications.
  3. First launch: right-click → Open (the v0 build is unsigned; signing is coming).
  4. Grant Accessibility + Microphone in System Settings when prompted.
  5. Hold Right Option anywhere, speak, release.

Full guide: docs/macos-install.md.

Windows

  1. Download NovaVoice-<version>-windows-x64.exe from the latest release.
  2. Run it. SmartScreen may say "unrecognized app" — click More info → Run anyway (the v0 build is unsigned).
  3. Optionally tick Start NovaVoice automatically when I sign in in the installer.
  4. Hold Right Ctrl anywhere, speak, release.

Full guide: docs/windows-install.md.

Linux

Pick the channel that matches your setup:

# One-line installer (Debian/Ubuntu derivatives)
bash <(curl -fsSL https://raw.githubusercontent.com/novafabric/novavoice/main/install.sh)

# APT repo (Debian/Ubuntu)
curl -fsSL https://novafabric.github.io/novavoice/apt/KEY.gpg \
  | sudo gpg --dearmor -o /usr/share/keyrings/novavoice.gpg
echo "deb [signed-by=/usr/share/keyrings/novavoice.gpg] https://novafabric.github.io/novavoice/apt ./" \
  | sudo tee /etc/apt/sources.list.d/novavoice.list
sudo apt update && sudo apt install novavoice

# Launchpad PPA (Ubuntu)
sudo add-apt-repository ppa:novafabric/novavoice
sudo apt update && sudo apt install novavoice

# Snap
sudo snap install novavoice --classic

# pipx (any Linux)
sudo apt install libportaudio2 xdotool xclip pipx
pipx install novavoice

After install, add yourself to the input group and re-login:

sudo usermod -aG input "$USER"
# log out and back in
systemctl --user enable --now novavoice.service

Usage

NovaVoice runs silently in the background. The same CLI works on every platform.

Command What it does
Hold the hotkey, speak, release Transcribe and inject text into focused app
novavoice status Daemon state, model, hotkey, backend, uptime
novavoice start / stop Manage the daemon
novavoice doctor Per-platform prerequisite check
novavoice inject "hello" Type text without recording (debug)

On macOS and Windows the NovaVoice tray icon changes color to reflect state (idle / recording / transcribing / error).


Configuration

config.toml lives in the platform's standard config dir:

OS Path
Linux ~/.config/novavoice/config.toml
macOS ~/Library/Application Support/novavoice/config.toml
Windows %APPDATA%\novavoice\config.toml
[stt]
model = "tiny.en"   # tiny.en (fast) | base.en (more accurate, slower)

[hotkey]
# "auto" → Space (Linux) / right_option (macOS) / right_ctrl (Windows).
# Or pick: "right_ctrl", "right_alt", "right_option", "right_shift",
#          "left_ctrl", "left_alt", "left_option", "space", ...
key = "auto"
hold_threshold_ms = 500

[audio]
sample_rate = 16000
max_record_seconds = 90

[tray]
enabled = "auto"   # default true on macOS/Windows, false on Linux v0

[general]
log_level = "INFO"

How it works

┌──────────────┐   ┌──────────────┐   ┌──────────────────┐   ┌─────────────────┐
│ Hotkey hook  │──▶│ Audio (16kHz │──▶│ faster-whisper   │──▶│ Text injector   │
│ (per-OS API) │   │  via         │   │ (CPU / int8)     │   │ (per-OS API)    │
│              │   │  PortAudio)  │   │                  │   │                 │
└──────────────┘   └──────────────┘   └──────────────────┘   └─────────────────┘
       │                                                              ▲
       └─────────── daemon process ──────────────────────────────────┘
                          ▲
              JSON-RPC over Unix socket / named pipe
                          │
                ┌─────────┴─────────┐
                │     CLI / tray    │
                └───────────────────┘

Every platform-specific surface (keyboard hook, text injection, autostart, IPC, paths, permissions, tray) lives behind a single Protocol-based abstraction in src/novavoice/platform/. Adding a fifth platform is a matter of writing one more sub-package.


Build from source

git clone https://github.com/novafabric/novavoice
cd novavoice
uv sync
uv run pytest tests/ -v

Platform-specific installers:

# macOS — produces dist/NovaVoice-<v>.dmg
./scripts/build-macos.sh

# Windows — produces dist/NovaVoice-<v>-windows-x64.exe
./scripts/build-windows.ps1

# Linux .deb
./scripts/build-deb.sh

CI builds the unsigned .dmg and .exe on every PR that touches the relevant code paths.


Troubleshooting

  • novavoice doctor — first stop. Tells you what's missing on the current OS.
  • macOS: see docs/macos-install.md for Gatekeeper / Accessibility / Microphone.
  • Windows: see docs/windows-install.md for SmartScreen / antivirus / privacy.
  • Linux: confirm you're in the input group; check journalctl --user -u novavoice.service -f.

License

Apache 2.0 — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

novavoice-0.2.0.tar.gz (119.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

novavoice-0.2.0-py3-none-any.whl (61.8 kB view details)

Uploaded Python 3

File details

Details for the file novavoice-0.2.0.tar.gz.

File metadata

  • Download URL: novavoice-0.2.0.tar.gz
  • Upload date:
  • Size: 119.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for novavoice-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7e556e81699eafc45dad79c17e094f4859690ede31485b4f19275a95f6602d20
MD5 927ba435433d1c8f6ffd3d8add55987e
BLAKE2b-256 e308cf0f5b4b989dc63bae9ab7e469f87a9cce184db2df15ae479c5d7fa23a52

See more details on using hashes here.

Provenance

The following attestation bundles were made for novavoice-0.2.0.tar.gz:

Publisher: release.yml on novafabric/novavoice

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file novavoice-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: novavoice-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 61.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for novavoice-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 11c33d6d44246ffcc83c789bb7c18740b9d5f32a9f0098d2151c2f5a21f40af1
MD5 f11835b15b78fe5734197ccaf466774d
BLAKE2b-256 21ad19e4d17b9bb594db0d59cba3313ca0b4a65c7bb4f8e8b0906a73bdfebe70

See more details on using hashes here.

Provenance

The following attestation bundles were made for novavoice-0.2.0-py3-none-any.whl:

Publisher: release.yml on novafabric/novavoice

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page