Obsian AnythingLLM Sync
pendingby lhommenul
Synchronize your Obsidian vault with AnythingLLM for RAG
Obsian AnythingLLM Sync
Obsidian plugin to synchronize your vault with AnythingLLM for RAG (Retrieval-Augmented Generation).
Features
- Automatic or manual synchronization of your Obsidian vault to AnythingLLM
- Sync individual files or the entire vault
- Change detection via hash to avoid unnecessary re-uploads
- Empty file support (ignored)
- Simple configuration interface
Installation
- Go to Settings → Community plugins
- Disable Safe mode
- Search for "Obsian AnythingLLM Sync"
- Install and enable the plugin
Configuration
-
Open the plugin settings
-
Configure:
- AnythingLLM URL: Your AnythingLLM instance URL (e.g.,
http://localhost:3001) - API Key: Your AnythingLLM API key (Settings → API Keys in AnythingLLM)
- Workspace Slug: Your workspace slug (e.g.,
my-workspace) - Folder Name: The folder name in AnythingLLM (e.g.,
Obsidian)
- AnythingLLM URL: Your AnythingLLM instance URL (e.g.,
-
Click "Test" to verify the connection
Usage
Commands
- Sync vault to AnythingLLM: Synchronize the entire vault
- Sync current file: Synchronize the currently open file
- Force resync all files: Force re-synchronization of all files (clears cache)
Options
- Auto Sync: Automatically sync on plugin load
- Sync on Save: Automatically sync on file save
Generate an API Key in AnythingLLM
- Go to AnythingLLM
- Settings → API Keys
- Click "Create New Key"
- Copy the key and paste it into the plugin settings
AnythingLLM API
This plugin uses the official AnythingLLM API:
POST /api/v1/document/create-folder- Create folderPOST /api/v1/document/upload/{folder}- Upload filePOST /api/v1/workspace/{slug}/update-embeddings- Update embeddings
Troubleshooting
If synchronization fails:
- Verify AnythingLLM is running
- Verify your API key is correct
- Verify the workspace exists in AnythingLLM
- Empty files are automatically ignored
License
MIT License
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.