Serverless WebRTC Chat on IPFS
BRANK

So we're going to build a little chat application that combines a couple of interesting Web technologies. First, if you don't already know, this site is hosted on ipfs. That means the "servers" hosting it are distributed across a wide network. At the time of this posting my local ipfs daemon is connected to 808 peers.WebRTC lets us do inter-browser real-time communication (with some small caveats) from JavaScript. By hosting a simple WebRTC application we should be able to make a "serverless" chatroom.The caveatsipfs webrtc chat works, and click through to see a fork of a serverless WebRTC implementation from @cjbprime. The trick is that clients need a way of discovering each other initially. In most WebRTC implementations, this is done by a server that can take connection offerings and pass them along.With ipfs, we don't have a place to easily allow web clients to make these peer offerings. We can't expect each client to have an ipfs client installed.To that end, this demonstration r…

ipfs.io
Related Topics: WebRTC JavaScript
3 comments
  • Well-Written article. It will be supportive to anyone who utilizes it, including me. Keep doing what you are doing – can't pause to read more posts. Thanks for the precious help. red light therapy dropshipping

  • Experience the epitome of well-being at Changwon Thai Massage. Our dedicated team ensures a seamless operation for your utmost satisfaction. Enjoy a hygienically safe business trip massage that not only relieves stress but also contributes to long-term depression improvement. Book your session now. 창원출장마사지

  • Create an extravaganza at Benz Karaoke, a sensation on My Khe Beach. Established by nightlife experts, it's famous for its spacious rooms and lively ambiance. With reservations at a premium, secure your spot for a night of My Khe extravagance. 다낭밤문화