Repository navigation
Releases
Releases · Rexxall/obsidian-polyglot-helper
1.11.2
- Common English words are no longer underlined or auto-saved. Articles, prepositions, pronouns, forms of "be" and conjunctions (the, of, it, is, and…) are left alone in reading view even if they are in your word list, and Add to the word list automatically skips them. Saving one by hand still works; remove old entries from the word list yourself.
1.11.1
- A class for your own note style. Word-card notes and the fixed log file the plugin creates get
ih-clipin theircssclasses, so a CSS snippet in your vault can style them. The plugin ships no style for it and never changes your own notes; change or clear the class under Settings → Note CSS class. Classes already on the note are kept. - Word selection mode no longer reads the clipboard every second. The clipboard is read once, when you copy inside Obsidian. Text copied in other apps is no longer picked up.
- Replacing a selection in a file reads and writes in one step, so an edit made while the lookup ran is not overwritten.
1.11.0
- Saved words are marked while you read. In reading view, words from your word list are underlined; point at one to see its reading, meaning and the note it came from, with no lookup. Japanese verbs and adjectives are found in their conjugated forms (発表した for 発表する, 足りなく for 足りる, 新しかった for 新しい), English words with common endings (queues, studied). Mastered words are left alone. One matcher is built per word-list change, so a long article opens as fast as before. Turn it off under Learning and interface.
- Send word list to Anki. A new command sends every card straight to Anki through the AnkiConnect add-on, into the deck set in settings (default "Polyglot"), with a "Polyglot Helper" note type. Each note keeps the card's stable id, so sending again updates changed cards and adds only new ones, even after you move them to another deck. Anki must be open with AnkiConnect installed; the import file export stays for those without it.
- Building the Japanese processor and counting due words wait until the workspace is drawn.
CONTRIBUTING.md: check startup time before a release.
1.10.0
- Keys in secret storage. API keys move out of
data.jsoninto Obsidian's Keychain, its secret storage; every key field in settings now picks a key by name. Keys saved before are moved on first start, under names other plugins can share, such asdeepseek-api-keyorgemini-api-key; if another plugin already keeps a different key under that name, this plugin uses its own name instead. Afterwardsdata.jsonholds no key, and the device key used to encrypt them is removed. Keys no longer sync with the vault: on another device, choose them again. - Requires Obsidian 1.11.4 or later, the first version with secret storage.
- The Merriam-Webster thesaurus and medical keys can be chosen in settings, under English sections.
- The Youdao app ID is an identifier, not a secret, so it is shown and saved as plain text; the app secret moves to secret storage.
- The speech key no longer claims to fall back to another key, which it never did.
- Lint uses Obsidian's own
eslint-plugin-obsidianmdrules with type information, in a second pass without Node's types as the community directory scanner sees the code; warnings fail it.
1.9.1
- Releases are built by a GitHub workflow from the version tag, which checks that the tag matches every version file, then attests
main.js,manifest.jsonandstyles.csswith signed build provenance. The README shows how to verify a download withgh attestation verify. - Every push and pull request runs lint, Stylelint, the tests and the build.
- The first word added to a new word list now says where it went and how to review it (“Saved to your word list. Click “to review” in the status bar to review it.”), instead of “Word list turned on”.
1.9.0
- One word, several meanings. Adding a word that is already in the word list asks where this sentence goes: into one of the meanings you saved, or as a new meaning (the meaning in this sentence comes first). Each meaning has its own reviews, and its card shows the sentence on the front so you know which meaning is asked.
- Exports keep their identity. Every word has a stable id. The flashcard note marks each card with it, so re-exporting keeps each card's Spaced Repetition schedule even after you edit the meaning. The Anki file puts the id in Anki's GUID column, so importing it again updates the same notes instead of adding copies. The first import of this format into a deck made from an older Anki export can still add copies once.
- Each card links back to the note the word was collected from: a
[[link]]in the flashcard note, anobsidian://link in Anki. - Words already in your list get their id on first start, the same id on every synced device.
- A word added from the lookup card records the local date of collection; before, it could show the previous day early in the morning.
1.8.2
- Settings show fewer descriptions: rows whose name already says what they do have none. Notes about cost, side effects and which setting wins remain.
- The Advanced settings page is gone. Debug mode is at the end of the Cache page; the "Save settings automatically" switch, which did nothing, is removed.
- The side panel's empty state is one line shorter.
- The README is shorter, with Chinese and Japanese versions in their own files.
- The stylesheet no longer sets the same property twice in one rule. Nothing looks different.
1.8.0
- Passes the community directory's code checks with no warnings. The stylesheet no longer uses
!important,all: unsetor:has(): buttons and fields reset only the properties they need, the plugin marks the first and last row of each settings group itself, and reduced motion turns animations off through a more specific selector. Nothing looks different. - The source date of a word added from the side panel is worked out without Moment.js; it is still the local date.
npm run lintchecks types the way the directory does, and checks the stylesheet; any warning fails it.
1.7.0
- AI settings in four fields. Each AI configuration is now provider, API key, endpoint and model, filled in separately. Pick a provider and the endpoint and default model are filled in: DeepSeek (the default), Qwen (通义千问), SiliconFlow (硅基流动), Kimi, Zhipu GLM (智谱), OpenRouter, OpenAI, or any OpenAI-compatible service. A base URL ending in
/v1is accepted; the rest of the path is added. Existing configurations keep working and get their provider recognised from the endpoint. - Test connection. One button per configuration sends a request of a few words (it costs a tiny fraction of a cent, which the button says beforehand) and tells apart a missing key, a rejected key (401/403), no balance or quota, an unknown model name, a timeout and an unreachable endpoint, each with what to do. SiliconFlow refuses even its free models at a zero balance; the quota message says so. Lookups that fail show the same message with Retry and, for configuration problems, Open settings.
- A result on first open. "Load example" writes a short note with an English and a Japanese sentence, marked as a demo and safe to delete, and puts "postpone" in the lookup box. The side panel tells apart "no AI service yet", ready, looking up (with Cancel), nothing found and failed.
- Follows Obsidian's language. With Obsidian set to Chinese the plugin stays in Chinese; any other language gets English, for commands, settings, errors, empty states and hints. Lookup results stay in Chinese, as before.
- Word list keeps where a word came from. Adding a word records the note it came from and the date (
收自 [[note]] · date) and, when the cursor is on a line, that sentence as an example. Adding a word that is already in the list merges instead of overwriting: your meaning stays, empty fields are filled, examples, tags and sources are combined without duplicates. Flash-card exports show the sentence and source on the back of the card; the front is unchanged, so Spaced Repetition keeps its schedule. - Debug logs no longer contain API keys or the text you looked up.
- Long unbroken words and links wrap in results instead of widening the side panel.
- Settings line up on one left and one right edge: group text, headings, notes and dividers start at the same place, and the setup card in the side panel lines up with the input above it.
- Switches keep the knob 2px from every edge. Pressed, the knob stretches into a capsule inside the track instead of growing past it, then turns round and slides when released; with reduced motion it does not stretch.
1.6.0
Plugin ID is now polyglot-helper; settings, vocabulary and review schedules are imported from the old folder on first start. Export vocabulary to Spaced Repetition flashcards or Anki, due count in the status bar, delete and clear confirm in Obsidian dialogs, settings show up in settings search on Obsidian 1.13+, no HTML strings, mobile fixes. See CHANGELOG.md.