Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

decentralized textboard

Name: Anonymous 2023-01-02 19:20

I was thinking of using peerjs plus local webstorage. Is it possible?

1) offline page connects to 0.peerjs.com, gets an id to do handshakes

2) gets someone elses id (how?) and connects to it using peer.connect(id), then sets up the callbacks etc

var conn = peer.connect(peerId)

3) after locally posting something and hitting synchronize button, it "uploads" this post to other peers by sending it to them with conn.send(data). This syncs their own local copies of the textboard which exist in local web storage (actually only the changes/diffs get sent).

4) ??? Decentralized textboard!

Name: Anonymous 2023-01-23 9:32

>>8
That's just a secondary interface.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List