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 is a lightweight macOS utility that provides instant translation for text selected in any application. It eliminates the need to manually copy-paste text into a browser or separate translation app by providing a non-intrusive, floating interface that stays out of your way.

How it works

The app uses a multi-layered approach to capture text, utilizing the macOS Accessibility API, AppleScript, or the system clipboard. Once captured, it sends the text to your choice of translation provider—ranging from traditional services like Google and DeepL to modern LLMs like OpenAI, Anthropic, DeepSeek, or local models running via Ollama and LM Studio. It also supports OCR for translating text within images or screenshots.

Who it’s for

It is designed for macOS users who frequently need to translate text while working in other applications and want a highly customizable, privacy-conscious tool that supports both cloud-based APIs and local, on-device AI models.

Highlights

  • Broad Model Support: Integrates with major commercial translation APIs, Apple's native on-device translation, and various LLMs including local options via Ollama.
  • Lightweight Performance: Built in pure Swift 6 with a small footprint (~7 MB) and optimized memory usage.
  • Versatile Input: Handles selected text, clipboard content, manual input, and screen-captured images (OCR).
  • Non-Intrusive: Features floating panels that do not steal focus from your active application.
  • Integration Ready: Compatible with automation tools like PopClip and OpenClip for streamlined workflows.

Related

  • Project
  • Project
  • Project
  • Project
  • Project