Easydict
is a concise and easy-to-use translation dictionary macOS App that allows you to easily and elegantly look up words or translate text. Easydict is ready to use out of the box, can automatically recognize the language of the input text, supports input translate, select translate, and OCR screenshot translate, and can query multiple translation services results at the same time. Currently, it supports Youdao Dictionary, 🍎 Apple System Dictionary, 🍎 macOS System Translation, OpenAI, Gemini, DeepL, Google, Tencent, Bing, Baidu, Niutrans, Lingocloud, Ali Translate and Volcano Translation.
- Out of the box, easily look up words or translate text.
- Automatic recognition of input language and automatic query of target preferred language.
- Auto select translate, automatically display the query icon after word search, and mouse hover to query.
- Support for configuring different services for different window types.
- Support system OCR screenshot translation, Silent Screenshot OCR.
- Support system TTS, along with online services from Bing, Google, Youdao and Baidu Cloud.
- Support 🍎 Apple System Dictionary, support third-party dictionaries with manual mdict dictionaries import functionalities.
- Support macOS system translation. (Please see How to use 🍎 macOS system translation in Easydict?)
- Support Youdao Dictionary, DeepL, OpenAI, Gemini, Google, Tencent, Bing, Baidu, Niutrans, Lingocloud, Ali and Volcano Translate.
- Support for 48 languages.
If you like this app, please consider giving it a Star ⭐️, thanks! (^-^)
We plan to refactor the project with Swift. If you are interested in this open source project, familiar with Swift/SwiftUI, welcome to join our development team to improve this project together #194.
- Easydict
- Features
- Swift Refactoring Plan
- Table of contents
- Installation
- Usage
- OCR
- Language Recognition
- TTS Services
- Translation Services
- Smart query mode
- URL Scheme
- Use with PopClip
- Settings
- Tips
- Similar Open Source Projects
- Motivation
- Contributor Guide
- Star History
- Acknowledgements
- Statement
- Sponsor
You can install it using one of the following two methods. Support macOS 11.0+
Download the latest release of the app.
Thanks to BingoKingo for the initial installation version.
brew install --cask easydict
If you are a developer, or you are interested in this project, you can also try to build and run it manually. The whole process is very simple, even without knowing macOS development knowledge.
Build Steps
- Download this Repo, and then open the
Easydict.xcworkspace
file with Xcode (⚠️ ⚠️ ⚠️ Note that it is notEasydict.xcodeproj
⚠️ ⚠️ ⚠️ ). - Use
Cmd + R
to compile and run.
The following steps are optional and intended for development collaborators only.
If you often need to debug permission-related features, such as word fetching or OCR, you can choose to run it with your own Apple account, change DEVELOPMENT_TEAM`` in the
Easydict-debug.xcconfig file to your own Apple Team ID (you can find it by logging in to the Apple developer website) and `CODE_SIGN_IDENTITY
to Apple Development.
Be careful not to commit the `Easydict-debug.xcconfig`` file; you can ignore local changes to this file with the following git command
git update-index --skip-worktree Easydict-debug.xcconfig
Xcode 13+, macOS Big Sur 11.3+. To avoid unnecessary problems, it is recommended to use the latest Xcode and macOS version tisfeng#79
[!NOTE] Since the latest code uses the String Catalog feature, Xcode 15+ is required to compile. If your Xcode version is lower, please use the xcode-14 branch, note that this is a fixed version branch, not maintained.
If the run encounters the following error, try updating CocoaPods and then pod install
.
DT_TOOLCHAIN_DIR cannot be used to evaluate LD_RUNPATH_SEARCH_PATHS, use TOOLCHAIN_DIR instead
Once Easydict is launched, in addition to the main window (hidden by default), there will be a menu icon, and clicking on the menu option will trigger the corresponding actions, as follows:
Currently, multiple mouse quick word selection methods are supported: double-click word selection, mouse drag word selection, triple-click word selection (paragraph) and Shift word selection (multiple paragraphs). In some applications, mouse drag word selection and Shift word selection may fail, in which case you can switch to other word selection methods.
The shortcut key to select words can work normally in any application. If you encounter an application that cannot select words, you can open an issue to solve it tisfeng#84
The flow of the crossword function: Accessibility > AppleScript > simulated shortcuts, giving priority to the secondary function Accessibility fetching, and if Accessibility fetching fails (unauthorized or not supported by the application), if it is a browser application (e.g. Safari, Chrome), it will try to use AppleScript fetching. If the AppleScript fetching still fails, then the final forced fetching is done - simulating the shortcut Cmd+C to fetch the word.
Therefore, it is recommended to turn on the Allow JavaScript in Apple events option in your browser to avoid event blocking on certain web pages, such as those with forced copyright information, and to optimize the word fetching experience.
For Safari users, it is highly recommended that this option be turned on, as Safari does not support Accessibility fetching, and AppleScript fetching is far superior to simulating shortcuts.
-
Select Translate
requires theAuxiliary Accessibility
. The mouse stroke function only triggers the application of auxiliary accessibility permission when it is used for the first time, and the automatic stroke translation function can only be used normally after authorization. -
For screenshot Translate, you need to enable
Screen Recording
permission. The application will only automatically pop up a permission application dialog box when you use Screenshot Translation for the first time. If the authorization fails, you need to turn it on in the system settings manually.
Currently, only the system OCR is supported, third-party OCR services will be integrated later.
System OCR supported languages: Simplified Chinese, Traditional Chinese, English, Japanese, Korean, French, Spanish, Portuguese, German, Italian, Russian, Ukrainian.
Currently, only the system language recognition is supported, and Baidu and Google language recognition are supported, but considering the speed problem of online recognition and instability (Google also needs to be flipped), the other two recognition services are only used for auxiliary optimization.
The system language recognition is used by default, and after tuning, the accuracy of the system language recognition is already very high, which can meet the needs of most users.
If you still feel that the system language recognition is inaccurate in actual use, you can turn on Baidu language recognition or Google language recognition optimization in the settings, but please note that this may cause the response speed to slow down, and the recognition rate will not be 100% in line with user expectations. If there is a recognition error, you can manually specify the language type.
Currently support macOS system TTS, Bing, Google, Youdao, and Baidu online TTS service.
- System TTS: The most stable and reliable option, but not very accurate. It is usually used as a fallback option, i.e., the system TTS is used instead of the other TTS when errors occur.
- Bing TTS: Yields optimal results by generating real-time neural network speech synthesis. However, this process is more time-intensive, and the length of the input text directly impacts the duration of generation. Currently, the maximum supported character limit is 2,000 characters, roughly equivalent to a 10-minute generation time.
- Google TTS: Good results with English, and the interface is stable. However, it can only generate upto 200 characters at a time.
- Youdao TTS: The overall performance is commendable with a stable interface, and it excels in the pronunciation of English words. However, the maximum character limit is capped at 600 characters.
- Baidu TTS: English sentences are well pronounced with a distinctive accent, but can only generate up to about 1,000 characters.
By default, the application uses Youdao TTS, but users have the option to select their preferred TTS service in the settings.
Due to its impressive performance with English words, Youdao TTS is the recommended choice for such content, while the default TTS service remains in use for other languages.
It's worth noting that, apart from the system TTS, all other TTS services are unofficial interfaces and may experience instabilities from time to time
Currently supports YouDao Dictionary, 🍎 Apple System Dictionary, 🍎 Apple System Translator, DeepL, Google, Bing, Baidu and Volcano Translator.
Note
Since the Chinese version of Google Translate is currently unavailable, you can only use the international version, so you need to use a proxy to use Google Translate.
Supported languages:
Languages | Youdao | DeepL | 🍎 Apple Translate | Bing | Baidu | Volcano | |
---|---|---|---|---|---|---|---|
Chinese (Simplified) | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Chinese (Traditional) | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
English | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Japanese | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Korean | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
French | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Spanish | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Portuguese | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Italian | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
German | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Russian | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Arabic | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
Swedish | ❌ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ |
Romanian | ❌ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ |
Thai | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
Slovak | ❌ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ |
Dutch | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Hungarian | ❌ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ |
Greek | ❌ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ |
Danish | ❌ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ |
Finnish | ❌ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ |
Polish | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Czech | ❌ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ |
Turkish | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Lithuanian | ❌ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ |
Latvian | ❌ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ |
Ukrainian | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Bulgarian | ❌ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ |
Indonesian | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Malay | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ |
Slovenian | ❌ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ |
Estonian | ❌ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ |
Vietnamese | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
Persian | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ |
Hindi | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ |
Telugu | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ |
Tamil | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ |
Urdu | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ |
Filipino | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ |
Khmer | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ |
Lao | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ |
Bengali | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ |
Burmese | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ |
Norwegian | ❌ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ |
Serbian | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ |
Croatian | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ |
Mongolian | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ |
Hebrew | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ |
Easydict seamlessly integrates with the dictionaries available in the macOS Dictionary App, including popular options like the Oxford English-Chinese-Chinese-English Dictionary (Simplified Chinese-English) and the Modern Chinese Standard Dictionary (Simplified Chinese). To use these dictionaries, simply enable them through the Dictionary App settings page.
Furthermore, Apple Dictionary offers support for custom dictionaries, allowing you to import third-party options such as the Concise English-Chinese Dictionary, Longman Dictionary of Contemporary Advanced English, and more. These can be added to your system by importing dictionaries in the .dictionary format.
For detailed information, please see How to use macOS system dictionary in Easydict
Version 1.3.0 starts to support OpenAI translation, which requires an OpenAI API key.
If you don't have your own OpenAI APIKey, you can use some open source projects to convert third-party LLM interfaces to standard OpenAI interfaces, so that you can use them directly in Easydict
.
For example, one-api, one-api is a good OpenAI interface management open source project, supports many LLM interfaces, including Azure, Anthropic Claude, Google Gemini, ChatGLM, Baidu Wenwen, and so on. ChatGLM, Baidu Wenxin Yiyin, Xunfei Starfire Cognition, Ali Tongyi Thousand Questions, 360 Intelligent Brain, Tencent Mixed Meta, Moonshot AI, Groq, Zero-One Everything, Step Star, DeepSeek, Cohere , etc., can be used for the secondary distribution of the management key, only a single executable file, has been packaged with a good Docker image, one-key deployment, out-of-the-box .
Important
2.6.0 version implements a new SwiftUI settings page (macOS 13+ support), which supports configuring the service API key in a GUI way, other system verions need to be configured using commands in Easydict's input box.
Tip
If your computer hardware supports it, it is recommended to upgrade to the latest macOS system to enjoy a better user experience.
easydict://writeKeyValue?EZOpenAIAPIKey=sk-xxx
Lookup for APIKey (similar to other keys), if the query succeeds, the result will be written to the clipboard.
easydict://readValueOfKey?EZOpenAIAPIKey
Currently, OpenAI translation supports three query modes: word lookup, sentence translation, and long-text translation. They are all enabled by default, while words and sentences can be disabled.
Considering the token cost associated with OpenAI, a default 'Close' option has been implemented. After executing the following command, OpenAI will automatically stop the queries by default, and it will only be queried when the user manually clicks the 'Expand' button.
easydict://writeKeyValue?EZOpenAIServiceUsageStatusKey=1
// Disable word lookup
easydict://writeKeyValue?EZOpenAIDictionaryKey=0
// Disable sentence analysis
easydict://writeKeyValue?EZOpenAISentenceKey=0
A quick tip: If you only want to exclude occasional sentence analysis without turning off the Sentence mode, simply append a tilde (~) after [Sentence]
. This will convert it into the Translation mode.
Support custom domains and models
// set custom API URL, https://api.openai.com/v1/chat/completions
easydict://writeKeyValue?EZOpenAIEndPointKey=xxx
// set default model, gpt-3.5-turbo
easydict://writeKeyValue?EZOpenAIModelKey=xxx
// set available modes, gpt-3.5-turbo, gpt-4-turbo
easydict://writeKeyValue?EZOpenAIAvailableModelsKey=xxx
Since the official OpenAI interface has restrictions on user IPs, if you need a reverse proxy, you can refer to this project cloudflare-reverse-proxy
The supported configuration items are the same as OpenAI, just replace OpenA with CustomOpenAI.
easydict://writeKeyValue?EZCustomOpenAIAPIKey=sk-xxx
easydict://writeKeyValue?EZCustomOpenAIEndPointKey=xxx
easydict://writeKeyValue?EZCustomOpenAIModelKey=xxx
easydict://writeKeyValue?EZCustomOpenAIServiceUsageStatusKey=xxx
Currently, some LLM service vendors provide free AI models with restrictions, such as Ali's Lingjian modeling service DashScope, Groq, Google Gemini, and so on.
To make it easier for new users to get a taste of using these big model AI translations, we have added a built-in AI translation service that supports the following service models:
Tongyi Thousand Questions open source series, open DashScope and get a total of 1,000,000 tokens! The qwen1.5-32b-chat model is currently available for free for a limited time.
- qwen1.5-32b-chat
- qwen-turbo
- baichuan2-13b-chat-v1
- deepseek-7b-chat
- internlm-7b-chat
- llama3-70b-8192
- mixtral-8x7b-32768
- gemini-pro
However, please note that the above built-in models have some limitations (mainly on the free amount), we do not guarantee that they can be used stably all the time, and we recommend users to use one-api to build their own big model service.
Gemini Translation requires an API key, which can be obtained for free on the official website Console.
easydict://writeKeyValue?EZGeminiAPIKey=xxx
DeepL free version web API has a frequency limit for single IP, frequent use will trigger 429 too many requests error, so version 1.3.0 adds support for DeepL official API, but the interface has not been written yet, and needs to be enabled through command.
If you have DeepL AuthKey, it is recommended to use personal AuthKey, so as to avoid frequency limits and improve user experience. If not, you can use the way of switching proxy IP to avoid 429 error.
Note
Using a new proxy IP is a generic solution that works for other frequency-limited services.
Enter the following code in the input box, xxx is your DeepL AuthKey, and then Enter
easydict://writeKeyValue?EZDeepLAuthKey=xxx
If you don't have your own AuthKey and need to use DeepL translation a lot, you can consider deploying your own interface service that supports DeepL, or using a third-party service that supports DeepL.
In this case, you need to set a custom DeepL interface address, where the value of EZDeepLTranslateEndPointKey should be the complete request URL, for example, the DeepL official interface is https://api-free.deepl.com/v2/translate. If the custom interface requires AuthKey, the configuration method is the same as before, and the interface parameters are consistent with the DeepL official.
The way to customize the DeepL API URL is equivalent to the DeepL official AuthKey API form in Easydict.
Easydict supports the DeepLX API, see #464 for details.
easydict://writeKeyValue?EZDeepLTranslateEndPointKey=xxx
- The web version API is used by default, and the personal AuthKey will be used when the web version API fails (if any)
easydict://writeKeyValue?EZDeepLTranslationAPIKey=0
- Use personal AuthKey first, and use web version API when it fails. If you use DeepL frequently, it is recommended to use this method, which can reduce one failed request and improve response speed.
easydict://writeKeyValue?EZDeepLTranslationAPIKey=1
- Only use personal AuthKey
easydict://writeKeyValue?EZDeepLTranslationAPIKey=2
Tencent Translate requires an APIKey, for ease of use, we have built-in a key, this key has a limit on the amount, not guaranteed to be available all the time.
It is recommended to use your own APIKey, each registered user of Tencent Translate is given 5 million characters of traffic per month, which is enough for daily use.
// xxx is the SecretId of Tencent Translate
easydict://writeKeyValue?EZTencentSecretId=xxx
// xxx is the SecretKey of Tencent Translate
easydict://writeKeyValue?EZTencentSecretKey=xxx
At present, Bing Translator uses a web interface. When encountering a 429 error due to triggering rate limits, you can extend the usage by manually setting request cookies, aside from switching proxies. The exact duration of the time extension is currently unclear.
The specific steps are, to use the browser to log in Bing Translator, then get the cookie in the console by running the following command.
cookieStore.get("MUID").then(result => console.log(encodeURIComponent("MUID=" +result.value)));
Finally, use the command to write the cookie in Easydict
// xxx is the obtained cookie
easydict://writeKeyValue?EZBingCookieKey=xxx
Note
Bing TTS also uses a web API, which is also easy to trigger interface restrictions and does not report errors, so if you set Bing to the default TTS, it is recommended to set cookies.
Niutrans requires an API key, for ease of use, we have built-in a key, this key has a limit on the amount, not guaranteed to be available all the time.
It is recommended to use your own API key, each registered user of Niutrans is given 200,000 characters of traffic per day.
// xxx is the APIKey of Niutrans
easydict://writeKeyValue?EZNiuTransAPIKey=xxx
Lingocloud needs an Token, for ease of use, we have built-in a token, this token has a limit on the amount, not guaranteed to be available all the time.
It is recommended to use your own Token, each registered user of Lingocloud is given 100,000 characters of traffic per day.
// xxx is the Token of Lingocloud
easydict://writeKeyValue?EZCaiyunToken=xxx
Ali Translate requires an API key, for ease of use, we have built-in a key, this key has a limit on the amount, not guaranteed to be available all the time.
It is recommended to use your own API key, each registered user of Ali Translate is given 100,000 characters of traffic per day.
easydict://writeKeyValue?EZAliAccessKeyId=xxx
easydict://writeKeyValue?EZAliAccessKeySecret=xxx
Currently, there are two main types of lookup services: vocabulary lookup (e.g., Apple Dictionary) and translating text (e.g., DeepL), and there are also some services (e.g., Yudao and Google) that support both vocabulary lookup and translating text.
typedef NS_OPTIONS(NSUInteger, EZQueryTextType) {
EZQueryTextTypeNone = 0, // 0
EZQueryTextTypeTranslation = 1 << 0, // 01 = 1
EZQueryTextTypeDictionary = 1 << 1, // 10 = 2
EZQueryTextTypeSentence = 1 << 2, // 100 = 4
};
Easydict can automatically enable the appropriate query service based on the content of the query text.
Specifically, under smart query mode, when looking up for vocabularies, only services that support [Words lookup] will be invoked; when translating text, only services that support [Text Translation] will be enabled.
For vocabularies, services that support vocabularies lookup work significantly better than translations, while translating text with vocabularies lookups enabled.
By default, all translation services support vocabularies lookup (vocabularies are also a kind of text), users can adjust it manually. For example, to set Google to translate text only, just use the following command to change the property to translation | sentence
.
easydict://writeKeyValue?Google-IntelligentQueryTextType=5
Similarly, for some services that support looking up vocabulary and translating text at the same time, such as Youdao Dictionary, you can set its query mode to look up only vocabulary by setting the type to dictionary
.
easydict://writeKeyValue?Youdao-IntelligentQueryTextType=2
By default, all Windows are not enabled for smart query mode, users can enable this feature manually:
easydict://writeKeyValue?IntelligentQueryMode-window1=1
window1 represents the mini window, while window2 represents hover window, value 0 represents disabled, while 1 represents enabled.
Note
Smart query mode only indicates whether this query service is enabled or not, and the user can manually click on the arrow to the right in the service view to expand the query at any time.
Easydict in-app lookup is supported. In the input box or translation result, if you encounter unfamiliar words, you can call out the menu by right-clicking with heavy pressure and selecting the first "In-app lookup".
Easydict supports fast lookup for URL scheme: easydict://query?text=xxx
, such as easydict://query?text=good
.
If the query content xxx contains special characters, URL encoding is needed, such as easydict://query?text=good%20girl
.
Warning
The old version of easydict://xxx may cause problems in some scenarios, so it is recommended to use the complete URL Scheme: easydict://query?text=xxx
You need to install PopClip first, then select the following code block, PopClip
will show "Install Extension Easydict", just click it.
-- #popclip
-- name: Easydict
-- icon: iconify:ri:translate
-- language: applescript
tell application "Easydict"
launch
open location "easydict://query?text={popclip text}"
end tell
The settings page provides some preference setting modifications, such as automatically playing word pronunciation after turning on a query, modifying translation shortcut keys, turning on and off services, or adjusting the order of services, etc.
Easydict has 3 types of Windows and you can set different services for each of them.
- Mini window: displayed when the mouse automatically picks up words.
- Floating window: displayed when shortcut keys are used to fetch words and screenshot translation.
- Main window: hidden by default, you can turn it on in the settings and show it when the program starts. (The main window function will be enhanced later)
Easydict has some in-app shortcuts to help you use it more efficiently.
Unlike the translation shortcut keys that are globally effective, the following shortcuts only take effect when the Easydict window is in the foreground.
Enter
: After entering the text, press Enter to start the query.Shift + Enter
: Enter a new line.Cmd + ,
: Open the settings page.Cmd + Q
: Quit the app.Cmd + K
: Clear the input text.Cmd + Shift + K
: Clear the input box and query results, the same as clicking the clear button in the lower right corner of the input text.Cmd + I
: Focus on the input text.Cmd + Shift + C
: Copy query text.Cmd + S
: Play the pronunciation of the query text.Cmd + R
: Query again.Cmd + T
: Toggle translation language.Cmd + P
: Pin the window.Cmd + W
: Close the window.Cmd + Enter
: By default, the Google search engine is opened, and the content to be searched is the input text, which is equivalent to manually clicking the browser search icon in the upper right corner.Cmd + Shift + Enter
: If the Eudic App is installed on the computer, an Eudic icon will be displayed to the left of the Google icon, and the action is to open the Eudic App to query.
As long as the query window is activated, you can open the settings page by shortcut key Cmd + ,
. If you hide the menu bar icon, you can reopen it in this way.
If you find that the OCR result is incorrect, you can correct the OCR result by clicking the "Detected xxx" button to specify the recognition language.
- immersive-translate: A nice Immersive Dual Web Page Translation Extension.
- pot-desktop : A cross-platform software for text translation and recognize.
- ext-saladict: A browser extension for looking up words and translating.
- openai-translator: Browser extension and cross-platform desktop application for translation based on ChatGPT API.
- Raycast-Easydict: My other open source project, a Raycast extension version of Easydict.
Looking up words and translating text is a very useful function in daily life. I have used many translation dictionaries, but I was not satisfied until I met Bob. Bob
is an excellent translation software, but it is not open source and no longer provides free application updates since it hit the Apple Store.
As a developer and beneficiary of a lot of open source software, I think that there should be a free open source version of Bob in the world, so I made Easydict.
Now I use Easydict a lot every day, I like it very much, and I hope more people can know it and use it.
Open source makes the world better.
If you are interested in this project, we welcome you to contribute to the project, and we will provide help as much as possible.
Currently, the project has two main branches, dev and main. The dev branch code is usually the latest, and may contain some features that are under development. The main branch code is stable and will be merged with the dev branch code regularly.
In addition, we plan to migrate the project from objc to Swift, and gradually use Swift to write new feature modules in the future, see tisfeng#194
If you think there is room for improvement in the project, or if you have new ideas for features, please submit a PR:
If the PR is a bug fix or feature implementation for an existing issue, please submit it to the dev branch.
If the PR is about a new feature or involves major changes to the UI, it is recommended to open an issue for discussion first to avoid duplicate or conflicting features.
- This project was inspired by saladict and Bob, and the initial version was made based on Bob (GPL-3.0). Easydict has made many improvements and optimizations on the original project, and many features and UI are referenced from Bob.
- Screenshot feature is based on isee15 's Capture-Screen-For-Multi-Screens-On-Mac, and optimized on this project.
- Select text feature is referenced from PopClip.
Bob Initial Version | Easydict New Version |
---|---|
Easydict is licensed under the GPL-3.0 open source license, which is for learning and communication only. Anyone can get this product and source code for free. If you believe that your legal rights have been violated, please contact the author immediately. You can use the source code freely, but you must attach the corresponding license and copyright.
Easydict is a free and open source project, currently mainly developed and maintained by the author. If you like this project, and find it helpful, you can consider sponsoring this project to support it, so that it can go further.
If sponsorship is enough to cover Apple's $99 annual fee, I will sign up for a developer account to solve the app signature problem and make Easydict more accessible to more people.
If you don't want your username to be displayed in the list, please choose anonymous. Thank you for your support.
Sponsor List
Date | User | Amount sponsored | Message |
---|---|---|---|
2023-05-22 | 🍑 | 50 | 感谢开源 |
2023-05-22 | - | 200 | |
2023-05-22 | - | 150 | |
2023-05-24 | 陈佩 | 50 | 加油 有没有可能有 Linux 版?(暂时没有) |
2023-05-27 | 自由。 | 100 | 感谢 |
2023-06-01 | 梦遇 | 10 | 感谢 |
2023-06-05 | 挨揍的免子 | 1 | 谢谢 🙏 |
2023-06-17 | 妙才 | 5 | ❤️ |
2023-06-19 | 1 | 20 | 加油,有没有可能调用 chatgpt 来翻译呀?(参见 #28) |
2023-06-19 | 许冠英 | 6.6 | 感谢开发这么好用的软件,很喜欢。 |
2023-06-20 | lidashuang | 10 | 感谢 |
2023-07-03 | 小阳 | 2 | |
2023-07-06 | 30 | 谢谢 | |
2023-07-11 | 清清 🎵 在努力 ✨ | 20 | |
2023-07-21 | 50 | ty | |
2023-07-25 | 10 | 感谢开源 | |
2023-08-07 | guanyuan | 58 | 开源万岁 |
2023-08-29 | 非此即彼 | 5 | 优雅! |
2023-09-04 | aLong | 10 | 感谢 🙏,期待功能继续完善。 |
2023-09-13 | 一座山的秋叶 | 5 | |
2023-09-17 | 桂 | 200 | 感谢开源 |
2023-09-24 | Austen | 10 | 支持开源作者 |
2023-10-19 | DANIELHU | 7.3 | 感谢开源,希望能加入生词本功能。(后面会加,请等待 33) |
2023-10-25 | tzcsky | 10 | 非常好的软件 |
2023-10-26 | 10 | 开源万岁🎉尽点绵薄之力,感谢! | |
2023-11-06 | 周樹人不能沒有魯迅 | 10.66 | 有点穷,绵薄之力(囧) |
2023-11-07 | ㅤ HDmoli | 5 | zhihui.xiong |
2023-11-10 | ㅤ Andy | 5 | |
2023-11-12 | ㅤ | 6.6 | 请大佬喝瓶饮料🥤,感谢开源 |
2023-11-13 | ㅤ御猫 | 50 | 感谢开源 |
2023-11-21 | ㅤ小虫 | 10 | Thank you, please keep going. |
2023-11-24 | ㅤ王海东 | 10 | |
2023-11-25 | ㅤ jackiexiao | 200 | 这个软件实在太太太太棒了,太感谢了 |
2023-11-27 | ㅤ小曹 | 50 | 感恩!Life Saver |
2023-11-27 | ㅤ大象🐯 | 5 | 开源,让世界更美好 |
2023-11-28 | ㅤ王一帆 | 5 | |
2023-11-29 | ㅤ李利明 | 5 | 伟大的开发者,伟大的开源精神!(❤️) |
2023-11-30 | ㅤ Three | 20 | |
2023-12-02 | ㅤ翻滚的土豆 | 5 | 今天刷到一个 UP 主推荐的,加油。 |
2023-12-02 | ㅤ祥林叔 | 10 | 🫡 国内好的开源不多 |
2023-12-05 | ㅤ刘维尼 | 28.8 | 用户用'萌萌的维尼'吧 感谢开发好用又有品味的软件请您喝奶茶 |
2023-12-05 | ㅤ hiuxia | 100 | 感谢这么优秀的软件! |
2023-12-05 | ㅤ—— | 20 | |
2023-12-07 | 小逗。🎈 | 5 | |
2023-12-26 | ㅤ Yee | 5 | 感谢开源 |
2024-01-09 | ㅤ Jack | 20 | 目前用过最好用的字典软件,谢谢! |
2024-01-15 | ㅤ | 20 | 感谢开源,感谢有你:) |
2024-01-16 | ㅤ sd | 5 | 大佬牛逼🐂🍺 |
2024-01-23 | ㅤ | 5 | |
2024-01-28 | ㅤ | 7 | |
2024-01-29 | 大帅ㅤ | 5 | 还没有,但是感受到了用心。 |
2024-02-04 | ll | 20 | |
2024-02-10 | 盒子哥 | 100 | |
2024-02-26 | 吃核桃不吐皮儿 | 10 | 感谢解答问题 |
2024-02-28 | 20 | 感谢你的 Easydict | |
2024-03-11 | 20 | 感谢 | |
2024-03-16 | 幻影 | 20 | 非常感谢 |
2024-03-25 | 10 | 感谢大佬 | |
2024-04-04 | 至秦 | 37 | 感谢老哥 好用🙏 |
2024-04-12 | 奥雷里亚诺 | 50 | 界面精致,而且帮我节约了不少时间 |
2024-04-15 | 5 | 谢谢你的 Easydict!! | |
2024-05-11 | 35 | 感谢开源和持续更新! |