Skip to content
← Lab

Fork2 min read

VoiceInk fork: live preview + API cost history

My fork of the open-source macOS dictation app VoiceInk: OpenAI Whisper via API, a local live preview while speaking and a history of API costs.

  • Swift
  • macOS
  • Whisper
  • Vibe coding
View on GitHub
VoiceInk recording bar with a live waveform next to a panel showing the API costs for Whisper and AI enhancement AI-generated imageMade with an AI image tool for this post.

VoiceInk is a fast, open-source dictation app for macOS that runs speech models locally. In daily use, a few functions were missing. Above all: transcription through OpenAI’s Whisper API instead of local models only, without losing the live preview of the text while speaking.

Because the code is open, those functions could be built right into the app. That’s what this fork is.

What the fork adds

Whisper via API, with a local live preview

While speaking, a local model (Parakeet) writes the preview in real time. When the recording stops, OpenAI’s Whisper API delivers the final, more accurate transcript. Each mode can use it, together with AI enhancement.

VoiceInk modes with Whisper v1 as transcription model, real-time preview switched on and AI enhancement via OpenAI

A cost overview

Cloud models cost money, even if it’s tiny amounts. Every recording now shows an estimated cost for transcription and AI enhancement, and the history adds it all up. Prices and the USD/EUR rate are editable, because provider pricing changes. Local models stay free.

VoiceInk settings for API usage costs: Whisper price per minute, enhancement token prices and a USD to EUR exchange rate

VoiceInk history with a summary of all API costs, split into Whisper and the enhancement model

Permissions at a glance

A settings tab shows the status of every macOS permission VoiceInk needs (microphone, accessibility, screen recording) and opens the right place in System Settings with one click.

VoiceInk permissions tab listing microphone, accessibility and screen recording as granted, each with a button to open System Settings

More small things

  • The overlay at the text field. Optionally, the recording indicator appears right next to the active text field instead of somewhere at the edge of the screen.
  • Insights from day one. The dashboard shows its statistics right away instead of waiting for enough data.

Staying close to the original

Keeping everything compatible with the original was the most important decision. My changes live in their own folder, behind clear switches, and every change to an original file is documented. That lets me pull in updates from the main project without breaking the new features.

What I learned

This fork gave me a way into a codebase I would never write from scratch. I do not write Swift for a living. AI helped me find my way around a real, production-grade macOS app and change it carefully.