chatting
Where I try using webrtc-swarm
and signalhub
to set up a p2p connection.
It's cool that it's free to do this. No data is being saved by a server; it's all p2p as far as i know. I remember in the early days of internet it was quite radical to have something as simple as a chat room. You could talk to anyone anywhere in the world; what a cool thing.
It's notable that we're not actually using the ID that we create for each message. In the inspiration (the swarmchat gist), it looks like they are using the message ID to deduplicate the messages, but here we are just counting on the webrtc-swarm
library to deliver everything exactly once to each person in the swarm.