π¬π§ 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.
β¨ Why LocalDictate? Β· π₯οΈ Interface Β· ποΈ Architecture Β· βοΈ Comparison Β· π Download & Install Β· β¨οΈ Hotkeys & Modes Β· π Benchmarks Β· πΊοΈ Roadmap
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.
|
πΈ View More Screens (History & Dynamic Snippets Β· Settings & Live Hardware Telemetry)
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)"]
| 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 |
- Installer (Recommended): Download LocalDictate.exe (
LocalDictate-Setup-v1.0.0-Windows-x64.exe) from the official website or GitHub Releases. - Portable ZIP: Download
LocalDictate-Portable-v1.0.0-Windows-x64.zipfrom GitHub Releases, extract, and runLocalDictate.exe. - Package Managers: Ready-to-use manifests live in
packaging/winget/andpackaging/scoop/.
- 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 intoApplications. - 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+Spacehotkeys and QuartzCmd+Vauto-paste work across every app. If Gatekeeper blocks an unsigned open-source build, run:xattr -cr "/Applications/LocalDictate.app"
- 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
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| 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 |
- 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).
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βββ 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
- 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-whisperNative 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.
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).
Contributions, compatibility reports, and new snippet starter packs are warmly welcome!
- Read CONTRIBUTING.md to get started.
- Check COMPATIBILITY.md for OS, Wayland, and microphone notes.
- Review SECURITY.md for our zero-telemetry privacy architecture and SHA-256 verification guide.
If LocalDictate speeds up your daily writing or coding, consider giving the repository a β Star on GitHub!
Licensed under the MIT License.



