cosZone/MoePeek

A lightweight macOS selection translator built with pure Swift 6, featuring on-device Apple Translate for privacy, only 5MB install size and stable ~50MB memory usage. 一款轻量级 macOS 划词翻译工具,纯 Swift 6 开发,设备端 Apple 翻译保护隐私,安装体积仅 5MB,后台运行内存稳定约 50MB

What it solves

MoePeek provides a lightweight way for macOS users to translate text instantly from any application without switching windows. It eliminates the friction of copying and pasting text into a separate translation website or app.

How it works

It operates as a native macOS menu bar application built with Swift. The app uses a multi-tiered approach to grab text (Accessibility API, AppleScript, or Clipboard) and sends it to a chosen translation service. It supports various translation methods, including traditional APIs, local LLMs via Ollama or LM Studio, and on-device system translation for macOS 15+.

Who it’s for

macOS users who frequently translate text across different apps and prefer a lightweight, privacy-conscious tool over heavy Electron-based applications.

Highlights

  • Multiple Translation Modes: Supports selecting text, OCR screenshots, clipboard translation, and manual input.
  • Broad Service Support: Integrates with free services (Google, Bing), paid APIs (DeepL, Baidu), and LLMs (OpenAI, Anthropic, DeepSeek, local models).
  • High Performance: Native Swift implementation with a small app size (5 MB) and low memory footprint (50 MB).
  • Privacy Focused: Offers on-device translation via Apple Translation.
  • Smart Features: Includes automatic language detection for 14 languages and text-to-speech playback.

Related

  • Project
  • Project
  • Project
  • Project
  • Project