Benjamin Kirk32 downloadsHighlight words by how well you know them, keep definitions with the sentence you found them in, and share dictionaries with coworkers.
A language-learning plugin for Obsidian. Read and write in the language you are learning, and Langsoft highlights each word by how well you know it, keeps your definitions together with the sentence you found them in, and shows you what your coworkers have already learned.
To share dictionaries with coworkers, sync the Langsoft folder between your vaults (see Sharing with coworkers).
dog, to find every word defined with it, yours and your coworkers', with the sentence each was added in. Matching is by the beginnings of words, so do finds dog too. Choosing a result opens the word in the sidebar; Go to sentence opens the note it was added in, at the word, if that sentence is still there. The same link appears under each definition in the sidebar. When you rename a note in Obsidian, your definitions from it follow the new name. Coworkers' definitions, and renames made on another device or outside Obsidian, keep the old name; for those, Langsoft looks for the unchanged sentence in your other notes and tells you if it found it in a different one.dog / hound). Select words with the checkboxes to change their level together, delete them or export them as a CSV file; changes can be undone. Save a view you use often under a name. On phones the entries are shown as cards.Dictionaries are kept in the folder Langsoft at the root of your vault, which is created automatically. Each person has a folder of their own, and each of their devices writes its own file in it:
Langsoft/
maria/
desktop-1a2b3c4d.json
mobile-5e6f7a8b.json
peter/
desktop-9c0d1e2f.json
Your dictionary is all the files in your folder, merged together. A device only ever writes its own file, so two devices never write the same file and can't overwrite each other. Everyone else's dictionaries are read the same way, and are read-only. Obsidian doesn't show JSON files in its file explorer, so the folders look empty there; don't delete or rename them.
The first time Langsoft runs on a device, it asks who you are. Choose your name if your dictionary is already there, for example synced from another device, or create a new user. To change user later, use the user setting in Langsoft's settings, the command Langsoft: Switch user, or click your name in the status bar.
Who you are is remembered on each device separately, not in the plugin's settings file, so syncing a whole vault between people doesn't make everyone the same user.
On a new device, wait until your dictionaries have synced, then choose your name. Creating the same user again makes a second, empty dictionary that conflicts with the real one when it arrives.
To keep dictionaries in a different folder, change dictionaryFolder in .obsidian/plugins/langsoft/data.json.
Share the Langsoft folder between everyone's vaults, e.g. with Syncthing or Obsidian Sync. Each device only ever writes its own file, so nobody's changes overwrite anyone else's. Coworkers' dictionaries are reloaded when you switch notes, including ones added while Obsidian is open.
Older versions kept one file per person: Langsoft/<name>.json in 1.2, and .langsoft_dictionaries/<name>.json, a hidden folder, in 1.1 and earlier. Nothing needs doing in Obsidian:
The whole team should update around the same time. Versions before 1.3 don't look inside the per-person folders, so they only see the old files of people who've updated, which stop changing.
If you share only the dictionary folder through Syncthing (rather than the whole vault) and are coming from 1.1 or earlier, add Langsoft as a new Syncthing folder on every device, shared with the same people. Don't rename or move the old folder in Syncthing: Syncthing would see its files as deleted and delete them on everyone's devices.
Once a day, the first time your dictionary changes, Langsoft saves a compressed copy in Langsoft backups/<your name>/, for example 2026-11-27 1430.json.gz. About 30 are kept: one a day for two weeks, one a week for three months and one a month for a year, at most 60 MB in all. At 30,000 words a backup is about 1.3 MB. You can switch daily backups off in the settings, or back up any time with Langsoft: Back up dictionary now.
Langsoft: Restore from a backup brings back what a backup has that your dictionary is missing now: words you've deleted since, and deleted definitions of words you still have. It shows what it would bring back first, and leaves everything you've added or changed since alone. A backup of your dictionary as it is now is made first, and you can undo the restore straight afterwards. To restore from another file, such as a backup from another vault or an old dictionary file, copy it into your backup folder first.
With Obsidian Sync, backups are only synced if Sync all other types is on in its settings, because they are .gz files. Syncthing syncs them like any other file.
Use the same user on as many devices as you like. Each device has its own file, and changes from your other devices are merged in when you switch notes. When the same definition or level was changed on two devices, the most recent change wins. From version 1.8, changes are timestamped in UTC, so this works across time zones; changes saved by older versions have no time zone and are read in the local time of the device doing the merge.
If Syncthing ever made conflict copies of your dictionary (...sync-conflict-....json), for example with an older version, Langsoft merges their words in and shows a notice. Once you've checked nothing is missing, you can delete the copies.
Install Langsoft from Settings → Community plugins → Browse once it is listed there, or with the BRAT plugin, giving it BenBKirk/Obsidian-Langsoft.
To install it by hand, copy main.js, manifest.json and styles.css from the latest release into <vault>/.obsidian/plugins/langsoft/, then enable Langsoft under Settings → Community plugins.
Langsoft needs Obsidian 1.15 or later, on desktop or mobile.
Until version 1.11, Langsoft's plugin ID was langsoft-plugin; it is now langsoft, as the community plugin list requires. When you install the new version, Langsoft brings over your settings from the old copy and switches the old copy off. Your dictionaries, backups and who you are on each device are not affected. Afterwards you can delete the old folder, <vault>/.obsidian/plugins/langsoft-plugin/ (or wherever the notice says it is).
If you update by copying files into the old folder instead, Langsoft appears switched off afterwards: switch it on again under Settings → Community plugins. Your settings are kept.
Requires Node.js 22.12 or newer.
npm install
npm run dev # rebuild main.js whenever a file changes
npm run build # type check and production build
npm test # run the tests (npm run test:watch to keep them running)
For quick testing, clone the repository into <vault>/.obsidian/plugins/langsoft/ (or symlink the built files there), run npm run dev, and reload Obsidian after changes.
| File | Contents |
|---|---|
main.ts |
Plugin entry point: editor extensions, hover tooltips, selection handling, styles |
highlighter.ts |
CodeMirror plugins that highlight words, phrases and the current selection |
dictionaries.ts |
Loading, changing and saving dictionaries |
definer-panel.ts |
The Definer: word, level, definitions |
definer.ts, definer-bottom-panel.ts |
Where the Definer is shown: the sidebar, or the bottom of the editor on phones |
settings.ts |
The settings tab |
search.ts, search-modal.ts |
Searching definitions, and the search window |
progress.ts, team.ts, progress-view.ts |
Progress and team statistics, and the progress page |
coverage.ts, coverage-panel.ts |
How much of a note you know, and the bar showing it |
locate.ts |
Finding the sentence a definition was added in |
time.ts |
Saving and comparing timestamps |
reading-view.ts |
Highlighting in Reading view |
dictionary-grid.ts, grid-view.ts |
The dictionary page: its rows, views and filters, and the grid |
backup.ts, backup-modal.ts |
Backups, and restoring from them |
examples.ts, prose.ts |
Other places a word appears; what in a note counts as text |
merge.ts |
Merging two versions of a dictionary |
dictionary-files.ts |
Dictionary file layouts, the device file format, and conflict copies |
user-modal.ts |
The "Who are you?" window |
users.ts |
Listing users and checking new user names |
words.ts |
Splitting text into words |
words.ts, users.ts, search.ts, locate.ts, progress.ts, team.ts, coverage.ts, dictionary-grid.ts, backup.ts, time.ts, merge.ts and dictionary-files.ts don't depend on Obsidian, nor does segmentText in reading-view.ts. The tests in tests/ cover them, and run DictionaryManager against an in-memory vault (tests/fake-vault.ts) with a stand-in for the obsidian module (tests/obsidian-stub.ts).
Bump the version, e.g. npm version minor --no-git-tag-version. This updates package.json, manifest.json and versions.json. To support a different minimum Obsidian version, change minAppVersion in manifest.json first.
Commit and merge the change into main.
Tag the merge with the bare version number (no v), then push the tag:
git tag 1.2.0 && git push origin 1.2.0
The release workflow checks that the tag matches manifest.json, runs the tests, builds the plugin, and creates a draft GitHub release with main.js, manifest.json and styles.css attached. Edit its notes and publish it.