Skip to content

cboulanger/zotero-sync-couchbase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.