hboot1k downloadsAutomatically sync Markdown notes from a configurable Obsidian folder to an AnythingLLM workspace.
Automatically keep Markdown notes in selected Obsidian folders synchronized with an AnythingLLM workspace.
A typical personal knowledge flow becomes:
Web page
↓ Obsidian Web Clipper
Obsidian / Inbox
↓ AnythingLLM Sync
AnythingLLM Workspace
↓ Embedding + retrieval
AI answers from your notes
Download the latest release assets and put them in:
<Vault>/.obsidian/plugins/anythingllm-sync/
Required files:
main.js
manifest.json
styles.css
Then enable AnythingLLM Sync in Obsidian → Settings → Community plugins.
http://localhost:3001.Use Sync watched folders now to upload existing notes. With no folders selected, automatic folder sync is disabled. Removing a folder from the selection keeps its existing AnythingLLM documents and stops automatically tracking changes in that folder. Existing single-folder settings are migrated automatically.
In the file explorer, right-click a Markdown file and choose Sync file to AnythingLLM, or right-click a folder and choose Sync folder to AnythingLLM. Folder sync includes subfolders, skips unsupported files, and reports synced, skipped and failed counts. These are one-time actions that also work outside watched folders and with automatic sync disabled; they do not change your watch-folder selection.
Markdown files show a status badge in the file explorer: Not synced, Synced, Needs sync, Syncing, Checking, Remote missing, or Error. Click the badge or right-click → Check sync status to open a dialog with details, Check remote, and Sync now. Errors and retries stay in that dialog.
Synced means the local content matches the last upload. Remote presence reflects the last explicit check, not continuous polling; the tooltip and dialog show when it was checked. To check a folder recursively, use its Check remote sync status context-menu action. The settings maintenance action and command check all tracked notes still present in the vault, including notes manually synced outside watched folders. Each check fetches each involved workspace's document list once.
When a check finds a document missing from its workspace, its badge changes to Remote missing. Syncing the file or folder again restores missing nonempty notes even when their content has not changed. A network, authentication or response-format failure reports Error and does not mark notes as remotely missing. Checks verify workspace document membership; they do not audit individual vectors or the integrity of global source storage.
| Obsidian action | AnythingLLM behavior |
|---|---|
| Create Markdown | Upload + embed |
| Edit Markdown | Replace Workspace embedding with latest content |
| Rename Markdown | Re-upload under new filename + replace old embedding |
| Move between watched folders | Update the path mapping and replace the old embedding |
| Move out of all watched folders | Remove the old embedding from the Workspace |
| Delete Markdown | Remove old embedding from Workspace |
| Existing notes | Use bulk sync command |
AnythingLLM's public Developer API supports upload and Workspace embedding add/remove operations. The plugin keeps the selected Workspace retrieval state synchronized. AnythingLLM can retain superseded uploaded source objects in its global document storage after an update because there is currently no documented public per-document source-delete endpoint used by this plugin.
npm install
npm run dev
Production build:
npm run build
This generates main.js in the repository root.
Obsidian expects the GitHub release tag to exactly match manifest.json (for example 1.0.0, not v1.0.0). Release assets are:
main.jsmanifest.jsonstyles.cssThe included GitHub Actions workflow builds and publishes those assets when a semantic-version tag is pushed.
data.json.MIT