@cboulanger/zotero-sync-couchbase

Couchbase store for @retorquere/zotero-sync

Usage no npm install needed!

<script type="module">
  import cboulangerZoteroSyncCouchbase from 'https://cdn.skypack.dev/@cboulanger/zotero-sync-couchbase';
</script>

README

Couchbase Store for @retorquere/zotero-sync

This is a store implementation for https://github.com/retorquere/zotero-sync.

This implementation allows to backup Zotero libraries in a https://www.couchbase.com database (tested with Couchbase Version 7.0.0 build 4602). Zotero data is stored as JSON data in Couchbase 'collections' that are named after the synchronized object types ("items", "collections" only), which are themselves stored in Couchbase 'scopes' that are named g<group id> or u<user id>.

Testing

git clone https://github.com/cboulanger/zotero-sync-couchbase.git
cd zotero-sync-couchbase
cp .env.dist ./.env
# edit .env and provide the values needed there
npm test

See the test script for an example on how to integrate the library in your project.