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
- Host: GitHub
- URL: https://github.com/cboulanger/zotero-sync-couchbase
- Owner: cboulanger
- Created: 2021-04-18T14:30:39.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-29T13:04:51.000Z (almost 5 years ago)
- Last Synced: 2025-02-07T20:31:21.771Z (over 1 year ago)
- Topics: zotero, zotero-sync
- Language: TypeScript
- Homepage:
- Size: 89.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.