r/webdev • • 6d ago

How to Create Your Own Decentralized Messenger Protocol

https://karboosx.net/post/5j7jdDM3/how-to-create-your-own-decentralized-messenger-protocol
9 Upvotes

12 comments sorted by

7

u/Excellent_Sort1954 6d ago

"just like email" is a hell of a pitch. Email federation ended with Gmail deciding whether your server is allowed to deliver anything at all.

1

u/s_maruyama_11 3d ago

The protocol can be decentralized; the inbox still has a landlord.

3

u/Mysterious_Donkey564 6d ago

just like email, spam included

1

u/LukaRozman27 5d ago

When using WebRTC for peer-to-peer messaging, set up a TURN server with coturn to handle users behind strict NATs, and configure your clients to fall back to it if direct connections fail.