Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

chore: bump to 1.4.10

Gabriel Stein0b2b25312b35
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f3135eb6d..7b161e5a0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,20 +7,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+## [1.4.10] - 2026-02-13
+
+### Added
+
+- **Deepgram Streaming Liveness Check**: Detects unresponsive warm connections within 2.5s and transparently reconnects with audio replay
+- **Batch Transcription Fallback**: If streaming produces no text, automatically falls back to batch transcription via OpenWhispr Cloud
+- **Full Locale Codes**: Pass full locale codes (e.g. en-US, zh-CN) to Deepgram instead of stripping to base codes, preserving dialect precision
+
+### Fixed
+
+- **Deepgram Token Expiry**: Fixed token expiry clock resetting on every re-warm cycle, which prevented detection of expired tokens and caused persistent 401 errors
+- **Deepgram 401 Recovery**: Invalidate cached tokens on authentication failures so subsequent attempts fetch fresh tokens instead of retrying stale ones
+
## [1.4.9] - 2026-02-12
### Fixed
+
- **Deepgram Nova-3 Language Fallback**: Automatically fall back to Nova-2 for languages not yet supported by Nova-3 (e.g., Chinese, Thai), preventing 400 Bad Request errors. Also switches from `keyterm` to `keywords` parameter when using Nova-2.
## [1.4.8] - 2026-02-12
### Added
+
- **Internationalization v1**: Full desktop localization across auth, settings, hooks, and UI with centralized renderer locale resources (#258)
- **Chinese Language Split**: Split Chinese into Simplified (zh-CN) and Traditional (zh-TW) with tailored AI instructions and one-time migration for existing users (#267)
- **Russian Interface Language**: Added Russian to interface language options
- **Deepgram Token Refresh & Keyterms**: Proactive token rotation for warm connections before expiry and keyterms pass-through for improved transcription accuracy
### Fixed
+
- **macOS Non-English Keyboard Paste**: Fixed paste not working on non-English keyboard layouts (Russian, Ukrainian, etc.) by using physical key code instead of character-based keystroke in AppleScript fallback
- **Whisper Language Auto-Detection**: Pass `--language auto` to whisper.cpp explicitly so non-English audio isn't forced to English (#260)
- **Model Download Pipeline**: Inline redirect handling, deferred write stream creation, indeterminate progress bar for unknown sizes, and Parakeet ONNX file validation after extraction
@@ -31,9 +47,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.4.7] - 2026-02-11
### Added
+
- **Deepgram Streaming Transcription**: Migrated real-time streaming transcription from AssemblyAI to Deepgram for improved reliability and accuracy (#249)
### Fixed
+
- **BYOK After Upgrade**: Prefer localStorage API keys over process.env so Bring Your Own Key mode works correctly after upgrading (#263)
- **PTT Double-Fire Prevention**: Applied post-stop cooldown and press-identity checks to both macOS and Windows push-to-talk handlers
- **Archive Extraction Retry**: Reuse existing archive on extraction retry with improved error handling
@@ -41,28 +59,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Auth Build Bundling**: Added @neondatabase/auth packages to rollup externals for correct production bundling (#256)
### Changed
+
- **Build System**: Bumped Node version in build files
## [1.4.6] - 2026-02-10
### Added
+
- **Robust Model Downloads**: Hardened download pipeline with stall detection, disk space checks, and file validation for more reliable model installs
- **Prompt Handling Improvements**: Improved agent name resolution, prompt studio enhancements, and smarter prompt context assembly
- **Past-Due Subscription Handling**: Users with past-due subscriptions now see clear messaging and recovery options
### Fixed
+
- **Parakeet Long Audio**: Fixed empty transcriptions for long audio by segmenting input before sending to Parakeet
- **Plus-Addressed Emails**: Reject plus-addressed emails (e.g., [email protected]) during authentication
- **Double-Click Prevention**: Prevent duplicate requests when double-clicking checkout and billing buttons
- **Auth Initialization Race**: Await init-user before completing auth flow and fix missing user dependency
### Changed
+
- **Startup Performance**: Preload lazy chunks during auth initialization for faster page transitions
- **Code Cleanup**: Removed excess comments and simplified window management logic
## [1.4.5] - 2026-02-09
### Added
+
- **Dictation Sound Effects Toggle**: New setting to enable/disable dictation audio cues with refined tones (warmer, softer frequencies, gentler attack, distinct start/stop)
- **Toast Notification Redesign**: Redesigned toast notifications as dark HUD surfaces for a more polished look
- **Floating Icon Auto-Hide**: New setting to auto-hide the floating dictation icon
@@ -71,30 +94,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Auth-Aware Routing**: Returning signed-out users now see a re-authentication screen instead of a broken state
### Fixed
+
- **Dropdown Dark Mode**: Fixed dropdown styling in dark mode
- **Toast Dark Mode**: Fixed toast colouring in dark mode
- **Globe Key Persistence**: Globe key now persists to .env and dictation key syncs to localStorage
- **Globe Listener Cross-Compilation**: Cross-compiled globe listener for x64
### Changed
+
- **Startup Performance**: Deferred non-critical manager initialization after window creation, lazy-loaded ControlPanel/OnboardingFlow/SettingsModal, converted env file writes to async, extracted SettingsProvider context, and split Radix/lucide into separate vendor chunks
- **Scrollbar Styling**: Subtle transparent-track scrollbar with thinner floating thumb
## [1.4.4] - 2026-02-08
### Fixed
+
- **AI Enhancement CTA Persistence**: Dismissing the "Enable AI Enhancement" banner now persists to localStorage so it stays hidden across sessions
### Changed
+
- **Code Cleanup**: Removed excess comments and section dividers in ControlPanel
## [1.4.3] - 2026-02-08
### Added
+
- **Mistral Voxtral Transcription**: Added Mistral as a cloud transcription provider with Voxtral Mini model and custom dictionary support via context_bias
- **TypeScript Compilation**: Added TypeScript as an explicit dev dependency with project-level `tsconfig.json`
### Fixed
+
- **Linux Wayland Clipboard**: Persistent clipboard ownership on Wayland so Ctrl+V works reliably after transcription
- **Linux Window Flickering**: Fixed transparent window flickering on Wayland and X11 compositors
- **Windows Modifier-Only Hotkeys**: Support modifier-only hotkeys on Windows via native keyboard hook
@@ -105,20 +134,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Type Safety**: Tightened Electron IPC callback return types, model picker styles, toast variant types, and event handler signatures across the codebase
### Changed
+
- **Code Cleanup**: Removed excess comments, section dividers, and redundant JSDoc across components, hooks, and utilities
## [1.4.2] - 2026-02-07
### Fixed
+
- **AssemblyAI Streaming Reliability**: Fixed real-time WebSocket going silent after idle periods by adding keep-alive pings, readyState validation, re-warm recovery, and connection death handling
## [1.4.1] - 2026-02-07
### Added
+
- **Runtime .env Configuration**: Environment variables now reload at runtime without requiring app restart
- **Settings Retention on Pro**: Pro subscribers retain their settings when managing their subscription
### Fixed
+
- **macOS Microphone Permission**: Resolved hardened-runtime mic permission prompt by routing through main-process IPC and unifying API key cache invalidation with event-based AudioManager sync
- **AudioWorklet ASAR Loading**: Inlined AudioWorklet as blob URL to fix module loading failure in packaged ASAR builds
- **Google OAuth Flow**: OAuth now opens in the system browser with deep link callback instead of navigating the Electron window
@@ -130,12 +163,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Email Verification**: Disabled Neon Auth email verification step for smoother onboarding
### Changed
+
- **Build Optimization**: Binary dependencies are now cached during build for faster CI
- **UI Polish**: Fixed scrollbar styling, provider button styling, and voice recorder icon fill
## [1.4.0] - 2026-02-06
### Added
+
- **OpenWhispr Cloud**: Cloud-native transcription service — sign in and transcribe without managing API keys
- Google OAuth and email/password authentication via Neon Auth
- Email verification flow with polling and resend support
@@ -154,6 +189,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Dark Mode Icon Inversion**: Monochrome provider icons now automatically invert in dark mode for better visibility
### Changed
+
- **Onboarding Redesign**: Auth-first onboarding flow
- Signed-in users get a streamlined 3-step flow (Welcome → Setup → Activation)
- Non-signed-in users get a 4-step flow with transcription mode selection
@@ -170,6 +206,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **App Channel Isolation**: Development, staging, and production channels now use isolated user data directories
### Fixed
+
- **Light Mode UI Visibility**: Fixed multiple UI elements that were invisible or hard to see in light mode:
- Settings gear icon in permission cards now uses `text-foreground`
- Troubleshoot button uses proper foreground color
@@ -185,13 +222,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.3.3] - 2026-01-28
### Added
+
- **ONNX Warm-up Inference**: Parakeet server now runs warm-up inference on start to eliminate first-request latency from JIT compilation
- **Startup Preferences Sync**: Renderer startup preferences are now synced to `.env` for server pre-warming on restart
### Changed
+
- **macOS Tray Behavior**: Hide to tray on macOS for consistent cross-platform behavior
### Fixed
+
- **macOS Launch Crash**: Added `disable-library-validation` entitlement to resolve macOS launch crash (#120)
- **Reasoning Model Default**: Fixed `useReasoningModel` not correctly defaulting to enabled by persisting useLocalStorage defaults and aligning direct reads
- **Windows Non-ASCII Usernames**: Resolved whisper-server crash on Windows with non-ASCII usernames by pre-converting audio to WAV and routing temp files through ASCII-safe directory
@@ -200,20 +240,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.3.2] - 2026-01-27
### Changed
+
- **Linux Paste Tools**: Prefer xdotool over ydotool for better compatibility
### Fixed
+
- **Windows Zip Extraction**: Use tar instead of PowerShell Expand-Archive for zip extraction on Windows to avoid issues with special characters
## [1.3.1] - 2026-01-27
### Changed
+
- **Download System Refactor**: Consolidated model download logic into shared utilities with resume support, retry logic, abort signals, and improved installing state UI
- **Throttled Progress Display**: Whisper model download progress updates are now throttled for smoother UI
## [1.3.0] - 2026-01-26
### Added
+
- **NVIDIA Parakeet Support**: Fast local transcription via sherpa-onnx runtime with INT8 quantized models
- `parakeet-tdt-0.6b-v3`: Multilingual (25 languages), ~680MB
- **Windows Push-to-Talk**: Native Windows key listener with low-level keyboard hook for true push-to-talk functionality
@@ -228,11 +272,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Shared Download Utilities**: New `scripts/lib/download-utils.js` module with reusable download, extraction, and GitHub release fetching functions
### Changed
+
- **Download Scripts Refactored**: All download scripts now use shared utilities for consistency
- **GitHub API Authentication**: Download scripts support `GITHUB_TOKEN` to avoid API rate limits in CI
- **Debug Logging Cleanup**: Extracted common window loading code and cleaned up debug logging
### Fixed
+
- **GNOME Wayland Hotkey Improvements**: Improved hotkey handling on GNOME Wayland
- **Hotkey Persistence**: Fixed hotkey selection not persisting correctly
- **Custom Endpoint API Keys**: Fixed custom endpoint API keys not persisting to `.env` file
@@ -245,6 +291,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.2.16] - 2026-01-24
### Fixed
+
- **App Startup Hang**: Fixed app initialization timing issues with Electron 36+
- **Manager Initialization**: Deferred manager initialization until after `app.whenReady()` to prevent hangs
- **Debug Logger Initialization**: Deferred debugLogger file initialization until `app.whenReady()`
@@ -254,25 +301,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.2.15] - 2026-01-22
### Added
+
- **ydotool Fallback for Linux**: Added ydotool as additional fallback option for clipboard paste operations on Linux systems
### Changed
+
- **Unified Prompt System**: Refactored to single intelligent prompt system for improved consistency and maintainability
- **whisper.cpp Remote**: Refactored remote whisper.cpp integration for better reliability
## [1.2.14] - 2026-01-22
### Added
+
- **Troubleshooting Mode**: New debug logging section in settings with toggle for detailed diagnostic logs, log file path display, and direct folder access for easier support
- **Custom Transcription Endpoint**: Support for custom OpenAI-compatible transcription endpoints with configurable base URLs
- **Enhanced Clipboard Debugging**: Detailed clipboard operation logging for diagnosing paste issues across platforms
### Changed
+
- **API Key Management**: Consolidated and refactored API key persistence with improved .env file handling and recovery mechanisms
- **Local Network Detection**: Refactored URL detection into reusable utility for better code organization
- **Electron Builder**: Updated to latest version for improved build performance
### Fixed
+
- **Windows/Linux Taskbar**: Prevented dual taskbar entries on Windows and Linux by properly configuring window behavior
- **Single Instance Lock**: Enforced single instance lock with cleaner window state checks
- **Model Provider Consistency**: Removed redundant fallbacks and ensured consistent use of getModelProvider()
@@ -283,14 +335,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.2.12] - 2026-01-20
### Added
+
- **LLM Download Cancellation**: Added ability to cancel in-progress local LLM model downloads with throttled progress updates to prevent UI flashing
### Changed
+
- **Gemini Model Updates**: Updated Gemini models to latest versions
- **Linux Wayland Improvements**: Improved Wayland paste detection with GNOME-specific handling and XWayland fallback support
- **whisper.cpp CUDA Support**: Updated whisper.cpp download script to include CUDA-enabled binaries
### Fixed
+
- **Windows Paste Delay**: Adjusted paste delay timing on Windows for more reliable text insertion
- **Blank Audio Prevention**: Fixed issue where blank/silent audio recordings would paste empty text
- **Newline Handling**: Fixed newline formatting issues in transcribed text
@@ -298,6 +353,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.2.11] - 2026-01-18
### Fixed
+
- **ASAR Path Resolution**: Fixed path resolution issues for bundled resources in packaged builds
- **Update Checker**: Fixed auto-update checker initialization
- **Build Includes**: Ensured services and models are properly included in production builds
@@ -306,17 +362,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.2.10] - 2026-01-17
### Fixed
+
- **Streaming Backpressure**: Fixed proper streaming backpressure handling in audio processing
- **Quit and Install**: Fixed update installation on app quit
## [1.2.9] - 2026-01-17
### Fixed
+
- **Path Resolution**: Improved path resolution for better cross-platform compatibility
## [1.2.8] - 2026-01-16
### Added
+
- **Microphone Input Selection**: Choose your preferred microphone input device in settings, with built-in mic preference to prevent Bluetooth audio interruptions
- **Push to Talk Mode**: New recording mode option alongside the existing toggle mode
- **Hotkey Listening Mode**: Prevents conflicts when capturing new hotkeys by temporarily disabling the global hotkey
@@ -324,10 +383,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Cross-Platform Accessibility Settings**: Quick access to system accessibility settings on macOS
### Changed
+
- **Streamlined Onboarding**: Removed redundant "How it Works" section, success dialogs, and manual save buttons for a smoother setup experience
- **Improved Select Styling**: Enhanced dropdown select component appearance
### Fixed
+
- **FFmpeg Availability Types**: Corrected type definitions and optimized whisper-cpp download process
- **Whisper Models Path**: Fixed model storage path resolution
- **Better Path Resolution**: Improved error handling for file paths
@@ -336,14 +397,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.2.7] - 2026-01-13
### Added
+
- **Whisper Server HTTP Mode**: Added persistent whisper-server for faster repeated transcriptions with automatic CLI fallback
- **Pipeline Timing Instrumentation**: Added detailed timing logs for each stage of the transcription pipeline
- **Whisper Server Pre-warming**: Server pre-warms on startup for faster first transcription
### Changed
+
- **Windows Clipboard**: Reduced clipboard delays for faster text pasting on Windows
### Fixed
+
- **Windows Update Install**: Simplified Windows update installation by using silent mode and removing redundant before-quit handling
- **Mac Build Workflows**: Fixed CI/CD to run separate workflows for Mac builds
- **Mac DMG Build Race Condition**: Fixed release workflow DMG build failure caused by concurrent arm64/x64 builds mounting same volume
@@ -352,62 +416,76 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.2.6] - 2026-01-13
### Changed
+
- **Settings Layout**: Moved settings navigation to left side on Windows and Linux for improved consistency
### Fixed
+
- **Linux Whisper Detection**: Fixed issue where Python-based Whisper could be used instead of whisper.cpp on Linux systems
## [1.2.5] - 2026-01-13
### Added
+
- **Model Validation**: Added validation when deleting or loading Whisper models to ensure model integrity
- **Download Cancellation**: Added ability to cancel in-progress model downloads in whisper pickers
- **Windows Paste Performance**: Added nircmd for faster text pasting on Windows
### Fixed
+
- **EventEmitter Memory Leak**: Fixed memory leak caused by duplicate listener registration in useUpdater hook across ControlPanel and SettingsPage components
- **FFmpeg Path Resolution**: Fixed FFmpeg path resolution in unpacked ASAR for local whisper.cpp transcription
### Changed
+
- **UI Cleanup**: Removed redundant UI elements for a cleaner interface
## [1.2.4] - 2026-01-13
### Changed
+
- **whisper.cpp Packaging**: Moved whisper.cpp binaries from ASAR to extraResources for improved reliability and faster startup
### Fixed
+
- **Package Lock Sync**: Fixed package-lock.json synchronization with package.json dependencies
## [1.2.3] - 2026-01-13
### Added
+
- **Extended Hotkey Support**: Added numpad keys, media keys, and additional special keys (Pause, ScrollLock, PrintScreen, NumLock) for hotkey selection
- **Improved Hotkey Error Messages**: Registration failures now include helpful suggestions for alternative hotkeys
### Changed
+
- **Linux Paste Tools**: Only show paste tools installation prompt on Linux when tools are not available
### Fixed
+
- **Hotkey Debugging**: Added comprehensive debug logging to hotkey manager for troubleshooting registration issues
## [1.2.2] - 2026-01-13
### Fixed
+
- **React Version Mismatch**: Fixed blank screen caused by incompatible React and React-DOM versions in package-lock.json
## [1.2.1] - 2026-01-13
### Fixed
+
- **Blank Screen on Upgrade**: Fixed white screen issue for users upgrading from older versions with different onboarding step counts. The onboarding step index is now properly clamped to valid range.
## [1.2.0] - 2026-01-13
### Added
+
- **Delete All Whisper Models**: New option to delete all downloaded Whisper models at once
- **Model Deletion Confirmation**: Added confirmation dialog when deleting models in settings
### Changed
+
- **Migrated to whisper.cpp**: Replaced Python-based Whisper with native whisper.cpp for faster, more reliable transcription
- No longer requires Python installation
- WebM-to-WAV audio conversion built-in
@@ -417,35 +495,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **CI/CD Updates**: Updated build and release workflows
### Fixed
+
- **IPC Handler**: Fixed broken IPC handler for model operations
- **Logging**: Standardized logging across the application
- **React Hook Dependencies**: Improved React hook dependency arrays for better performance
- **Button Styling**: Fixed button styling consistency across the application
### Removed
+
- **Python Dependency**: Removed Python requirement and all related installation code
- **whisper_bridge.py**: Removed Python-based Whisper bridge in favor of native whisper.cpp
## [1.1.2] - 2026-01-12
### Added
+
- **Linux Package Dependencies**: Recommended xdotool, wtype, and python3 packages for Linux users
### Fixed
+
- **Python Installation Race Condition**: Fixed race condition in Python installation check that could cause installation to fail or hang
## [1.1.1] - 2026-01-12
### Added
+
- **Cross-Platform Paste Tools Detection**: Onboarding now detects and guides users through installing paste tools on Linux and Windows with auto-grant accessibility
### Changed
+
- **Qwen Model Compatibility**: Disabled thinking mode for Qwen models on Groq to prevent compatibility issues
- **Model Registry Refactor**: disableThinking flag now uses the centralized model registry
- **Consolidated ColorScheme Types**: Removed redundant default exports and cleaned up inline font styles
- **Provider Icons**: Use static imports for provider icons to fix Vite bundling issues
### Fixed
+
- **Recording Cancellation**: Restored cancel recording functionality that was accidentally removed
- **Model Downloads**: Implemented atomic downloads with temp file pattern and robust cleanup handling for cross-platform reliability
- **Incomplete Download Prevention**: Model file size validation now prevents incomplete downloads from showing as complete
@@ -454,6 +539,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.1.0] - 2026-01-10
### Added
+
- **Compound Hotkey Support**: Use multi-key combinations like `Cmd+Shift+K` or `Ctrl+Alt+D` for dictation
- **Groq API Integration**: Ultra-fast AI inference with Groq's cloud API
- **Auto-Update UI**: Download progress bars and install button in settings
@@ -461,6 +547,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Release Notes Viewer**: Markdown-rendered release notes in settings
### Changed
+
- **Major Hotkey Refactor**: Complete rewrite of hotkey selection with improved reliability and validation
- **Consolidated Model Registry**: Single source of truth for all AI models (`modelRegistryData.json`)
- **Unified Model Picker**: Reusable component for both transcription and reasoning model selection
@@ -469,6 +556,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Code Quality**: Added ESLint, Prettier for JS/TS, and Ruff for Python
### Fixed
+
- **Windows 11 Compatibility**: Fixed PATH separator, cache directories, and process termination
- **Python Virtual Environment**: Fixed race condition and added Arch Linux venv support
- **Microphone Detection**: Improved onboarding flow for missing inputs with deep-linking to system settings
@@ -479,13 +567,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.0.15] - 2026-01-05
### Added
+
- Button to fully quit OpenWhispr processes from the application
- Linux terminal detection with automatic paste key switching (Ctrl+Shift+V for terminals)
### Changed
+
- Standardized logging on log levels with renderer IPC and `.env` refresh for consistent debug output
### Fixed
+
- Use `kdotool` for Wayland terminal detection, improving clipboard paste reliability
- Increased delay before restoring clipboard to avoid race conditions during paste operations
- Persist OpenAI key before onboarding test to prevent key loss during setup
@@ -497,16 +588,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.0.13] - 2025-12-24
### Added
+
- Enhanced Linux support with Wayland compatibility, multiple package formats (AppImage, deb, rpm, Flatpak), and native window controls
- Auto-detect existing Python during onboarding and gate the installer with a recheck option
- "Use Existing Python" skip flow to onboarding with confirmation dialog
### Changed
+
- Reuse audio manager and stabilize dictation toggle callback to fix recording latency
- Add cleanup functions to IPC listeners to prevent memory leaks
- Make Flatpak opt-in for local builds only
### Fixed
+
- Optimized transcription pipeline with caching, batched reads, and non-blocking operations for improved performance
- Reference error in settings page
- Removed redundant audio listener causing unnecessary processing
@@ -514,6 +608,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Performance improvements: removed duplicate useEffect, fixed blur causing re-renders
### CI/CD
+
- Add caching for Electron and Flatpak downloads
- Add Flatpak runtime installation to workflow
- Add Linux packaging dependencies to GitHub Actions workflow
@@ -521,63 +616,77 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.0.12] - 2025-11-13
### Added
+
- Added `scripts/complete-uninstall.sh` plus a new TROUBLESHOOTING guide so you can collect arch diagnostics, clean caches, and reset permissions before reinstalling stubborn builds.
- Control Panel history now auto-refreshes through a shared store and IPC events, so new, deleted, or cleared transcripts sync instantly without a manual refresh.
- Distribution artifacts now include both Apple Silicon and Intel macOS DMG/ZIP outputs, and the README documents Debian/Ubuntu packaging along with optional `xdotool` support.
### Changed
+
- The onboarding flow now validates dictation hotkeys before letting you continue, remembers whether cloud auth was skipped, and only persists sanitized API keys once supplied.
- History entries normalize timestamps and no longer run the removed legacy text cleanup helper, so the UI shows the exact Whisper output that was saved.
### Fixed
+
- Local Whisper now finds Python on Windows more reliably by scanning typical install paths, honoring `OPENWHISPR_PYTHON`, and surfacing actionable ENOENT guidance.
- Whisper installs automatically retry pip operations that hit PEP‑668, TOML, or permission errors, sanitizing the output and falling back to `--user` + legacy resolver when needed.
## [1.0.11] - 2025-10-13
### Added
+
- Settings, onboarding, and the AI model selector now accept OpenAI-compatible custom base URLs for both transcription and reasoning providers, complete with validation and reset helpers.
- Windows now gets full tray behavior: closing the control panel hides it to the tray, left-click reopens it, and the UI adds a native close button.
### Changed
+
- ReasoningService sends both `input` and `messages` payloads and automatically falls back between `/responses` and `/chat/completions` so older OpenAI-compatible endpoints keep working.
### Fixed
+
- Successful endpoint detection is cached per base URL, so the app remembers whether to call `/responses` or `/chat/completions` instead of retrying the wrong path forever.
- Custom endpoint fields now enforce HTTPS (with localhost as the lone exception) across the UI and services, preventing API keys from ever leaving over plain HTTP.
## [1.0.10] - 2025-10-07
### Added
+
- Added a `compile:globe` build step that emits a macOS Globe listener binary into `resources/bin` before every dev, pack, or dist command so the hotkey ships with all builds.
### Fixed
+
- Globe key failures now raise a macOS dialog, verify the bundled binary is executable, and kill/restart the listener cleanly so the shortcut survives packaging.
## [1.0.9] - 2025-10-07
### Changed
+
- Simplified the release workflow by removing the bespoke GitHub release job and letting electron-builder upload draft releases directly.
## [1.0.8] - 2025-10-03
### Fixed
+
- Globe/Fn hotkey reliability improved by showing the dictation panel before toggling, making focus optional, and surfacing listener spawn errors instead of failing silently.
## [1.0.7] - 2025-10-03
### Added
+
- Settings update controls now show download progress bars, install countdowns, and clearer messaging while fetching or installing new builds.
### Changed
+
- Auto-update internals now track listeners, cache the last release metadata, and keep auto-download/auto-install disabled until the user explicitly triggers an update, eliminating the previous memory leaks.
### Fixed
+
- `Install & Restart` now emits `before-quit`, enables `autoInstallOnAppQuit`, logs progress, and calls `quitAndInstall(false, true)` so updates actually apply when quitting or pressing the button.
## [1.0.6] - 2025-09-11
### Added
+
- **Dictation Panel Command Menu**: Clicking the floating panel reveals quick actions, including a one-click "Hide this for now" option.
- **macOS Globe Key Support**: Added a lightweight Swift listener so the Globe/Fn key can toggle dictation across the system.
- **Globe Key Selection UI**: Settings and onboarding keyboards now include a dedicated Globe key option.
@@ -586,11 +695,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Tray Controls**: macOS tray menu gained quick actions to show or hide the dictation panel.
### Changed
+
- **Dictation Overlay Placement**: Window now anchors to the active workspace's bottom-right corner with a safety margin, preventing it from sliding off-screen on multi-monitor setups.
- **Dictation Overlay Canvas**: Enlarged the floating window so tooltips, menus, and error states render without being clipped while keeping click-through behaviour outside interactive elements.
- **Keyboard UX**: Virtual keyboard hides macOS-exclusive keys on Windows/Linux and standardises hotkey labels.
### Fixed
+
- **macOS Window Lifecycle**: Ensured the dictation panel keeps the app visible in Dock and Command-Tab while retaining floating behaviour across spaces.
- **Control Panel Stability**: Reworked close/minimize handling so the panel stays interactive when switching apps and reopens cleanly without spawning duplicate windows.
- **Always-On-Top Enforcement**: Centralised the logic that reapplies floating window levels, eliminating redundant timers and focus quirks.
@@ -600,6 +711,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.0.5] - 2025-09-10
### Fixed
+
- **Build System**: Fixed native module signing conflicts on macOS
- Added `npmRebuild: true` to force rebuild of native modules during packaging
- Added `buildDependenciesFromSource: true` to compile native dependencies from source
@@ -611,6 +723,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixes "Resource not accessible by integration" error during releases
### Technical Details
+
- This is a maintenance release focusing on build reliability and deployment infrastructure
- No feature changes or user-facing functionality updates
- All changes related to packaging, signing, and automated release processes
@@ -618,6 +731,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.0.4] - 2025-09-09
### Added
+
- **Multi-Provider AI Support**: Integrated three major AI providers for text processing
- OpenAI: Complete model suite including:
- GPT-5 Series (Nano/Mini/Full) - Latest generation with deep reasoning
@@ -646,7 +760,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Inline API key validation and secure storage
- Provider-specific model selection with descriptions
-### Changed
+### Changed
+
- **Default AI Model**: Updated from GPT-3.5 Turbo to GPT-4o Mini for cost-efficient multimodal support
- **Model Updates**: Refreshed all AI models to their latest 2025 versions
- OpenAI: Added GPT-5 family (released August 2025), migrated to Responses API
@@ -664,6 +779,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Documentation**: Updated CLAUDE.md, README.md with comprehensive provider information
### Fixed
+
- **API Key Persistence**: All provider keys now properly save to `.env` file
- Added `saveAllKeysToEnvFile()` method for consistent persistence
- Keys reload automatically on app restart
@@ -680,6 +796,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Older models retain full parameter support
### Technical Improvements
+
- Added Gemini API integration with proper authentication flow
- Implemented SecureCache utility for API key management
- Enhanced IPC handlers for multi-provider support
@@ -695,6 +812,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.0.3] - 2024-12-20
### Added
+
- **Local AI Models**: Integration with community models for complete privacy
- Support for Llama, Mistral, and other open-source models
- Local model management UI with download progress
@@ -705,12 +823,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Automatic key rotation support
### Fixed
+
- Resolved issues with Whisper model downloads on slow connections
- Fixed clipboard pasting reliability on Windows 11
- Improved error messages for better debugging
- Fixed memory leaks in long-running sessions
### Changed
+
- Optimized audio processing pipeline for 30% faster transcription
- Reduced app bundle size by 15MB through dependency optimization
- Improved startup time by lazy-loading heavy components
@@ -718,11 +838,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.0.2] - 2024-12-19
### Added
+
- **Automatic Python Installation**: The app now detects and offers to install Python automatically
- macOS: Uses Homebrew if available, falls back to official installer
- Windows: Downloads and installs official Python with proper PATH configuration
- Linux: Uses system package manager (apt, yum, or pacman)
-- **Enhanced Developer Experience**:
+- **Enhanced Developer Experience**:
- Added MIT LICENSE file
- Improved documentation for personal vs distribution builds
- Added FAQ section to README
@@ -734,12 +855,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- App shows in dock on macOS with the standard dot indicator when running
### Changed
+
- Updated supported language count from 90+ to 58 (actual count in codebase)
- Improved README structure for better open source experience
## [1.0.1] - 2024-XX-XX
### Added
+
- **Agent Naming System**: Personalize your AI assistant with a custom name for more natural interactions
- Name your agent during onboarding (step 6 of 8)
- Address your agent directly: "Hey [AgentName], make this more professional"
@@ -751,17 +874,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Flexible Hotkey System**: Fixed hardcoded hotkey limitation - now fully respects user settings
### Changed
+
- **[BREAKING]** Removed click-to-record functionality to prevent conflicts with dragging
- **UI Behavior**: Recording is now exclusively controlled via hotkey (no accidental triggering)
- **Tooltip Text**: Shows "Press {your-hotkey} to speak" with actual configured hotkey
- **Cursor Styles**: Changed to grab/grabbing cursors to indicate draggable interface
### Fixed
+
- **Hotkey Bug**: Fixed issue where hotkey setting was stored but not actually used by global shortcut
- **Documentation**: Updated all docs to reflect current UI behavior and hotkey system
- **User Experience**: Eliminated confusion between drag and click actions
### Technical Details
+
- **Agent Naming Implementation**:
- Added centralized agent name utility (`src/utils/agentName.ts`)
- Enhanced onboarding flow with agent naming step
@@ -782,6 +908,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.1.0] - 2024-XX-XX
### Added
+
- Initial release of OpenWhispr (formerly OpenWispr)
- Desktop dictation application using OpenAI Whisper
- Local and cloud-based speech-to-text transcription
@@ -796,6 +923,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Cross-platform support (macOS, Windows, Linux)
### Features
+
- **Speech-to-Text**: Convert voice to text using OpenAI Whisper
- **Dual Processing**: Choose between local processing (private) or cloud processing (fast)
- **Model Management**: Download and manage local Whisper models (tiny, base, small, medium, large)
@@ -808,6 +936,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Permission Management**: Streamlined macOS accessibility permission setup
### Technical Stack
+
- **Frontend**: React 19, Vite, TailwindCSS, Shadcn/UI components
- **Backend**: Electron 36, Node.js
- **Database**: better-sqlite3 for local storage
@@ -815,6 +944,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Build System**: Electron Builder for cross-platform packaging
### Security
+
- Local-first approach with optional cloud processing
- Secure API key storage and management
- Sandboxed renderer processes with context isolation
diff --git a/README.md b/README.md
index 482053a84..aab86af15 100644
--- a/README.md
+++ b/README.md
@@ -55,19 +55,22 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
### For Personal Use (Recommended)
1. **Clone the repository**:
+
```bash
git clone https://github.com/OpenWhispr/openwhispr.git
cd openwhispr
```
2. **Install dependencies**:
+
```bash
npm install
```
3. **Optional: Set up API keys** (only needed for cloud processing):
-
+
**Method A - Environment file**:
+
```bash
cp .env.example .env
# Edit .env and add your API keys:
@@ -77,17 +80,19 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
# GROQ_API_KEY=your_groq_key
# MISTRAL_API_KEY=your_mistral_key
```
-
+
**Method B - In-app configuration**:
- Run the app and configure API keys through the Control Panel
- Keys are automatically saved and persist across app restarts
4. **Build the application**:
+
```bash
npm run build
```
5. **Run the application**:
+
```bash
npm run dev # Development mode with hot reload
# OR
@@ -120,7 +125,8 @@ npm run pack
OpenWhispr now supports multiple Linux package formats for maximum compatibility:
**Available Formats**:
-- `.deb` - Debian, Ubuntu, Linux Mint, Pop!_OS
+
+- `.deb` - Debian, Ubuntu, Linux Mint, Pop!\_OS
- `.rpm` - Fedora, Red Hat, CentOS, openSUSE
- `.tar.gz` - Universal archive (works on any distro)
- `.flatpak` - Sandboxed cross-distro package
@@ -182,12 +188,14 @@ chmod +x dist/OpenWhispr-*.AppImage
OpenWhispr ships a native C binary for pasting text on Linux, compiled automatically at build time. This is the **primary** paste mechanism — external tools like `xdotool` and `wtype` are only used as fallbacks if the native binary fails.
How it works:
+
- **X11**: Uses the XTest extension to synthesize `Ctrl+V` (or `Ctrl+Shift+V` in terminals) directly, with no external dependencies beyond X11 itself
- **Wayland**: Uses the Linux `uinput` subsystem to create a virtual keyboard and inject keystrokes. Falls back to XTest via XWayland if uinput is unavailable
- **Terminal detection**: Recognizes 20+ terminal emulators (kitty, alacritty, gnome-terminal, wezterm, ghostty, etc.) and automatically uses `Ctrl+Shift+V` instead of `Ctrl+V`
- **Window targeting**: Can target a specific window ID via `--window` to ensure keystrokes reach the correct application
Build dependencies (for compiling from source):
+
```bash
# Debian/Ubuntu
sudo apt install gcc libx11-dev libxtst-dev
@@ -200,6 +208,7 @@ sudo pacman -S gcc libx11 libxtst
```
The build script (`scripts/build-linux-fast-paste.js`) runs during `npm run compile:linux-paste` and:
+
1. Detects whether `linux/uinput.h` headers are available
2. Compiles with `-DHAVE_UINPUT` if so (enables Wayland uinput support)
3. Caches the binary and skips rebuilds unless the source or flags change
@@ -212,6 +221,7 @@ If the native binary isn't available, OpenWhispr falls back to external paste to
The following tools are used as fallbacks when the native paste binary is unavailable or fails:
**X11 (Traditional Linux Desktop)**:
+
```bash
# Debian/Ubuntu
sudo apt install xdotool
@@ -226,6 +236,7 @@ sudo pacman -S xdotool
**Wayland (Modern Linux Desktop)**:
**Recommended:** Install `wl-clipboard` for reliable clipboard sharing between Wayland apps:
+
```bash
sudo apt install wl-clipboard # Debian/Ubuntu
sudo dnf install wl-clipboard # Fedora/RHEL
@@ -235,6 +246,7 @@ sudo pacman -S wl-clipboard # Arch
Choose **one** of the following paste tools:
**Option 1: wtype** (requires virtual keyboard protocol support)
+
```bash
# Debian/Ubuntu
sudo apt install wtype
@@ -247,6 +259,7 @@ sudo pacman -S wtype
```
**Option 2: ydotool** (works on more compositors, requires daemon)
+
```bash
# Debian/Ubuntu
sudo apt install ydotool
@@ -262,6 +275,7 @@ sudo systemctl enable --now ydotoold
```
**Terminal Detection** (Optional - for KDE Wayland users):
+
```bash
# On KDE Wayland, kdotool enables automatic terminal detection
# to paste with Ctrl+Shift+V instead of Ctrl+V
@@ -320,6 +334,7 @@ npm run build:linux # Linux
## Usage
### Basic Dictation
+
1. **Start the app** - A small draggable panel appears on your screen
2. **Press your hotkey** (default: backtick `) - Start dictating (panel shows recording animation)
3. **Press your hotkey again** - Stop dictation and begin transcription (panel shows processing animation)
@@ -327,6 +342,7 @@ npm run build:linux # Linux
5. **Drag the panel** - Click and drag to move the dictation panel anywhere on your screen
### Control Panel
+
- **Access**: Right-click the tray icon (macOS) or through the system menu
- **Configure**: Choose between local and cloud processing
- **History**: View, copy, and delete past transcriptions
@@ -335,21 +351,25 @@ npm run build:linux # Linux
- **Settings**: Configure API keys, customize hotkeys, and manage permissions
### Uninstall & Cache Cleanup
-- **In-App**: Use *Settings → General → Local Model Storage → Remove Downloaded Models* to clear `~/.cache/openwhispr/whisper-models` (or `%USERPROFILE%\.cache\openwhispr\whisper-models` on Windows).
+
+- **In-App**: Use _Settings → General → Local Model Storage → Remove Downloaded Models_ to clear `~/.cache/openwhispr/whisper-models` (or `%USERPROFILE%\.cache\openwhispr\whisper-models` on Windows).
- **Windows Uninstall**: The NSIS uninstaller automatically deletes the same cache directory.
- **Linux Packages**: `deb`/`rpm` post-uninstall scripts also remove cached models.
- **macOS**: If you uninstall manually, remove `~/Library/Caches` or `~/.cache/openwhispr/whisper-models` if desired.
### Agent Naming & AI Processing
+
Once you've named your agent during setup, you can interact with it using multiple AI providers:
**🎯 Agent Commands** (for AI assistance):
+
- "Hey [AgentName], make this more professional"
- "Hey [AgentName], format this as a list"
- "Hey [AgentName], write a thank you email"
- "Hey [AgentName], convert this to bullet points"
**🤖 AI Provider Options**:
+
- **OpenAI**: GPT-5, GPT-4.1, o-series reasoning models
- **Anthropic**: Claude Opus 4.5, Sonnet 4.5, Haiku 4.5
- **Google**: Gemini 2.5 Pro/Flash/Flash-Lite
@@ -357,6 +377,7 @@ Once you've named your agent during setup, you can interact with it using multip
- **Local**: Qwen, LLaMA, Mistral via llama.cpp
**📝 Regular Dictation** (for normal text):
+
- "This is just normal text I want transcribed"
- "Meeting notes: John mentioned the quarterly report"
- "Dear Sarah, thank you for your help"
@@ -364,6 +385,7 @@ Once you've named your agent during setup, you can interact with it using multip
The AI automatically detects when you're giving it commands versus dictating regular text, and removes agent name references from the final output.
### Custom Dictionary
+
Improve transcription accuracy for specific words, names, or technical terms:
1. **Access Settings**: Open Control Panel → Settings → Custom Dictionary
@@ -371,12 +393,14 @@ Improve transcription accuracy for specific words, names, or technical terms:
3. **How It Works**: Words are provided as context hints to the speech recognition model
**Examples of words to add**:
+
- Uncommon names (e.g., "Sergey", "Xanthe")
- Technical jargon (e.g., "Kubernetes", "OAuth")
- Brand names (e.g., "OpenWhispr", "whisper.cpp")
- Domain-specific terms (e.g., "amortization", "polymerase")
### Processing Options
+
- **OpenWhispr Cloud**:
- Sign in with Google or email — no API keys needed
- Free plan: 2,000 words/week with 7-day Pro trial for new accounts
@@ -466,6 +490,7 @@ open-whispr/
### Architecture
The app consists of two main windows:
+
1. **Main Window**: Minimal overlay for dictation controls
2. **Control Panel**: Full settings and history interface
@@ -483,6 +508,7 @@ Both use the same React codebase but render different components based on URL pa
### Tailwind CSS v4 Setup
This project uses the latest Tailwind CSS v4 with:
+
- CSS-first configuration using `@theme` directive
- Vite plugin for optimal performance
- Custom design tokens for consistent theming
@@ -546,12 +572,14 @@ For local processing, OpenWhispr uses OpenAI's Whisper model via whisper.cpp - a
3. **No Dependencies**: No Python or other runtime required
**System Fallback**: If the bundled binary fails, install via package manager:
+
- macOS: `brew install whisper-cpp`
- Linux: Build from source at https://github.com/ggml-org/whisper.cpp
**From Source**: When running locally (not a packaged build), download the binary with `npm run download:whisper-cpp` so `resources/bin/` has your platform executable.
**Requirements**:
+
- Sufficient disk space for models (75MB - 3GB depending on model)
**Upgrading from Python-based version**: If you previously used the Python-based Whisper, you'll need to re-download models in GGML format. You can safely delete the old Python environment (`~/.openwhispr/python/`) and PyTorch models (`~/.cache/whisper/`) to reclaim disk space.
@@ -565,9 +593,11 @@ OpenWhispr also supports NVIDIA Parakeet models via sherpa-onnx - a fast alterna
3. **Models stored in**: `~/.cache/openwhispr/parakeet-models/`
**Available Models**:
+
- `parakeet-tdt-0.6b-v3`: Multilingual (25 languages), ~680MB
**When to use Parakeet vs Whisper**:
+
- **Parakeet**: Best for speed-critical use cases or lower-end hardware
- **Whisper**: Best for quality-critical use cases or when you need specific model sizes
@@ -597,6 +627,7 @@ We welcome contributions! Please follow these steps:
- Follow the existing code style
- Update documentation as needed
- Test on your target platform before submitting
+
## Security
OpenWhispr is designed with privacy and security in mind:
@@ -669,7 +700,7 @@ A: OpenWhispr supports 58 languages including English, Spanish, French, German,
## Project Status
-OpenWhispr is actively maintained and ready for production use. Current version: 1.4.9
+OpenWhispr is actively maintained and ready for production use. Current version: 1.4.10
- ✅ Core functionality complete
- ✅ Cross-platform support (macOS, Windows, Linux)
diff --git a/package-lock.json b/package-lock.json
index 8714831ee..f6adcaf3e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "open-whispr",
- "version": "1.4.9",
+ "version": "1.4.10",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "open-whispr",
- "version": "1.4.9",
+ "version": "1.4.10",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
diff --git a/package.json b/package.json
index 237d88112..c1ac41e7c 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "open-whispr",
- "version": "1.4.9",
+ "version": "1.4.10",
"description": "A desktop dictation application using whisper.cpp for speech-to-text transcription",
"main": "main.js",
"private": true,