fileverse/poc/dsheet-embed
Jeff Emmett b19d2c1ad7 All 5 phases implemented and tested
Phase 1: MIT crypto primitives — AES-256-GCM, x25519 ECIES, HKDF key
hierarchy, doc key sharing. All benchmarks pass, ~2ms encrypt+share.

Phase 2: Encrypted IPFS storage — encrypt→upload→download→decrypt with
KuboBackend for self-hosted kubo. TipTap image extension with CID-based
attributes and ImageCache. 5/5 mock tests + 2/2 live tests pass.

Phase 3: Collab server + IPFS deployed on Netcup — Fileverse
collaboration-server (Y.js WebSocket relay + MongoDB) and kubo IPFS node
running via Docker Compose with Traefik routing through CF tunnel.

Phase 4: dSheet embed POC — React wrapper for @fileverse-dev/dsheet with
collaborative mode toggle, IndexedDB persistence, Vite dev server.

Phase 5: UCAN auth bridge — Ed25519 key generation, did:key encoding,
JWT signing/verification, collaboration tokens, owner tokens, delegated
access with proof chains. 9/9 tests pass. Zero external UCAN deps.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-31 17:09:46 -07:00
..
src All 5 phases implemented and tested 2026-03-31 17:09:46 -07:00
README.md Initial research and POC scaffolding for Fileverse + rStack integration 2026-03-31 16:20:11 -07:00
index.html All 5 phases implemented and tested 2026-03-31 17:09:46 -07:00
package.json All 5 phases implemented and tested 2026-03-31 17:09:46 -07:00
tsconfig.json All 5 phases implemented and tested 2026-03-31 17:09:46 -07:00
vite.config.ts All 5 phases implemented and tested 2026-03-31 17:09:46 -07:00

README.md

dSheet Embed POC

Prototype for embedding @fileverse-dev/dsheet as a new rStack module (rSheet).

Goal

Wrap Fileverse's decentralized spreadsheet component in a LitElement web component compatible with rSpace's module system.

Key Integration Points

  • Auth: EncryptID → isAuthorized prop
  • Collaboration: WebRTC via self-hosted collab-server
  • Persistence: IndexedDB (enableIndexeddbSync)
  • Metadata: Stored in Automerge documents

Use Cases

  • DAO treasury tracking
  • Token allocation spreadsheets
  • Budget planning with E2E encryption
  • Research data tables alongside rNotes

Status

Not started — depends on Phase 3 (collab server deployment).