hyoo_sync_client 0.0.1
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/.nojekyll +0 -0
- package/README.md +28 -0
- package/node.audit.js +1 -0
- package/node.d.ts +1093 -0
- package/node.deps.json +1 -0
- package/node.js +4412 -0
- package/node.js.map +1 -0
- package/node.meta.tree +67 -0
- package/node.mjs +4413 -0
- package/node.mjs.map +1 -0
- package/node.test.js +8804 -0
- package/node.test.js.map +1 -0
- package/package.json +134 -0
- package/test.html +11 -0
- package/web.audit.js +1 -0
- package/web.css +1 -0
- package/web.css.map +1 -0
- package/web.d.ts +1025 -0
- package/web.deps.json +1 -0
- package/web.js +4099 -0
- package/web.js.map +1 -0
- package/web.meta.tree +67 -0
- package/web.mjs +4100 -0
- package/web.mjs.map +1 -0
- package/web.test.js +4087 -0
- package/web.test.js.map +1 -0
package/.nojekyll
ADDED
|
File without changes
|
package/README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# $hyoo_sync
|
|
2
|
+
|
|
3
|
+
Shared local-first offline-ready store with [CROWD](https://github.com/hyoo-ru/crowd.hyoo.ru) conflict resolution.
|
|
4
|
+
|
|
5
|
+
## Comparison
|
|
6
|
+
|
|
7
|
+
| Property | $hyoo_sync | [Logux](https://logux.io/)
|
|
8
|
+
|---------------------|------------|---------------------------
|
|
9
|
+
| Tab synchronization | Auto | Optional
|
|
10
|
+
| Conflict resolution | CROWD | CRDT (text doesn't support yet) / custom
|
|
11
|
+
| Crypto encryption | Not yet | Single user
|
|
12
|
+
| Crypto signing | Total | No
|
|
13
|
+
| Long offline | Available | Log compress rejects old changes
|
|
14
|
+
| Persistent storage | IndexedDB | IndexedDB / LocalStorage / custom
|
|
15
|
+
|
|
16
|
+
### How to raise your server?
|
|
17
|
+
|
|
18
|
+
Simple:
|
|
19
|
+
```sh
|
|
20
|
+
cd ./docker
|
|
21
|
+
docker-compose build --no-cache
|
|
22
|
+
docker-compose up -d
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
The server will start on port 3000 [(by default)](https://github.com/hyoo-ru/sync.hyoo.ru/blob/master/docker/docker-compose.yml#L8)
|
|
26
|
+
|
|
27
|
+
You can look at the logs at
|
|
28
|
+
[http://localhost:3000/watch/](http://localhost:3000/watch/)
|
package/node.audit.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
console.info("Audit passed")
|