QuickDict English Pop-up Dictionary (EN→PT-BR)

AnkiWeb addon 1095453310

Shows an instant popup dictionary when you select English words during Anki review, with Portuguese (BR) translation, definitions, phonetics, audio pronunciation, synonyms, and offline caching.
AI-generated summary; may contain mistakes.

dictionary

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
1 (👍 1 · 👎 0)
Updated
2026-03-31
Anki versions
25.09.2~
License
GPL-3.0 (from the license file in the package)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JavaScript, CSS
Description language
en

Maintenance

stale

  • Last update or commit: 2026-03-31 (215 days before the snapshot).
  • Commits in the last year: 18.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
23.0925.09.2+2026-03-31
History across monthly snapshots

Loading…

Similar addons

Japanese popup dictionary

Provides instant hotkey-activated Japanese dictionary popups in Anki's reviewer and editor, showing definitions, pitch accents, and frequency with deinflection, customizable themes, and local SQLite caching.

shortcutsappearancedictionary

3 votes 44% approval 👍 3 · 👎 0 Anki 25.09.2~ Updated 2026-05-11
DictOver Addon Anki: Popup Lookup

Provides instant popup dictionary lookup and translation on text selection or double-click in nine languages, with audio pronunciation, IPA, definitions, and Ctrl-click inline field editing.

note-managementdictionary

6 votes 61% approval 👍 6 · 👎 0 ⭐ 5 Anki 2.1.1~ Updated 2026-10-03
Translate & Pronounce Popup

Selecting text during card review shows a popup with translation, example sentences, and speech, using cached results and configurable providers including private local ones.

shortcutsdictionary

1 votes 21% approval 👍 1 · 👎 0 ⭐ 0 Anki 25.09.4~ Updated 2026-08-19
Pop-Up Dictionary (+Kanji)

Lets you right-click selected words to find all matching cards in your collection and selected kanji to open their associated kanji card from a kanji database.

searchdictionaryfork-or-reupload

2 votes 34% approval 👍 2 · 👎 0 Anki 25.09~ Updated 2026-05-19
Popup Wikipedia in Review

Hovering over a word displays a popup with its Wikipedia first-sentence definition, when available.

dictionary

1 votes 21% approval 👍 1 · 👎 0 Anki 24.11~ Updated 2025-01-06

Description

Look up any English word instantly while reviewing your Anki cards — no interruptions, no extra tabs.

Double-click any word on your card (or drag to select a phrase) and a popup appears near your cursor with everything you need to understand it.

Features

  • 🇧🇷 Translation to Portuguese (BR) — instant EN→PT-BR translation
  • 📖 Definition — part of speech and meaning in English
  • 🔊 Audio pronunciation — listen to native speaker audio with one click
  • 📝 Phonetic transcription — IPA notation displayed alongside the word
  • 🔗 Synonym chips — click any synonym to look it up immediately
  • ⚡ Offline cache — repeated lookups are instant and work without internet
  • 🌙 Dark mode — adapts automatically to Anki's night mode
  • 🖱️ Right-click menu — "Look up in English Dictionary..." when text is selected
  • 🔍 Works in the Previewer — not just the reviewer

How to Use

  1. Double-click any English word on your card, or click and drag to select a phrase
  2. The dictionary popup appears near your cursor
  3. Click ▶ to hear the pronunciation
  4. Click a synonym chip to look it up
  5. Click ⎘ Copy to copy the word to clipboard
  6. Press Escape or click anywhere outside the popup to close it

You can also select text and use the right-click menu: "Look up in English Dictionary..."

Privacy & APIs

This add-on uses two free, open APIs — no account or API key required:

Results are cached locally so repeated lookups are instant and no data is stored on any server beyond what these APIs normally receive.

Source Code & Support

The source code is available on GitHub. Bug reports and contributions are welcome.

Licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).

If you find this add-on useful, consider supporting its development:

README

📖 English Pop-up Dictionary for Anki

An Anki add-on that shows an instant dictionary popup when you select any English word while reviewing cards — with translation to Brazilian Portuguese, phonetic transcription, audio pronunciation, definitions, and synonyms.

Anki Python License


