Install
$
openclaw plugins install clawhub:@marshalw/obsidian-sync-pluginObsidian LiveSync Plugin
OpenClaw plugin that syncs CouchDB notes to a local vault directory, compatible with Obsidian LiveSync.
Install
openclaw plugins install clawhub:@marshalw/obsidian-sync-plugin
Configuration
Add to openclaw.json:
{
"plugins": {
"allow": ["obsidian-sync"],
"entries": {
"obsidian-sync": {
"enabled": true,
"config": {
"couchdbUrl": "http://your-couchdb:5984",
"couchdbDb": "my-ai-notes",
"couchdbUser": "your-username",
"couchdbPassword": "your-password",
"vaultPath": "/path/to/vault"
}
}
}
}
}
Config fields
| Field | Required | Default | Description |
|---|---|---|---|
couchdbUrl | yes | - | CouchDB server URL |
couchdbDb | no | my-ai-notes | Database name |
couchdbUser | yes | - | CouchDB username |
couchdbPassword | yes | - | CouchDB password |
vaultPath | yes | - | Local vault directory path |
localDbPath | no | ./data | PouchDB LevelDB data directory |
How it works
CouchDB ←→ PouchDB (LevelDB)
↕
vault/ (filesystem)
- Initial full sync on startup
- Live bidirectional sync via PouchDB replication
- File watcher for vault-to-CouchDB changes
- Supports text (
.md,.txt, etc.) and binary files (images, attachments)
