Launching today

SwaprTrans
Native macOS translator that rewrites text in-place
2 followers
Native macOS translator that rewrites text in-place
2 followers
Select text in Slack, Teams, Mail, or any macOS app, tap Space to translate on-device via Apple's Translation framework, and hit Enter to replace it in-place. Pure Swift (under 2MB, zero Electron), MIT open-source core, $6.99 lifetime Pro.




Free Options
Launch Team

AWS Activate CreditsCredits that fuel your startup’s next milestone
Promoted
Hey Product Hunt! I'm Luo Lin, an indie Mac developer, and I built SwaprTrans to fix a tiny annoyance that was breaking my flow dozens of times a day.
Working across Chinese and English in Slack, Teams, Mail, and terminals meant constantly doing the copy -> switch to translator -> paste -> copy back -> overwrite dance. I wanted translation to feel like a native macOS text gesture instead of a separate app.
With SwaprTrans, you just highlight text in any input field, tap Space (or Option+D / double right-click if you prefer), see the translation in a floating HUD that never steals window focus, and hit Enter to replace the original text in-place.
Under the hood, it's pure Swift + SwiftUI (Universal 2 binary under 2MB, zero Electron). On macOS 15+ it runs 100% offline via Apple's native Translation.framework on the Neural Engine, with Microsoft Edge and Google Translate as automatic fallbacks. I also spent a lot of time making the CGEvent tap IME-safe so Space still works normally while typing, and the core engine (SwaprTransKit) is MIT open-source on GitHub and installable via Homebrew (brew tap linrol/tap && brew install --cask swapr-trans).
Translation and in-place rewriting are free and open source forever. There is an optional $6.99 one-time Pro license (no subscription, activates up to 3 Macs) if you want the native SQLite3 vocabulary manager to star phrases and export them to Anki (CSV/JSON).
Right now it's tuned for bidirectional Chinese <-> English, and I'd love your honest feedback on what other language pairs or shortcuts you'd want next!