Fifth library variant that keeps folder sync for offline/local use AND adds Nostr relay sync for cross-device reach via WebSocket. Both transports run simultaneously - writes go to folder AND Nostr, sync imports from both and bridges events between them. Works from file:// since Nostr uses WebSocket (not fetch/WebRTC). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
14 lines
305 B
JSON
14 lines
305 B
JSON
{
|
|
"name": "@foldersync/nostr",
|
|
"version": "0.1.0",
|
|
"description": "Local-first browser KV/document store with dual folder + Nostr relay sync",
|
|
"type": "module",
|
|
"main": "src/index.ts",
|
|
"dependencies": {
|
|
"nostr-tools": "^2.10.4"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.7.0"
|
|
}
|
|
}
|