John Surles43 downloadsDefine a selected word with AI, link it in place, and maintain a navigable dictionary note.
Contextual Vocabulary turns a highlighted word into a permanent, navigable vocabulary entry. It reviews the sentence containing the selection, generates a contextual definition and usage review, links the selected text to its dictionary entry, and maintains an alphabetical quick index.
After the plugin is accepted into the Obsidian Community Plugins directory:
main.js, manifest.json, and styles.css from the latest release.<vault>/.obsidian/plugins/contextual-vocabulary/.The repository URL can also be installed as a beta using BRAT.
The command can also be run directly from Obsidian's command palette.
The plugin-managed index and entries are surrounded by HTML comment markers. You can add your own content outside those markers without it being rewritten.
This plugin requires an account and API key from OpenAI or another provider offering an OpenAI-compatible chat-completions endpoint. Provider usage fees may apply; this plugin does not collect payment.
When you invoke the command, the highlighted term and its containing sentence are sent to the endpoint you configured. The API key is stored locally by Obsidian in this plugin's data.json file and is never written into a note. Review your chosen provider's privacy and data-retention policies before use.
Contextual Vocabulary contains no telemetry, analytics, advertisements, or background network activity. It makes a network request only when you explicitly run the vocabulary command for a term that is not already in the managed dictionary.
npm install
npm run build
The production build outputs main.js in the repository root.