ZhyFei314239 downloadsLook up words with Wiktionary and create personalized vocabulary notes.
Look up a word while you are reading, understand how it is used, and save it as a vocabulary note — without leaving Obsidian.
Mynary uses Wiktionary for dictionary data and is designed to stay out of your way. Select a word, look it up, and keep going.
That is all you need for dictionary lookups. Node.js, Python, model downloads, and the optional TTS WASM file are not required.
Download main.js, manifest.json, and styles.css from a GitHub release. Copy them into:
<Vault>/.obsidian/plugins/mynary/
Then enable Mynary under Settings → Community plugins. Reload Obsidian after replacing plugin files.
The quickest way is to select a word or short phrase in a Markdown note and choose one of these options:
Ctrl on Windows/Linux, Cmd on macOS).On mobile, add Mynary Dictionary: Lookup selected word to Settings → Mobile → Configure mobile toolbar. The selection menu and sidebar work there too.
To keep the sidebar open, select the book icon in the ribbon or run Mynary Dictionary: Open dictionary sidebar. Type a word or phrase, choose a Wiktionary language, and press Enter.
Mynary accepts selections up to 80 characters or 8 words by default. Longer selections can still be looked up exactly or reduced to their first word.
Depending on the entry, Mynary can show:
Mynary keeps each entry exactly as Wiktionary presents it. It does not silently replace an inflected or ambiguous word with a guessed root. When Wiktionary provides a link such as destroy or run, Mynary keeps that link available in the result. In generated Markdown, those links become Obsidian links:
third-person singular simple present indicative of [[destroy]]
plural of [[run]]
Select a linked word to look it up directly in Mynary. The popup and dictionary sidebar use the same result renderer, so definitions, labels, examples, and Wiktionary links stay consistent between both views.
After a lookup, choose Copy, Insert, or Create note, then select a template.
You can manage this workflow under Settings → Mynary Dictionary:
{{word}} or {{language}}-{{word}}.Mynary creates missing folders automatically and replaces unsafe filename characters.
When you choose Update section, only the content between these markers is managed:
<!-- mynary:lookup:start -->
Generated dictionary content
<!-- mynary:lookup:end -->
Anything outside the markers is left alone. If the markers are not present, Mynary appends a new managed section.
Open Settings → Mynary Dictionary → Manage templates to create, edit, duplicate, delete, or restore templates. Variable names are case-insensitive, so {{Title}} is the same as {{word}}.
| Variable | What it contains |
|---|---|
{{word}} / {{Title}} |
The original word or phrase |
{{language}} |
Wiktionary language code |
{{definition}} |
The first definition, including Wiktionary links |
{{definitions}} |
All definitions, one per line, including Wiktionary links |
{{definitionsMarkdown}} |
Definitions as a Markdown list with Wiktionary links |
{{meaningsMarkdown}} |
Definitions grouped by part of speech and labels, with Wiktionary links |
{{IPA}} |
Pronunciation information |
{{partOfSpeech}} |
Part-of-speech values |
{{example}} |
The first example |
{{examples}} |
All examples, one per line |
{{examplesMarkdown}} |
Examples as a Markdown list |
{{translation}} |
Translations on one line |
{{translations}} |
Translations, one per line |
{{translationsMarkdown}} |
Translations grouped by sense |
{{synonyms}} |
Synonyms separated by commas |
{{antonyms}} |
Antonyms separated by commas |
{{etymology}} |
Etymology text |
{{source}} |
Source name |
{{sourceUrl}} |
Link to the source entry |
{{lookupDate}} |
Lookup date in YYYY-MM-DD format |
You can hide optional sections when they are empty:
{{#if IPA}}
**IPA:** {{IPA}}
{{/if}}
Dictionary lookup does not need Supertonic. It is an optional feature for generating pronunciation audio or reading selected text aloud.
ort-wasm-simd-threaded.jsep.wasm from the matching onnxruntime-web package or release.main.js in the Mynary plugin folder.The first Web runtime use downloads the Supertonic ONNX models from Hugging Face, so it may take a little longer and use a substantial amount of storage. If the WASM file is missing, dictionary lookup continues to work and Mynary shows a setup message when speech is requested.
Install Supertonic in a Python environment:
pip install supertonic
supertonic serve --host 127.0.0.1 --port 7788
Select Local server under Settings → Mynary Dictionary → Supertonic runtime. The default endpoint is http://127.0.0.1:7788/v1/tts.
The server must be running whenever speech is generated. Supertonic supports fewer languages than Wiktionary; for unsupported languages, Mynary keeps the Wiktionary pronunciation and disables Supertonic generation.
The language selector includes Arabic, Bulgarian, Chinese, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, German, Greek, Hebrew, Hindi, Hungarian, Indonesian, Italian, Japanese, Korean, Latvian, Lithuanian, Norwegian, Polish, Portuguese, Romanian, Russian, Slovak, Slovenian, Spanish, Swedish, Thai, Turkish, Ukrainian, and Vietnamese.
Wiktionary coverage varies by language and by entry. When in doubt, follow the source link in the result and verify the original entry.
Mynary stores lookup results and recent searches in Obsidian's local plugin data. The defaults are:
There is no telemetry, advertising, analytics, or account system. Mynary does not scan or index your vault. The word or phrase you look up, along with the selected language, is sent to the public Wiktionary API. Large entries may also request their public /translations subpage.
If Web Supertonic is enabled, model and voice assets are requested from Hugging Face. If Local server is enabled, selected text is sent only to the endpoint configured in Mynary's settings.
Requirements: Node.js 18 or newer and npm.
npm install
npm test
npm run lint
npm run build
Use npm run dev for esbuild watch mode. The production build writes main.js to the plugin root.
The main source folders are:
src/
main.ts Plugin lifecycle, commands, and views
providers/ Wiktionary parsing and TTS runtimes
services/ Local cache management
templates/ Template rendering and note generation
ui/ Modals and dialogs
utils/ Selection and result formatting
Mynary is distributed under the MIT License. See LICENSE.