# openwhispr | OpenWhispr | Knowledge Base | Instagit

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

GitHub Stars: 7k

Repository: https://github.com/OpenWhispr/openwhispr

---

## Articles

### [What Does the `window.api` Object Expose in the OpenWhispr Renderer Process?](/OpenWhispr/openwhispr/what-does-the-window-api-object-expose-in-the-openwhispr-renderer-process)

Explore the OpenWhispr window api object, a secure IPC bridge exposing over 50 methods for audio capture, AI management, clipboard, and GPU config in the Electron renderer.

- Tags: api-reference
- Published: 2026-09-06

### [How Renderer Components Access the IPC API in OpenWhispr](/OpenWhispr/openwhispr/how-do-renderer-components-access-the-ipc-api-in-openwhispr)

Learn how OpenWhispr renderer components securely access the IPC API via the electronAPI object on the global window. Understand context isolation and preload scripts.

- Tags: internals
- Published: 2026-09-06

### [How OpenWhispr Implements the Async Handle Pattern for Electron IPC](/OpenWhispr/openwhispr/how-does-openwhispr-utilize-the-async-handle-pattern-for-ipc)

Discover how OpenWhispr uses Electron's async handle pattern for seamless IPC communication. Learn to await responses and maintain clean separation between UI and system tasks.

- Tags: internals
- Published: 2026-09-06

### [OpenWhispr Settings Management: Key IPC Channels and Implementation Guide](/OpenWhispr/openwhispr/what-are-some-key-ipc-channels-used-for-settings-management-in-openwhispr)

Discover OpenWhispr settings management via key IPC channels like get-settings and update-settings. Learn how to implement synchronization between main and renderer processes in this essential guide.

- Tags: how-to-guide
- Published: 2026-09-06

### [Key IPC Channels for Audio Processing in OpenWhispr: A Technical Deep Dive](/OpenWhispr/openwhispr/what-are-some-key-ipc-channels-used-for-audio-processing-in-openwhispr)

Explore the key IPC channels OpenWhispr uses for audio processing, including raw audio streaming and real-time transcription between renderer and main processes. Discover the technical details.

- Tags: deep-dive
- Published: 2026-09-06

### [How IPC Channels Are Registered and Handled in OpenWhispr's Main Process](/OpenWhispr/openwhispr/how-are-ipc-channels-registered-and-handled-in-the-main-process-of-openwhispr)

Discover how OpenWhispr registers and handles IPC channels in its main process. Learn about secure IPC bridging via preload.js from src/helpers/ipcHandlers.js.

- Tags: internals
- Published: 2026-09-06

### [What Is the Role of the Preload Script in OpenWhispr's IPC Architecture?](/OpenWhispr/openwhispr/what-is-the-role-of-the-preload-script-in-openwhisprs-ipc-architecture)

Discover the preload script's vital role in OpenWhispr's IPC architecture. It securely bridges renderer and main processes, controlling API access for enhanced security.

- Tags: internals
- Published: 2026-09-06

### [How OpenWhispr Implements Context Isolation for Secure IPC](/OpenWhispr/openwhispr/how-does-openwhispr-implement-context-isolation-for-secure-ipc)

Discover how OpenWhispr achieves secure IPC with context isolation. Learn about its preload scripts, contextBridge, and message validation for enhanced security.

- Tags: internals
- Published: 2026-09-06

### [OpenWhispr IPC Communication Pattern: Hybrid Request-Response and Pub-Sub Architecture](/OpenWhispr/openwhispr/what-is-the-ipc-communication-pattern-used-in-openwhispr)

Explore OpenWhispr's hybrid IPC communication pattern. Discover how it blends request-response and publish-subscribe for efficient Electron process interaction.

- Tags: architecture
- Published: 2026-09-06

### [How OpenWhispr Guarantees Cleanup of Temporary Audio Files: 5 Mechanisms Explained](/OpenWhispr/openwhispr/how-are-temporary-audio-files-guaranteed-to-be-cleaned-up-in-openwhispr)

Discover how OpenWhispr guarantees temporary audio file cleanup with 5 essential mechanisms like explicit disposal and automatic stream release. Ensure your data is secure.

- Tags: how-to-guide
- Published: 2026-09-06

### [How OpenWhispr Uses FFmpeg for Audio Processing: Complete Technical Guide](/OpenWhispr/openwhispr/how-does-openwhispr-use-ffmpeg-for-audio-processing)

Discover how OpenWhispr leverages FFmpeg for robust audio processing. Learn about binary resolution, conversion, segmentation, and merging for Whisper ASR.

- Tags: technical-guide
- Published: 2026-09-06

### [Managing the Lifecycle of Temporary Audio Files in OpenWhispr: The safeTempDir Module](/OpenWhispr/openwhispr/which-module-is-responsible-for-managing-the-lifecycle-of-temporary-audio-files-in-openwhispr)

Discover how OpenWhispr's safeTempDir module manages temporary audio file lifecycles. Learn about unique directory creation, path generation, and automatic cleanup for efficient audio processing.

- Tags: internals
- Published: 2026-09-06

### [How OpenWhispr Manages Temporary Audio Files: Secure Lifecycle and Privacy Protection](/OpenWhispr/openwhispr/how-does-openwhispr-manage-temporary-audio-files)

Discover how OpenWhispr securely manages temporary audio files. Learn about its lifecycle from capture to immediate deletion, ensuring no residual voice data remains on disk.

- Tags: how-to-guide
- Published: 2026-09-06

### [How OpenWhispr Transfers Audio Chunks from the Renderer to the Main Process](/OpenWhispr/openwhispr/how-are-audio-chunks-transferred-from-the-renderer-to-the-main-process-in-openwhispr)

Discover how OpenWhispr transfers audio chunks from renderer to main process using Electron's IPC bridge for real-time or batch audio streaming. Learn about AudioManager and window.electronAPI.

- Tags: internals
- Published: 2026-09-06

### [How OpenWhispr Collects Audio Data Chunks: A Two-Stage Pipeline for Low-Latency Dictation](/OpenWhispr/openwhispr/what-strategy-does-openwhispr-use-for-collecting-audio-data-chunks)

Discover how OpenWhispr collects audio data chunks using a two-stage pipeline. Learn about pre-roll buffering and MediaRecorder slices for low-latency dictation.

- Tags: internals
- Published: 2026-09-06

### [How OpenWhispr Integrates with the MediaRecorder API for Audio Capture](/OpenWhispr/openwhispr/how-does-openwhispr-integrate-with-the-mediarecorder-api-for-audio-capture)

Discover how OpenWhispr integrates with the MediaRecorder API to capture microphone audio. Learn about React hooks, AudioManager, and Electron IPC for seamless audio streaming and transcription.

- Tags: how-to-guide
- Published: 2026-09-06

### [Audio Recording Pipeline Architecture in OpenWhispr: 6-Stage Technical Breakdown](/OpenWhispr/openwhispr/what-is-the-audio-recording-pipeline-architecture-in-openwhispr)

Explore OpenWhispr's 6-stage audio recording pipeline architecture. Discover how it achieves low-latency speech-to-text with pre-roll buffering and real-time preview.

- Tags: architecture
- Published: 2026-09-06

### [How OpenWhispr Coordinates Window Visibility During Recording Sessions](/OpenWhispr/openwhispr/how-does-openwhispr-coordinate-window-visibility-during-recording-sessions)

OpenWhispr coordinates window visibility using a Window Manager to sync overlays and panels, automatically hiding the main panel to the system tray when recording starts.

- Tags: internals
- Published: 2026-09-06

### [Window Lifecycle Management in OpenWhispr: Architecture and Implementation Guide](/OpenWhispr/openwhispr/which-module-handles-window-lifecycle-management-in-openwhispr)

Discover how OpenWhispr manages its dual-window Electron app. Explore the windowManager js module for centralized creation, visibility, resizing, and state tracking.

- Tags: architecture
- Published: 2026-09-06

### [How OpenWhispr Implements Content Protection for the Dictation Window](/OpenWhispr/openwhispr/how-is-content-protection-implemented-for-the-openwhispr-dictation-window)

Discover how OpenWhispr secures your dictation window by using Electron's setContentProtection API to prevent screen captures and protect sensitive UI elements.

- Tags: how-to-guide
- Published: 2026-09-06

### [How OpenWhispr Implements URL-Based Routing for Dual-Window Electron Components](/OpenWhispr/openwhispr/how-does-openwhispr-use-url-based-routing-for-its-dual-window-components)

Discover how OpenWhispr leverages URL-based routing with a window query parameter to render distinct component trees for its overlay and control panel using a single React bundle.

- Tags: architecture
- Published: 2026-09-06

### [How the Control Panel Window Differs from the Dictation Overlay in OpenWhispr](/OpenWhispr/openwhispr/how-does-the-control-panel-window-in-openwhispr-differ-from-the-dictation-overlay)

Discover how the OpenWhispr Control Panel window differs from the dictation overlay for efficient speech capture and configuration.

- Tags: deep-dive
- Published: 2026-09-06

### [Main Dictation Overlay Window in OpenWhispr: Purpose, Architecture, and Implementation](/OpenWhispr/openwhispr/what-is-the-purpose-of-the-main-dictation-overlay-window-in-openwhispr)

Discover the purpose, architecture, and implementation of OpenWhispr's main dictation overlay window. Learn how this privacy-focused Electron BrowserWindow captures dictation efficiently.

- Tags: architecture
- Published: 2026-09-06

### [How OpenWhispr Manages Its Dual Window Architecture: A Deep Dive into Electron Multi-Window Design](/OpenWhispr/openwhispr/how-does-openwhispr-manage-its-dual-window-architecture)

Discover how OpenWhispr masterfully handles its dual window Electron architecture. Learn about its IPC state management and shared React codebase for seamless multi-window operation.

- Tags: deep-dive
- Published: 2026-09-06

