An open API service indexing awesome lists of open source software.

https://github.com/cboulanger/zotero-sync-couchbase

A couchbase store for https://github.com/retorquere/zotero-sync
https://github.com/cboulanger/zotero-sync-couchbase

zotero zotero-sync

Last synced: about 1 year ago
JSON representation

A couchbase store for https://github.com/retorquere/zotero-sync

Awesome Lists containing this project

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` or `u`.

## Testing

```bash
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](test.ts) for an example on how to integrate the library in your project.