8000 GitHub - colealbon/y-ndk: yjs provider with ndk (nostr dev kit)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

colealbon/y-ndk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Y-NDK

update to the venerable nostr-crdt package

  • private crdt collaboration
  • use ndk instead of nostr-tools
  • use observableV2 to leverage patterns from y-webrtc and y-websocket communities
  • drop boomer typescript support
  • replace webpack/jest syntax with rollup.js and lib0/test

11 minute web app demo
12 minute solidjs demo

install

npm install @colealbon/y-ndk

example usage

node unit tests.
generic web app.
solidjs app

develop

git clone https://github.com/colealbon/y-ndk.git;
cd y-ndk;
pnpm install;
pnpm run test-cleartext; sleep 2; pnpm run test-private
pnpm build;

reference

nostr-crdt: https://github.com/YousefED/nostr-crdt
yjs: https://github.com/yjs/yjs
ndk: https://github.com/nostr-dev-kit/ndk
ndk-cli: https://github.com/nostr-dev-kit/ndk-cli
y-webrtc: https://github.com/yjs/y-webrtc
ssb-box: https://github.com/ssbc/ssb-box
private-box: https://github.com/auditdrivencrypto/private-box

the future

we anticipate a client will pass in modern encrypt/decrypt functions - like whatever solidifies from this discussion:
MLS protocol: nostr-protocol/nips#1206 (comment)

About

yjs provider with ndk (nostr dev kit)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0