tisfeng/Raycast-Easydict
A Raycast Extension for looking up words or translating text in an easy way. Support 48+ languages, support Linguee and Youdao dictionary, support OpenAI, DeepL, Google, Bing, Apple, Baidu, Tencent, Volcano, Youdao and Caiyun translation.
What it is
Raycast Easydict is a dictionary and translation extension for Raycast, a fast, free launcher app. It lets you look up words or translate text quickly, and it works on macOS and Windows. It was originally developed by tisfeng and is currently maintained by maxchang3.
Main features
- Look up and translate: Get translations, pronunciations, exam coverage, parts of speech, tenses, word forms, and web phrases.
- Automatic language detection: The extension tries to detect the input language and translate into your preferred language.
- Auto-query selected text: It can automatically query text you have selected in the frontmost app (on by default).
- OCR screenshot translation: It can recognize text from screenshots and translate it.
- Auto pronunciation: It can play word audio automatically after a query.
- AI-powered lookup and translation: Supports Raycast AI or any OpenAI-compatible endpoint. There is also an AI dictionary mode that builds structured entries for words and terms.
Dictionary and translation services
- Dictionaries: Youdao, Linguee, and Wiktionary.
- Translation services: Apple System Translation, DeepL, Google, Bing, Baidu, Volcano, Youdao, and Caiyun.
- AI providers: Can be added through the Manage Providers command, including OpenAI, Gemini, and Tencent TokenHub presets.
Learning and review tools
- Chinese stroke order: View stroke-order diagrams for Chinese characters.
- Favorite Words: Save complete results for offline browsing and management.
- Anki export: Send favorite words to Anki for spaced-repetition review, using the AnkiConnect add-on.
Configuration highlights
- Manage Providers: Lets you reorder providers and configure AI providers. Built-in providers are ordered here but enabled in Extension Settings.
- Preferred Languages: Defaults to Simplified Chinese and English. These help improve language detection and decide the target translation language.
- Select Target Language: Off by default; when enabled, you can manually pick a target language.
- Automatic Query Selected Text: On by default; a hotkey like
Cmd+Eis recommended for smooth use. - Automatic Play Query Word Pronunciation: On by default; plays audio for English word-like queries, and uses Youdao TTS for other languages.
- System Proxy: Can be enabled in Raycast settings; useful for services that need a proxy, but may slow down responses.
- Windows OCR Language: On Windows, OCR Translate uses the built-in Windows OCR engine. You can pick an installed OCR language; macOS uses Apple Vision and detects language automatically.
Integrations
- Anki: Favorite Words can be added to Anki through AnkiConnect. The deck defaults to
Easydict, and the AnkiConnect URL defaults tohttp://127.0.0.1:8765. - PopClip: You can open Easydict quickly from PopClip by adding a shortcut key and using the provided PopClip snippet.
- Eudic: If the Eudic dictionary app is installed, you can open a queried word in it on macOS.
Caching and data
- Query Cache and AI Query Cache are off by default. They can cache dictionary results, translations, and AI results.
- Built-in dictionary results are kept up to 7 days; machine translations and AI results up to 24 hours.
- Cached results show a clock indicator. You can requery all services, regenerate AI results, or clear the cache.
- Favorite Words remain available offline after upgrading. There are backup and restore options, and data from a newer version is read-only in older versions.
Supported languages
Easydict supports 49 languages, including Simplified Chinese, Traditional Chinese, English, Japanese, Korean, French, Spanish, Portuguese, Italian, German, Russian, Arabic, and many more.
Language detection uses Bing, Baidu, and Volcano as remote services, with Franc as a local fallback. Bing and Baidu are enabled by default; Volcano can be enabled with its own credentials.
Installation
You need Raycast installed first. Then you can install Easydict from the Raycast Store, or manually:
git clone https://github.com/tisfeng/Raycast-Easydict.git && cd Raycast-Easydict
npm install && npm run dev
There is also a separate native macOS app called Easydict App, mentioned in the README as an alternative.
Related
- Project
- Project
- Project
- Project
- Project