@docstack/pouchdb-adapter-googledrive 0.1.9 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
[](https://www.npmjs.com/package/@docstack/pouchdb-adapter-googledrive)
|
|
2
|
+
[](https://onyx.ac/products/docstack/docs)
|
|
3
|
+
[](#license)
|
|
4
|
+
|
|
1
5
|
# PouchDB Adapter for Google Drive
|
|
2
6
|
|
|
3
7
|
A persistent, serverless PouchDB adapter that uses Google Drive as a backend storage. Designed for high concurrency, large datasets (via lazy loading), and offline resilience.
|
|
4
8
|
|
|
9
|
+
Part of [DocStack](https://onyx.ac/products/docstack): it is what makes a DocStack stack sync to the user's *own* Drive, so an application gets multi-device sync and real backup with no server, no storage bill and no custody of anyone's data. It works with plain PouchDB just as well.
|
|
10
|
+
|
|
5
11
|
## Features
|
|
6
12
|
|
|
7
13
|
- **🚀 Append-Only Log**: Uses an efficient append-only log pattern for fast, conflict-free writes.
|
|
@@ -156,6 +162,12 @@ The adapter implements a **"Remote-First"** architecture:
|
|
|
156
162
|
- **Caching**: Changes are indexed locally but bodies are cached in an LRU cache.
|
|
157
163
|
- **Resilience**: Writes use optimistic locking to handle multi-client concurrency safer.
|
|
158
164
|
|
|
165
|
+
## Documentation
|
|
166
|
+
|
|
167
|
+
- [Sync to Google Drive](https://onyx.ac/products/docstack/docs/guides/google-drive/) — registering the adapter, OAuth scope, one folder per database, restoring on a new device
|
|
168
|
+
- [Sync to a remote](https://onyx.ac/products/docstack/docs/guides/sync/) — the replication lifecycle this adapter plugs into
|
|
169
|
+
- [DocStack](https://onyx.ac/products/docstack) — the document data layer it was built for
|
|
170
|
+
|
|
159
171
|
## License
|
|
160
172
|
|
|
161
173
|
CC-BY-SA-4.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docstack/pouchdb-adapter-googledrive",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "PouchDB adapter for Google Drive",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"bugs": {
|
|
27
27
|
"url": "https://github.com/onyx-ac/docstack-pouchdb-adapter-gdrive/issues"
|
|
28
28
|
},
|
|
29
|
-
"homepage": "https://onyx.ac/docstack",
|
|
29
|
+
"homepage": "https://onyx.ac/products/docstack",
|
|
30
30
|
"engines": {
|
|
31
31
|
"node": ">=18"
|
|
32
32
|
},
|