r/webdev • • Oct 29 '26

How to Create Your Own Decentralized Messenger Protocol

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

12 comments sorted by

3

u/Mysterious_Donkey564 Oct 29 '26

just like email, spam included

7

u/Excellent_Sort1954 Oct 29 '26

"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 Nov 01 '26

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

1

u/LukaRozman27 Oct 30 '26

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.