HomeProjectsNews

LocalFlow

A fully offline macOS dictation app. Hold a key, speak, and polished text lands at your cursor — speech-to-text and LLM cleanup both run on-device, so no audio or text ever leaves the machine.
Swift
SwiftUI + AppKit
WhisperKit
Ollama
CGEvent
XcodeGen
Source

Dictation · ⌥ Right Option

Formatting cues
Self-correction
Bullet list
Filler words
Phone numbers
Custom dictionary

Command · ⇧ Right Shift

Rewrite selection
Open an app

Tip: on a keyboard, press Right Option or Right Shift to cycle through scenarios.

Mail

To: John Subject: Launch

⌥

option

Hotkey

Right Option

Mic capture

AVAudioEngine

Transcribe

WhisperKit large-v3

Clean up

qwen2.5:7b · Ollama

Paste

⌘V at cursor

You say

…

Raw transcript · WhisperKit

Waits for key release

Pasted at cursor

—

abc

filler removed

abc

self-corrected

abc

spoken instruction

abc

dictionary term

This is a scripted playback — the real app is a native macOS menu-bar app that needs Accessibility access and ~8 GB of local models, so it can't run in a browser. The scenarios come from the examples in LocalFlow's cleanup prompt and command router.