Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.
JavaScript aianthropiccross-platformgeminigroqlinuxmacosnvidiaopen-sourceopenaiparakeetspeech-to-texttranscribewhisperwindows
Add scan codes to Windows SendInput paste and prevent hotkey slot conflicts
Gabriel Steinc2dc839cf433
diff --git a/.github/dependabot.yml b/.github/dependabot.ymlindex 160ae4d68..aff82a102 100644--- a/.github/dependabot.yml+++ b/.github/dependabot.yml@@ -1,8 +1,3 @@-# To get started with Dependabot version updates, you'll need to specify which-# package ecosystems to update and where the package manifests are located.-# Please see the documentation for all configuration options:-# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot-yml-file-version: 2updates:- package-ecosystem: "npm"diff --git a/CHANGELOG.md b/CHANGELOG.mdindex e532e7cdc..4dbfb3754 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -7,6 +7,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0## [Unreleased]+## [1.6.4] - 2026-03-15++### Added++- **Meeting Mode Hotkey**: Dedicated hotkey to start/stop meeting transcription directly from the keyboard, independent of the dictation hotkey+- **Account Deletion**: Users can now delete their account from within the app+- **Qwen3.5 Local Models**: Added Qwen3.5 local models to the model registry; removed sub-1B models that were too small for practical use+- **Model Descriptions in Picker**: Local model picker now shows model descriptions to help users choose the right model+- **Meeting Detection Toggle**: New setting to enable/disable automatic meeting detection+- **Dependabot**: Automated weekly npm dependency updates via Dependabot+- **CodeQL Static Analysis**: GitHub Actions workflow for automated security scanning+- **Zod Dependency**: Added Zod for input validation and sanitization++### Changed++- **Multi-Monitor Floating Icon**: The dictation floating icon now appears on the monitor where the cursor is, instead of always on the primary display+- **Persistent Panel Position**: Panel start position now persists across app restarts+- **Compact Hotkey Tooltip**: Overlay tooltip uses compact modifier symbols (e.g., ⌘⇧K instead of Cmd+Shift+K), wraps for long combos, and aligns to window edge based on panel position+- **Cross-Window Settings Sync**: Settings changes now sync across all open windows in real time+- **Agent Chat Title**: Renamed agent mode window title from "Agent Mode" to "Agent Chat"+- **Windows Model Preservation**: Local LLM models are now preserved during Windows app updates instead of being deleted++### Fixed++- **Meeting Hotkey Overwrite**: Fixed meeting hotkey accidentally overwriting the dictation hotkey on save+- **Meeting Snap Timing (macOS)**: Fixed meeting mode snap timing on macOS causing incorrect window positioning+- **Meeting Detection False Positives**: Reduced false-positive meeting detection notifications+- **Hotkey Tooltip Display**: Fixed hotkey tooltip not updating after changing the hotkey in settings+- **Silence Detection Threshold**: Lowered silence detection threshold to avoid rejecting valid speech that was previously considered too quiet (#411)+## [1.6.3] - 2026-03-12### Changeddiff --git a/README.md b/README.mdindex c80f4b1d6..e7dc7203c 100644--- a/README.md+++ b/README.md@@ -52,6 +52,7 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file- 📅 **Google Calendar Integration**: Connect multiple Google accounts, view upcoming meetings in the sidebar, and receive auto-detection prompts- 🎙️ **Live Meeting Transcription**: Record and transcribe meetings in real-time via OpenAI Realtime API with automatic meeting detection (Zoom, Teams, FaceTime)- ⚡ **WebSocket Streaming for BYOK**: Real-time OpenAI Realtime API streaming for standard dictation mode, not just meetings — unified streaming path for all transcription+- ⌨️ **Meeting Hotkey**: Dedicated hotkey to start/stop meeting transcription independently from dictation- 🔍 **Smart Detection**: Combines process monitoring, sustained audio detection, and calendar awareness to detect meetings automatically### Notes@@ -77,6 +78,8 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file- ⌨️ **Compound Hotkeys**: Support for multi-key combinations like `Cmd+Shift+K`- 🎙️ **Push-to-Talk (Windows)**: Native low-level keyboard hook for true push-to-talk with compound hotkey support- 🐧 **GNOME Wayland Support**: Native global shortcuts via D-Bus for GNOME Wayland users+- 🐧 **Hyprland Wayland Support**: Native global shortcuts via `hyprctl` keybindings + D-Bus for Hyprland users+- 🖥️ **Multi-Monitor**: Floating dictation icon follows your cursor across monitors- 🧹 **Model Cleanup**: One-click removal of cached models with uninstall hooks to keep disks tidy## Prerequisites@@ -567,7 +570,7 @@ open-whispr/- **Frontend**: React 19, TypeScript, Tailwind CSS v4- **Build Tool**: Vite with optimized Tailwind plugin-- **Desktop**: Electron 36 with context isolation+- **Desktop**: Electron 39 with context isolation- **UI Components**: shadcn/ui with Radix primitives- **Database**: better-sqlite3 with FTS5 for local storage (transcriptions, notes, agents, calendar)- **Speech-to-Text**: OpenAI Whisper (whisper.cpp) + NVIDIA Parakeet (sherpa-onnx) for local, OpenAI API for cloud@@ -845,7 +848,7 @@ A: No. As of v1.6.0, OpenWhispr uses NSEvent monitors instead of CGEvent taps, e## Project Status-OpenWhispr is actively maintained and ready for production use. Current version: 1.6.2+OpenWhispr is actively maintained and ready for production use. Current version: 1.6.4- ✅ Core dictation with local and cloud processing- ✅ Cross-platform support (macOS, Windows, Linux)@@ -861,8 +864,10 @@ OpenWhispr is actively maintained and ready for production use. Current version:- ✅ Custom dictionary with auto-learn correction monitoring- ✅ NVIDIA Parakeet support via sherpa-onnx- ✅ Compound hotkeys and Windows Push-to-Talk-- ✅ GNOME Wayland native global shortcuts+- ✅ GNOME Wayland and Hyprland native global shortcuts- ✅ Referral program with shareable invite cards+- ✅ Dedicated meeting mode hotkey+- ✅ CodeQL static analysis and Dependabot dependency updates## Acknowledgmentsdiff --git a/package-lock.json b/package-lock.jsonindex 0e9ded7e5..6487b0348 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "open-whispr",- "version": "1.6.3",+ "version": "1.6.4","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "open-whispr",- "version": "1.6.3",+ "version": "1.6.4","hasInstallScript": true,"license": "MIT","dependencies": {diff --git a/package.json b/package.jsonindex 4ede52606..9b8d20615 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "open-whispr",- "version": "1.6.3",+ "version": "1.6.4","description": "A desktop dictation application using whisper.cpp for speech-to-text transcription","main": "main.js","private": true,diff --git a/resources/windows-fast-paste.c b/resources/windows-fast-paste.cindex cf08c737d..20894c7ef 100644--- a/resources/windows-fast-paste.c+++ b/resources/windows-fast-paste.c@@ -84,23 +84,21 @@ static BOOL IsTerminalExe(const char* exeName) {return FALSE;}+static void SetKey(INPUT* input, WORD vk, DWORD flags) {+ input->type = INPUT_KEYBOARD;+ input->ki.wVk = vk;+ input->ki.wScan = (WORD)MapVirtualKeyA(vk, MAPVK_VK_TO_VSC);+ input->ki.dwFlags = flags;+}+static int SendPasteNormal(void) {INPUT inputs[4];ZeroMemory(inputs, sizeof(inputs));- inputs[0].type = INPUT_KEYBOARD;- inputs[0].ki.wVk = VK_CONTROL;-- inputs[1].type = INPUT_KEYBOARD;- inputs[1].ki.wVk = 'V';-- inputs[2].type = INPUT_KEYBOARD;- inputs[2].ki.wVk = 'V';- inputs[2].ki.dwFlags = KEYEVENTF_KEYUP;-- inputs[3].type = INPUT_KEYBOARD;- inputs[3].ki.wVk = VK_CONTROL;- inputs[3].ki.dwFlags = KEYEVENTF_KEYUP;+ SetKey(&inputs[0], VK_CONTROL, 0);+ SetKey(&inputs[1], 'V', 0);+ SetKey(&inputs[2], 'V', KEYEVENTF_KEYUP);+ SetKey(&inputs[3], VK_CONTROL, KEYEVENTF_KEYUP);UINT sent = SendInput(4, inputs, sizeof(INPUT));return (sent == 4) ? 0 : 1;@@ -110,26 +108,12 @@ static int SendPasteTerminal(void) {INPUT inputs[6];ZeroMemory(inputs, sizeof(inputs));- inputs[0].type = INPUT_KEYBOARD;- inputs[0].ki.wVk = VK_CONTROL;-- inputs[1].type = INPUT_KEYBOARD;- inputs[1].ki.wVk = VK_SHIFT;-- inputs[2].type = INPUT_KEYBOARD;- inputs[2].ki.wVk = 'V';-- inputs[3].type = INPUT_KEYBOARD;- inputs[3].ki.wVk = 'V';- inputs[3].ki.dwFlags = KEYEVENTF_KEYUP;-- inputs[4].type = INPUT_KEYBOARD;- inputs[4].ki.wVk = VK_SHIFT;- inputs[4].ki.dwFlags = KEYEVENTF_KEYUP;-- inputs[5].type = INPUT_KEYBOARD;- inputs[5].ki.wVk = VK_CONTROL;- inputs[5].ki.dwFlags = KEYEVENTF_KEYUP;+ SetKey(&inputs[0], VK_CONTROL, 0);+ SetKey(&inputs[1], VK_SHIFT, 0);+ SetKey(&inputs[2], 'V', 0);+ SetKey(&inputs[3], 'V', KEYEVENTF_KEYUP);+ SetKey(&inputs[4], VK_SHIFT, KEYEVENTF_KEYUP);+ SetKey(&inputs[5], VK_CONTROL, KEYEVENTF_KEYUP);UINT sent = SendInput(6, inputs, sizeof(INPUT));return (sent == 6) ? 0 : 1;diff --git a/src/helpers/hotkeyManager.js b/src/helpers/hotkeyManager.jsindex cdaae34a0..ac01cce7d 100644--- a/src/helpers/hotkeyManager.js+++ b/src/helpers/hotkeyManager.js@@ -647,6 +647,11 @@ class HotkeyManager {}try {+ const conflict = this._findSlotConflict("dictation", hotkey);+ if (conflict) {+ return { success: false, message: conflict.error, reason: conflict.reason };+ }+if (this.useGnome && this.gnomeManager) {debugLogger.log(`[HotkeyManager] Updating GNOME hotkey to "${hotkey}"`);const gnomeHotkey = GnomeShortcutManager.convertToGnomeFormat(hotkey);diff --git a/src/locales/de/translation.json b/src/locales/de/translation.jsonindex b33ea3784..33f6acbb6 100644--- a/src/locales/de/translation.json+++ b/src/locales/de/translation.json@@ -71,7 +71,8 @@"alreadyRegistered": "\"{{hotkey}}\" ist bereits von einer anderen Anwendung registriert.","osReserved": "\"{{hotkey}}\" ist möglicherweise von Ihrer Desktop-Umgebung reserviert.","registrationFailed": "\"{{hotkey}}\" konnte nicht registriert werden. Möglicherweise wird es von einer anderen Anwendung verwendet.",- "trySuggestions": "Versuchen Sie: {{suggestions}}"+ "trySuggestions": "Versuchen Sie: {{suggestions}}",+ "slotConflict": "Diese Tastenkombination wird bereits für {{slot}} verwendet."}},"systemSettings": {diff --git a/src/locales/en/translation.json b/src/locales/en/translation.jsonindex 3d4cf8b0f..bf54624ab 100644--- a/src/locales/en/translation.json+++ b/src/locales/en/translation.json@@ -71,7 +71,8 @@"alreadyRegistered": "\"{{hotkey}}\" is already registered by another application.","osReserved": "\"{{hotkey}}\" may be reserved by your desktop environment.","registrationFailed": "Could not register \"{{hotkey}}\". It may be in use by another application.",- "trySuggestions": "Try: {{suggestions}}"+ "trySuggestions": "Try: {{suggestions}}",+ "slotConflict": "This hotkey is already used for {{slot}}."}},"systemSettings": {diff --git a/src/locales/es/translation.json b/src/locales/es/translation.jsonindex 6357defc7..5a6b5d937 100644--- a/src/locales/es/translation.json+++ b/src/locales/es/translation.json@@ -71,7 +71,8 @@"alreadyRegistered": "\"{{hotkey}}\" ya está registrada por otra aplicación.","osReserved": "\"{{hotkey}}\" puede estar reservada por tu entorno de escritorio.","registrationFailed": "No se pudo registrar \"{{hotkey}}\". Puede estar en uso por otra aplicación.",- "trySuggestions": "Prueba: {{suggestions}}"+ "trySuggestions": "Prueba: {{suggestions}}",+ "slotConflict": "Este atajo ya está asignado a {{slot}}."}},"systemSettings": {diff --git a/src/locales/fr/translation.json b/src/locales/fr/translation.jsonindex 29e9fcb8b..5117050d1 100644--- a/src/locales/fr/translation.json+++ b/src/locales/fr/translation.json@@ -71,7 +71,8 @@"alreadyRegistered": "\"{{hotkey}}\" est déjà enregistré par une autre application.","osReserved": "\"{{hotkey}}\" peut être réservé par votre environnement de bureau.","registrationFailed": "Impossible d'enregistrer \"{{hotkey}}\". Il est peut-être utilisé par une autre application.",- "trySuggestions": "Essayez : {{suggestions}}"+ "trySuggestions": "Essayez : {{suggestions}}",+ "slotConflict": "Ce raccourci est déjà utilisé pour {{slot}}."}},"systemSettings": {diff --git a/src/locales/it/translation.json b/src/locales/it/translation.jsonindex 1d5c14417..6a99089a8 100644--- a/src/locales/it/translation.json+++ b/src/locales/it/translation.json@@ -71,7 +71,8 @@"alreadyRegistered": "\"{{hotkey}}\" è già registrata da un'altra applicazione.","osReserved": "\"{{hotkey}}\" potrebbe essere riservata dal sistema operativo.","registrationFailed": "Impossibile registrare \"{{hotkey}}\". Potrebbe essere in uso da un'altra applicazione.",- "trySuggestions": "Prova: {{suggestions}}"+ "trySuggestions": "Prova: {{suggestions}}",+ "slotConflict": "Questa scorciatoia è già utilizzata per {{slot}}."}},"systemSettings": {diff --git a/src/locales/ja/translation.json b/src/locales/ja/translation.jsonindex 4bb86a17f..2877a1f0c 100644--- a/src/locales/ja/translation.json+++ b/src/locales/ja/translation.json@@ -71,7 +71,8 @@"alreadyRegistered": "\"{{hotkey}}\" は別のアプリケーションで既に登録されています。","osReserved": "\"{{hotkey}}\" はデスクトップ環境で予約されている可能性があります。","registrationFailed": "\"{{hotkey}}\" を登録できませんでした。別のアプリケーションで使用されている可能性があります。",- "trySuggestions": "お試しください: {{suggestions}}"+ "trySuggestions": "お試しください: {{suggestions}}",+ "slotConflict": "このホットキーは既に{{slot}}で使用されています。"}},"systemSettings": {diff --git a/src/locales/pt/translation.json b/src/locales/pt/translation.jsonindex 791158eff..e0c32cf5a 100644--- a/src/locales/pt/translation.json+++ b/src/locales/pt/translation.json@@ -71,7 +71,8 @@"alreadyRegistered": "\"{{hotkey}}\" já está registrada por outro aplicativo.","osReserved": "\"{{hotkey}}\" pode estar reservada pelo seu ambiente de desktop.","registrationFailed": "Não foi possível registrar \"{{hotkey}}\". Pode estar em uso por outro aplicativo.",- "trySuggestions": "Tente: {{suggestions}}"+ "trySuggestions": "Tente: {{suggestions}}",+ "slotConflict": "Este atalho já está sendo usado para {{slot}}."}},"systemSettings": {diff --git a/src/locales/ru/translation.json b/src/locales/ru/translation.jsonindex aacf1faf9..1873bd859 100644--- a/src/locales/ru/translation.json+++ b/src/locales/ru/translation.json@@ -71,7 +71,8 @@"alreadyRegistered": "«{{hotkey}}» уже зарегистрирована другим приложением.","osReserved": "«{{hotkey}}» может быть зарезервирована вашей операционной системой.","registrationFailed": "Не удалось зарегистрировать «{{hotkey}}». Возможно, она используется другим приложением.",- "trySuggestions": "Попробуйте: {{suggestions}}"+ "trySuggestions": "Попробуйте: {{suggestions}}",+ "slotConflict": "Эта горячая клавиша уже используется для {{slot}}."}},"systemSettings": {diff --git a/src/locales/zh-CN/translation.json b/src/locales/zh-CN/translation.jsonindex af0e7113d..a14b7a033 100644--- a/src/locales/zh-CN/translation.json+++ b/src/locales/zh-CN/translation.json@@ -71,7 +71,8 @@"alreadyRegistered": "\"{{hotkey}}\" 已被其他应用注册。","osReserved": "\"{{hotkey}}\" 可能被系统保留。","registrationFailed": "无法注册 \"{{hotkey}}\",该快捷键可能已被其他应用占用。",- "trySuggestions": "建议尝试:{{suggestions}}"+ "trySuggestions": "建议尝试:{{suggestions}}",+ "slotConflict": "此快捷键已用于{{slot}}。"}},"systemSettings": {diff --git a/src/locales/zh-TW/translation.json b/src/locales/zh-TW/translation.jsonindex 4f59b0905..f7a61b58d 100644--- a/src/locales/zh-TW/translation.json+++ b/src/locales/zh-TW/translation.json@@ -71,7 +71,8 @@"alreadyRegistered": "\"{{hotkey}}\" 已被其他應用程式註冊。","osReserved": "\"{{hotkey}}\" 可能被你的作業系統保留。","registrationFailed": "無法註冊「{{hotkey}}」。可能已被其他應用程式使用。",- "trySuggestions": "試試看:{{suggestions}}"+ "trySuggestions": "試試看:{{suggestions}}",+ "slotConflict": "此快捷鍵已用於{{slot}}。"}},"systemSettings": {