Skip to content

About

100% offline, 0 MB VRAM, ultra-low-latency desktop speech-to-text & App-Aware AI refinement studio (open-source Wispr Flow / Superwhisper alternative) for Windows, macOS Apple Silicon & Linux.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

LocalDictate Logo

πŸŽ™οΈ LocalDictate β€” 100% Offline, 0 MB VRAM Desktop AI Voice Studio

πŸ‡¬πŸ‡§ English (Active) Β· πŸ‡ΉπŸ‡· TΓΌrkΓ§e README Β· πŸ’» Compatibility Matrix Β· 🀝 Contributing Β· πŸ›‘οΈ Security Β· πŸ“œ Changelog

Ultra-low-latency, 100% air-gapped offline desktop speech-to-text dictation studio powered by faster-whisper INT8, Silero VAD, App-Aware Mode Routing, Dynamic Snippets, Voice-to-Translate (TR→EN), and optional local Ollama / LM Studio refinement — native on Windows x64, macOS Apple Silicon, and Linux.

Official Website Windows Download macOS Download Linux Download GitHub Releases

CI Release Python PyQt6 faster-whisper VRAM License: MIT


✨ Why LocalDictate? Β· πŸ–₯️ Interface Β· πŸ—οΈ Architecture Β· βš–οΈ Comparison Β· πŸš€ Download & Install Β· ⌨️ Hotkeys & Modes Β· πŸ“Š Benchmarks Β· πŸ—ΊοΈ Roadmap


