1: posts
Reading ModeRO
$ cat 20251231_opensw.md

#Building OpenSW, my local speech-to-text app

Date:2025-12-31 (Wed)
>Recording with a global shortcut, transcribing with Whisper, and editing text locally with Ollama in a Tauri desktop app.

##Table of Contents

##Introduction

I’ve always enjoyed programming, both at work and in my spare time.
Lately, though, the way I develop software has been changing.
With the rise of GitHub Copilot, Claude Code, Cursor, and Antigravity, agentic coding has become a mainstream way of working.

I myself am also increasingly developing software in the Vibe Coding style, where I develop it while interacting with AI agents.
In this development style, the quality of the final product depends on how well the requirements are communicated through the prompt, and how accurately feedback can be provided on the finished product.

What is especially important is to convey feedback in words while operating the completed UI, such as "I would like you to fix this here," or "This is different from the original image."
However, when you are using a browser or an app, your focus is on that, so it can be difficult to type on the keyboard in some situations.

What is drawing attention recently is voice input.
By touching the completed product and saying to yourself, "I want you to fix this," or "This is the problem," you should be able to communicate feedback smoothly.

##Looking at existing tools

When I looked for a voice input tool, I found several excellent software.

###superwhisper

superwhisper is an AI voice input tool for macOS.
It offers a range of features such as local processing using Whisper, support for more than 100 languages, and registration of custom vocabulary.
It works offline and also considers privacy.

###Aqua Voice

Aqua Voice is a voice input tool compatible with Windows and macOS.
It features a unique high-precision model called "Avalon," which understands the context of the screen and can appropriately recognize code notation and everyday text.
The developers advertise input at five times typing speed and pitch it as a productivity tool for programmers.

###Whispering

Whispering is an open-source voice input tool.
It has a simple design where you can start recording and get text using the shortcut key.

###Where the existing tools fell short

As a result of investigating these tools, the following issues have become apparent.

  • Only the paid version: superwhisper and Aqua Voice require a paid subscription.
  • Local LLM not supported: There are no tools that can use a local LLM for text editing after transcription.
  • Platform Limitations: Many are macOS-specific.

I usually use Windows machines with a GPU and macOS that can leverage Apple Silicon's unified memory.
If possible, I wanted to make the most of this local machine power and have everything from voice recognition to text correction by LLMs completed locally.

Therefore, while drawing on these existing tools, we decided to develop an open-source voice transcription tool "OpenSW" that meets our own needs.

##What is OpenSW?

OpenSW is a desktop application that performs local voice recognition using OpenAI Whisper.
You don't need to send data to the cloud, so you can use it without worrying about privacy.

GitHub
Updated: 2026-02-23
Avatar of liebe-magi
liebe-magi/OpenSW

Open-source Speech-to-Text Desktop Application

TypeScript 3 0 5 0

###Main features

  • 🎤 Local voice recognition: Local processing using Whisper (no cloud required)
  • ⚡ GPU Acceleration: Fast inference using CUDA on Windows and Metal on macOS.
  • 🤖 Text correction by LLM: Ollama integrates with it, allowing for the removal of fillers and correction of punctuation marks.
  • ⌨️ Global Shortcut: Start/stop recording from any screen using Ctrl+Alt+Space.
  • 📋 Automatic clipboard copy: Automatically copy the transcription results to the clipboard.
  • 🔔 System Notification: Notification upon transcription completion
  • 📍 System Tray permanently installed: Runs in the background and can be accessed from the tray icon.
  • 🖥️ Compact recording mode: Displays a minimal floating window during recording.

##Demo video

Watch the video above for an actual feel of the usage.
I think you can start recording quickly with the global shortcut and see how automatic transcription and clipboard copy are performed.

##The technology stack

The development of OpenSW uses the following technologies.

CategoryTechnology
FrontendReact 18, TypeScript, Vite
BackendRust, Tauri 2.0
Speech Recognitionwhisper-rs (whisper.cpp bindings)
Audio Processingcpal, hound, rodio
LLM IntegrationOllama API (via reqwest)

###Why I chose Tauri

When creating a desktop application, I considered Electron and Tauri.
The final reason for choosing Tauri is as follows.

  1. Small binary size: Electron includes Chromium, so it can be several hundred MB, but Tauri uses the system WebView, so it can be around 10MB.
  2. Can write a backend in Rust: You can implement performance-critical tasks such as audio processing and integration with Whisper in Rust.
  3. Stability of Tauri 2.0: The stable version was released in 2024, and the plugin ecosystem has also been expanded.

###About Whisper

whisper.cpp is a C/C++ implementation that efficiently runs OpenAI's Whisper model on CPU/GPU.
By using the Rust binding whisper-rs, you can directly call Whisper from the Tauri backend.

There is a trade-off between accuracy and speed depending on the model size.

ModelSizeAccuracySpeed
ggml-tiny.binAbout 75 MBLowFaster
ggml-base.binAbout 142 MBCenterFast
ggml-small.binAbout 466 MBGoodOrdinary
ggml-medium.binAbout 1.5 GBHighSlow
ggml-large-v3-turbo.binAbout 1.6 GBHighOrdinary
ggml-large-v3.binAbout 3 GBBestSlowest

For Japanese transcription, we recommend ggml-medium.bin or higher for accuracy purposes.

##Editing transcriptions with Ollama

The results of voice recognition often include fillers (such as "uh" or "you know") or incorrect punctuation marks.
With OpenSW, you can automatically correct these using LLMs by integrating Ollama.

By specifying Ollama's endpoint and model in the settings screen and setting a custom prompt, you can format the text transcription results.
For example, you can set instructions such as "Remove fillers and add appropriate punctuation points" as prompts.

##How to install it

###Prebuilt binaries

We provide built-in binaries for Windows and macOS (Apple Silicon).

👉 Download from the Release Page

PlatformFile
Windows (exe)OpenSW.exe
Windows (msi)OpenSW_0.1.0_x64_en-US.msi
macOS (Apple Silicon)OpenSW_0.1.0_aarch64.dmg

###Building from source

Bash
# Clone the repository
git clone https://github.com/liebe-magi/OpenSW.git
cd OpenSW

# Install dependencies
bun install

# Run in development mode
bun run tauri dev

# Production build
bun run tauri build

The Whisper model needs to be downloaded separately from Hugging Face.

##Using OpenSW

  1. Select the Whisper model: When you first launch, select the downloaded Whisper model file (.bin).
  2. Audio Input Settings: Select the microphone you want to use from the dropdown menu.
  3. Start recording: Press Ctrl+Alt+Space or click the tray icon.
  4. Stop recording: Press Ctrl+Alt+Space again. The audio will be transcribed and copied to the clipboard.

##Development challenges

###CUDA builds and iteration time

I particularly struggled with building CUDA on Windows.
When building whisper-rs with CUDA support, version management and linking settings in the CUDA Toolkit were complex, and trial and error was required.

The length of the build time is even more troublesome.
Since builds that have CUDA enabled take a long time, even checking for a small fix can cause waiting time.
Debugging iterations were quite challenging.

###Implementing the system tray

Tauri has system tray support, but it took longer than expected to work properly.
We needed to adjust the fine movements such as click events on the tray icon and displaying the menu.

###Global keyboard shortcuts

Implementing a global shortcut that allows you to start recording with Ctrl+Alt+Space no matter which app you're focused on also took more effort than expected.
It was necessary to make adjustments to avoid differences in behavior between different operating systems and to prevent shortcut conflicts.

##What comes next

We are currently releasing v0.1.0, but we plan to add the following features in the future.

  • Improve Linux support
  • Support for more LLM providers
  • Save and Search History Functionality
  • Strengthening Multilingual Support

##Wrapping up

OpenSW is a voice-to-text tool that is completely local.
The global shortcut makes it quick to start recording, and the optional LLM editing step helps turn a rough transcription into text I can use in my daily work.

OpenSW is open source. Give it a try if that sounds useful.
Feedback and contributions are welcome!

GitHub
Updated: 2026-02-23
Avatar of liebe-magi
liebe-magi/OpenSW

Open-source Speech-to-Text Desktop Application

TypeScript 3 0 5 0

## Comments

"20251231_opensw.md" [readonly]6L, 9834B
utf-8100%