✨ Features

  • 🇧🇷 Translation — English → Portuguese (BR) via MyMemory API
  • 📖 Definitions — part of speech, meaning, and usage examples
  • 🔊 Audio pronunciation — native speaker audio playback
  • 📝 Phonetic transcription — IPA notation
  • 🔗 Synonym chips — clickable, each one triggers a new lookup
  • ⚡ Local cache — repeated lookups are instant and work offline
  • 🌙 Dark mode — adapts automatically to Anki's night mode
  • 🖱️ Right-click menu — "Look up in English Dictionary..." when text is selected
  • 🔍 Works in Previewer — not just the reviewer

🚀 How It Works

Select any English word or phrase on your card (double-click or drag) and a popup appears near your cursor.

Card text → user selects a word → JS sends pycmd → Python fetches API + cache → HTML returned → popup rendered

The add-on hooks into Anki's reviewer via webview_will_set_content and webview_did_receive_js_message, injecting CSS/JS into every review session and listening for lookup requests from the frontend.


📦 Installation

From AnkiWeb

The easiest way to install is directly through Anki using the add-on code:

  1. Open Anki and go to Tools → Add-ons (or press Ctrl+Shift+A).
  2. Click on Get Add-ons...
  3. Paste the following code and click OK:
    1095453310
    
  4. Restart Anki to activate the add-on.

Alternatively, you can view the official add-on page on AnkiWeb.

Manual

  1. Clone or download this repository
  2. Copy the folder into your Anki add-ons directory:
    • Windows: %APPDATA%\Anki2\addons21\
    • macOS: ~/Library/Application Support/Anki2/addons21/
    • Linux: ~/.local/share/Anki2/addons21/
  3. Restart Anki

🗂️ Project Structure

quickdict-english/
├── __init__.py           # Entry point — wires up web and reviewer hooks
├── dictionary.py         # Orchestrates cache, APIs, and HTML generation
├── reviewer.py           # Hooks into Anki's reviewer (JS ↔ Python bridge)
├── web.py                # Registers web assets and injects them into Anki
├── cache.json            # Auto-generated local cache (up to 500 entries)
│
├── core/
│   ├── api.py            # Fetches data from Free Dictionary API and MyMemory
│   ├── cache_mgr.py      # Thread-safe local disk cache management
│   └── html_builder.py   # Builds the tooltip HTML from API data
│
└── web/
    ├── css/
    │   ├── tokens.css    # Design tokens (colors, spacing, typography)
    │   ├── layout.css    # Tooltip shell and structural layout
    │   └── components.css# All UI components (buttons, chips, states)
    └── js/
        ├── ui.js         # Tooltip rendering, positioning, and interactions
        └── events.js     # Mouse event handling and pycmd bridge

🔌 APIs Used

API Purpose Cost
Free Dictionary API Definitions, phonetics, examples, synonyms Free
MyMemory English → Portuguese (BR) translation Free

No API key or account required.


⚙️ Configuration

There are no settings UI yet. You can tweak constants directly in the source:

File Constant Default Description
core/cache_mgr.py CACHE_MAX 500 Maximum number of cached entries
core/api.py timeout 5 HTTP request timeout in seconds

🏗️ Architecture Notes

  • Parallel fetching — dictionary and translation requests are fired concurrently via ThreadPoolExecutor
  • Cache-first — every lookup checks the local cache before hitting the network
  • Thread-safe cache — writes are protected by a threading.Lock
  • LRU eviction — when the cache exceeds CACHE_MAX, the oldest entries (by timestamp) are removed
  • No external dependencies — uses only Python's standard library and Anki's bundled Qt

🤝 Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request.

Some ideas for future improvements:

  • Settings UI (target language, max definitions)
  • Support for other translation languages
  • Morphological normalization (look up base form of conjugated verbs)
  • Anki card creation from popup

📜 License

This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). In short: you’re free to use, study, and modify this code—but if you run it as a service or distribute modified versions, you must make your source available under the same license.

I’ve put a lot of time into designing and maintaining this work. Please respect the license and my effort:

  • You may use this project commercially, but any modifications or services using it must also be open source under the same license.
  • If you build on it, please provide proper attribution.

Copyright (C) 2026 Paulo Vitor Silva Soares


This is QuicKDict English

Light mode Dark mode


If you find this add-on useful, consider supporting its development: