HeadlinesBriefing favicon HeadlinesBriefing.com

Serverless P2P Messenger Built Without Signaling Servers

DEV Community •
×

Developers have long wrestled with the metadata trap that sits behind even the most secure messengers. In a recent experiment, a coder built a Kotlin Multiplatform app that uses WebRTC to create a direct, encrypted tunnel between two devices—no accounts, no servers, no external traffic for privacy‑focused users worldwide.

To keep the connection alive, the author replaced the usual signaling server with a manual offer/answer exchange. Users generate a small encrypted JSON file, share it via email, QR code, or a USB stick, then import it on the other device to finish the handshake without any central intermediary server.

Running on Android and Windows, the prototype demonstrates that a truly serverless P2P messenger can exist, but it faces practical hurdles: NAT timeouts, ICE candidate freezes, and the need for manual file exchange. The project invites feedback on whether the trade‑off between privacy and convenience is worth it to users.