Jason Tudisco b5528b0ecf Add Nostr dual-sync variant (folder + relay)
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>
2026-03-17 22:44:39 -06:00

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"
}
}