A macOS menu bar app that translates the currently selected text via a global keyboard shortcut, using the Claude API.
- Default shortcut: ⌃⌘C (Ctrl+Cmd+C) — rebindable from the menu bar
- Source language: auto-detected
- Target language: Czech / English, toggleable
- Model:
claude-haiku-4-5-20251001
swift runOn first launch:
- The app will prompt for Accessibility permission (System Settings → Privacy & Security → Accessibility). Grant it, then quit and relaunch.
- Click the
Translatemenu bar icon → Settings… → paste your Anthropic API key.
The menu bar icon also lets you change the default target language, trigger a translation, or quit.
- Select text in any app.
- Press ⌃⌘C.
- A floating panel shows the translation. Toggle the target language inside the panel to re-translate. Click Copy to copy the result. Your previous clipboard contents are restored automatically.
- The API key is stored in the app's settings (UserDefaults). Set it via the menu bar → Settings….
- The app sets its activation policy to
.accessoryso it has no Dock icon. - To package as a distributable
.appbundle later, wrap the built binary in a bundle with anInfo.plistsettingLSUIElement = true.