✨ Why LocalDictate? (What's New in v1.0.0)

LocalDictate lets you speak naturally in VS Code, Cursor, Slack, Notion, Apple Mail, Outlook, Terminals, or any desktop app and pastes clean, punctuated, mode-formatted text directly at your cursor β€” 100% offline, 0 MB VRAM, zero subscriptions, and zero cloud audio uploads.

πŸ”’ 100% Air-Gapped Offline & 0 MB VRAM
Runs quantized faster-whisper (CTranslate2 INT8) + Silero VAD completely on CPU with automatic float32 fallback. Built-in Air-Gapped Offline Lock blocks non-localhost endpoints by default so zero voice data ever leaves your device.
🎯 App-Aware Auto-Mode Routing
Detects your frontmost app natively on Windows, macOS, and Linux and adapts automatically: VS Code / Cursor / Terminal β†’ Code, Mail / Outlook β†’ Formal, Slack / Discord β†’ Concise, Notion / Obsidian β†’ Notes.
🌍 Voice-to-Translate & 12 Languages
Speak in Turkish, German, French, Japanese, or any supported language and paste fluent English directly at your cursor with one-click TR→EN Whisper Translate Mode.
⚑ Smart Voice Commands & Dynamic Snippets
Say "new line" / "yeni satΔ±r", "new paragraph" / "yeni paragraf", "comma" / "virgΓΌl", or trigger custom macros with live variables ({{date}}, {{iso_date}}, {{time}}, {{clipboard}}) and 1-click Starter Packs.
🧠 Local Ollama & LM Studio Refinement
Keep pure deterministic speed or enable optional local LLM polishing via Ollama or any OpenAI-compatible server (LM Studio / llama.cpp) with language-aware EN/TR prompts and 7 modes (including Git Commit).
🎧 Offline Audio Drop & Searchable SQLite History
Drag-and-drop .wav, .mp3, .m4a, or .flac clips into Studio to transcribe offline. Search history with Turkish accent-insensitive matching (calisiyor finds çalışıyor) and export to .md, .csv, .txt, or .json.

πŸ–₯️ Studio 2.0 Interface

LocalDictate Studio 2.0 β€” Dictation Stage & Quick Modes
πŸ“Έ View More Screens (History & Dynamic Snippets Β· Settings & Live Hardware Telemetry)

Tab 2 β€” Productivity KPIs, Turkish-Normalized History Search, Export & Personal Snippets

LocalDictate Studio 2.0 β€” History and Snippets

Tab 3 β€” Hardware Telemetry, Mic VU Tester, OS Hotkeys, Model Cache, Async LLM Probe & Updater

LocalDictate Studio 2.0 β€” Settings and Telemetry

πŸ—οΈ Offline Pipeline Architecture

flowchart LR
    HK["⌨️ Global Hotkey<br/>(Toggle / Push-to-Talk)"] --> APP["πŸͺŸ Active App Detector<br/>(Win32 Β· Cocoa Β· X11)"]
    HK --> MIC["πŸŽ™οΈ Resilient Audio Capture<br/>(Auto SR β†’ 16 kHz Polyphase)"]
    FILE["πŸ“‚ Audio File Drop<br/>(.wav Β· .mp3 Β· .m4a)"] --> VAD
    MIC --> VAD["βœ‚οΈ Silero / Energy VAD<br/>(Zero Start-Chime Bleed)"]
    VAD --> STT["⚑ faster-whisper INT8<br/>(0 MB VRAM Β· Transcribe / TRβ†’EN)"]
    STT --> SNIP["🧩 Voice Commands & Snippets<br/>(C++/.env Safe · {{date}}/{{clipboard}})"]
    APP --> ROUTE["🎯 App-Aware Mode Router<br/>(Code · Formal · Concise · Notes)"]
    ROUTE --> LLM["🧠 Optional Local LLM<br/>(Ollama / LM Studio · Offline Lock)"]
    SNIP --> LLM
    LLM --> INJ["πŸ“‹ Safe OS Injector<br/>(SendInput Β· Quartz Β· wtype/xdotool)"]
    LLM --> DB["πŸ—„οΈ Local SQLite WAL<br/>(Turkish-Folded Search Β· Export)"]
Loading

βš–οΈ How It Compares

Feature πŸŽ™οΈ LocalDictate v1.0.0 Wispr Flow Superwhisper OS Built-in Dictation
100% Air-Gapped Offline Yes (Offline Lock on by default) No (Cloud audio upload) Optional (Pro paid) Partial / Cloud fallback
Pricing & License 100% Free & Open Source (MIT) ~$15 / month $8.49 / mo or $249 Free (OS locked)
Platforms Windows x64 Β· macOS M1–M4 Β· Linux macOS / Win macOS / iOS only Single OS
GPU / VRAM Overhead 0 MB VRAM (CTranslate2 INT8 CPU) Cloud Local GPU/RAM OS-managed
App-Aware Auto-Mode Routing Yes (Code / Formal / Concise / Notes) Yes Paid tier No
Local Ollama / LM Studio LLM Yes (7 modes + custom prompts) Cloud only Limited No
Voice Commands & Dynamic Snippets EN + TR + {{date}}/{{clipboard}} Cloud snippets Limited Basic punctuation
Offline Audio File Drop (.wav/.mp3/.m4a) Built-in No Paid tier No
Clipboard Loss Protection Never restores if paste fails Varies Varies N/A

πŸš€ Download & Installation

Windows (x64 β€” Windows 10 / 11)

macOS (Apple Silicon M1–M4)

  • Native DMG (Recommended): Download LocalDictate-macOS.dmg (LocalDictate-v1.0.0-macOS-arm64.dmg) from the official website or GitHub Releases and drag LocalDictate.app into Applications.
  • Homebrew Cask: Formula ready under packaging/homebrew/localdictate.rb.
  • First-launch tip: Enable Accessibility and Input Monitoring in System Settings β†’ Privacy & Security so global Option+Space hotkeys and Quartz Cmd+V auto-paste work across every app. If Gatekeeper blocks an unsigned open-source build, run:
    xattr -cr "/Applications/LocalDictate.app"

Linux (X11 & Wayland)

  • Portable Bundle: Download LocalDictate-Linux.tar.gz (LocalDictate-v1.0.0-Linux-x86_64.tar.gz) from the official website or GitHub Releases, extract, and run ./LocalDictate/LocalDictate.
  • Recommended System Packages:
    # Ubuntu / Debian (PortAudio + X11/Wayland paste helpers)
    sudo apt install libportaudio2 xclip xdotool   # X11
    sudo apt install libportaudio2 wtype wl-clipboard  # Wayland

From Source (Developer Setup)

git clone https://github.com/Andacbasaran/LocalDictate.git
cd LocalDictate

# One-command auto-setup & launch (macOS / Linux)
./scripts/start.sh

# Or manual virtual environment (Windows / macOS / Linux)
python -m venv .venv
# macOS/Linux: source .venv/bin/activate  |  Windows: .\.venv\Scripts\activate
pip install -r requirements.txt
python main.py

⌨️ Global Hotkeys & App-Aware Modes

Action Windows / Linux Default macOS Default
Toggle Dictation (Start / Stop) Ctrl + Alt + Space βŒ₯ Option + Space
Push-to-Talk (Hold to Speak) Right Ctrl Right βŒ₯ Option
Cancel Active Recording Esc Esc

Built-In Dictation Modes

  • Clean (cleanup): Punctuation, capitalization, and filler-word cleanup.
  • Formal (formal): Crisp business & email prose (auto-selected for Mail, Outlook, Word).
  • Concise (concise): Tightened chat replies (auto-selected for Slack, Discord, Teams, Messages).
  • Code (code): Preserves API identifiers, C++, node.js, .env, CLI flags (auto-selected for VS Code, Cursor, JetBrains, Terminals).
  • Notes (bullet_notes): Structured Markdown bullet points (auto-selected for Notion, Obsidian, Notes).
  • Git Commit (git_commit): Formats speech into Conventional Commits (feat(scope): ...).
  • Voice-to-Translate (translate_en): Native Whisper translation (TR/DE/FR/ES/JA β†’ English).

πŸ“Š Performance Benchmarks

LocalDictate Performance Benchmark Chart

Measured locally via scripts/benchmark.py and recorded in benchmark_results.json on Apple M1 Pro (10C/10T Β· arm64, CTranslate2 INT8, 8T):

Pipeline Stage Measured Result Notes
Voice Commands & Snippet Expansion 92.1 Β΅s (0.0921 ms) Regex-safe (C++, node.js, .env) + {{date}} / {{clipboard}}
Energy VAD Silence Trimming (2s clip) 0.02 ms 30 ms RMS frame gating before Whisper
SQLite History Search (1,200 rows) 0.20 ms (0.202 ms) Turkish & Unicode diacritic-insensitive WAL query
Polyphase Audio Resample (48 β†’ 16 kHz) 0.78 ms (0.778 ms) Steady-state 2s clip sample-rate guard
Whisper INT8 CPU Profile (small, 3s clip) ~340 ms (~359 ms E2E) Capture + VAD + CTranslate2 INT8 + OS paste
GPU / VRAM Overhead 0 MB 100% CPU β€” zero contention with games or IDEs

Run the deterministic benchmark suite and automated tests locally at any time:

# Run local pipeline benchmark & regenerate benchmark_results.json
QT_QPA_PLATFORM=offscreen python scripts/benchmark.py --no-visuals

# Run Ruff lint + full unit & Studio 2.0 offscreen UI test suite
ruff check .
QT_QPA_PLATFORM=offscreen pytest -v

πŸ“‚ Project Structure

β”œβ”€β”€ main.py & run.py                     # Root entry points (source & PyInstaller)
β”œβ”€β”€ src/localdictate/
β”‚   β”œβ”€β”€ hardware.py                      # Universal CPU/ISA detection, adaptive threads & OS data paths
β”‚   β”œβ”€β”€ platform_utils.py                # Active window detection, App-Aware routing, macOS TCC & Cocoa HUD flags
β”‚   β”œβ”€β”€ config.py                        # OS-aware defaults & JSON configuration persistence
β”‚   β”œβ”€β”€ audio.py                         # Auto sample-rate negotiation, polyphase resampling, VAD & audio file decoder
β”‚   β”œβ”€β”€ sounds.py                        # Brief acoustic cues isolated before mic capture
β”‚   β”œβ”€β”€ hotkeys.py                       # Cross-platform Toggle/PTT listener (Win32 VK guard + macOS Carbon map)
β”‚   β”œβ”€β”€ injector.py                      # Safe Win32 SendInput / macOS Quartz / Linux Wayland & X11 paste injector
β”‚   β”œβ”€β”€ transcriber.py                   # faster-whisper INT8/FP32 fallback, task="translate", cache inspector
β”‚   β”œβ”€β”€ snippets.py                      # EN/TR voice commands, safe regex replacements & dynamic templates
β”‚   β”œβ”€β”€ postprocess.py                   # Language-aware prompts, Ollama + OpenAI-compat LLM & Offline Lock
β”‚   β”œβ”€β”€ history.py                       # Persistent WAL SQLite, Turkish diacritic-folded search, pin & exports
β”‚   β”œβ”€β”€ controller.py                    # Thread-safe Qt QTimer state machine & App-Aware pipeline coordinator
β”‚   β”œβ”€β”€ i18n.py                          # Full bilingual EN / TR LanguageManager
β”‚   β”œβ”€β”€ updater.py                       # Cross-platform GitHub Releases SemVer auto-updater (SHA-256 verified)
β”‚   β”œβ”€β”€ autostart.py                     # Windows Registry, macOS LaunchAgent & Linux XDG autostart
β”‚   └── ui/
β”‚       β”œβ”€β”€ studio_window.py             # Flagship Studio 2.0 3-tab desktop workspace (960Γ—640)
β”‚       β”œβ”€β”€ overlay.py                   # Floating HUD 2.0 (20-bar rolling waveform + ModeΒ·Lang micro-pill)
β”‚       β”œβ”€β”€ widgets.py                   # HiDPI vector icons, FlatSwitch, FlatComboBox, TelemetryCard, LiveWaveformBar
β”‚       └── tray.py                      # Cross-platform HiDPI system tray icon & menu
β”œβ”€β”€ scripts/                             # start.sh, baslat.bat, benchmark.py, build_exe.py, build_macos.py, build_linux.py
β”œβ”€β”€ packaging/                           # Inno Setup, Homebrew Cask, Scoop, Winget, Linux AppRun/desktop, SignPath
β”œβ”€β”€ assets/                              # Obsidian Electric Violet icons (.svg/.png/.ico/.icns), UI previews & chart
β”œβ”€β”€ tests/                               # Unit, cross-platform regression & offscreen Studio 2.0 UI tests
└── .github/                             # 3-OS CI matrix (ci.yml), unified Release pipeline (release.yml) & templates

πŸ—ΊοΈ Roadmap

  • Studio 2.0 Desktop Interface & Floating HUD 2.0 β€” Shipped in v1.0.0.
  • Native Windows, macOS Apple Silicon & Linux Auto-Paste + App-Aware Routing β€” Shipped in v1.0.0.
  • Voice-to-Translate (TRβ†’EN), Dynamic Snippets, Voice Commands & Offline Audio Drop β€” Shipped in v1.0.0.
  • Local Ollama & OpenAI-Compatible (LM Studio) Refinement with Air-Gapped Offline Lock β€” Shipped in v1.0.0.
  • Apple Silicon mlx-whisper Native GPU Acceleration Toggle β€” Ultra-low-power Metal backend option.
  • Real-Time Streaming Partial Captions β€” Word-by-word preview while holding Push-to-Talk.
  • Custom Per-App Prompt Rules Editor β€” Fine-grained per-application formatting workflows in Studio.

🧩 Part of the Local-First Desktop AI Suite

LocalDictate shares the same 100% offline, 0 MB VRAM, zero-subscription engineering philosophy with our companion open-source desktop tools:

  • ⚑ SubVision AI β€” Real-time (~88 ms), 100% offline on-screen & live-audio multi-language subtitle studio for PC games, movies, and streams.
  • πŸŽ›οΈ ClearMic β€” 100% offline, 0 MB VRAM AI microphone noise suppressor & broadcast voice studio for Discord, OBS, and Zoom.
  • πŸ“ LocalMinutes β€” Bot-free offline meeting & lecture transcription studio with dual-channel capture, speaker tracking, and local summarization.
  • 🧠 LocalRecall β€” Privacy-first, 0 MB VRAM local screen memory & hybrid FTS5/OCR visual search (open-source Windows Recall alternative).

🀝 Contributing, Privacy & License

Contributions, compatibility reports, and new snippet starter packs are warmly welcome!

If LocalDictate speeds up your daily writing or coding, consider giving the repository a ⭐ Star on GitHub!

Licensed under the MIT License.

About

100% offline, 0 MB VRAM, ultra-low-latency desktop speech-to-text & App-Aware AI refinement studio (open-source Wispr Flow / Superwhisper alternative) for Windows, macOS Apple Silicon & Linux.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages