TypoFixer is a lightweight macOS app that cleans up and corrects Czech text using your choice of AI provider (Google Gemini or OpenAI). It’s built with SwiftUI and designed for speed: paste → Command+Return → copy the fixed text.
- Czech grammar, spelling, and style correction
- Google Gemini or OpenAI provider selection
- Secure API key storage via Keychain (per‑provider)
- Command+Return to fix instantly; Escape to return to input
- One‑click copy of the corrected output
- macOS 14+ (tested) and Xcode 15+
- An API key for your chosen provider:
- Google Gemini: https://aistudio.google.com/apikey
- OpenAI: https://platform.openai.com/api-keys
- Open
TypoFixer.xcodeprojin Xcode. - Select the
TypoFixerscheme and aMy Macdestination. - Build and run.
- Launch the app, then open
Settings(⌘, or via the app menu). - Choose your preferred provider (Google Gemini or OpenAI).
- Paste the corresponding API key:
- Gemini key is stored under
gemini_api_keyin Keychain. - OpenAI key is stored under
openai_api_keyin Keychain.
- Gemini key is stored under
The app subscribes to provider and key changes, so you can switch providers seamlessly.
- Paste or type text into the top editor.
- Press
⌘⏎(Command+Return) or clickFix. - Copy the corrected result from the bottom editor using the
Copybutton.
Tips:
- If your original text had no quotes but the model returns quoted text, TypoFixer removes the wrapping quotes automatically.
- Press
Escin the output editor to focus the input editor again.
- Requests are built per provider with
AIRequestBuilderand executed byAIService. - Responses are parsed and cleaned in
TextProcessor. - Provider selection and API keys are persisted via
UserDefaultsand Keychain.
You can run the unit tests from Xcode (⌘U) or from the command line:
xcodebuild -scheme TypoFixer -destination 'platform=macOS' test
- Your API keys are stored locally in macOS Keychain.
- Text you submit is sent only to the selected AI provider’s API endpoint.
- Additional providers/models
- Editable prompts
- History and favorites
- Menubar quick‑fix or services integration
MIT — see LICENSE.md for details.
Made by Jan Honza Cerny (honzacerny.com).
