this post was submitted on 21 Nov 2025
-2 points (41.7% liked)

Privacy

3155 readers
173 users here now

Icon base by Lorc under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS
-2
P2P WhatsApp Clone (infosec.pub)
submitted 4 weeks ago* (last edited 4 weeks ago) by xoron@programming.dev to c/privacy@programming.dev
 

Want to send E2E encrypted messages and video calls with no downloads, no sign-ups and no tracking?

This prototype uses PeerJS to establish a secure browser-to-browser connection. Using browser-only storage—true zerodata privacy!

Check out the pre-release demo here.

NOTE: This is still a work-in-progress and partially a close-source project. To view the open source version see here. It has NOT been audited or reviewed. For testing purposes only, not a replacement for your current messaging app.


How it works:

PeerJS allows users to connect with a unique string. A crypto-random ID is generated automatically on the frontend and used for the connection.

To connect, you can share your unique ID. Strangers are not able to guess your ID. Upon the initial connection, new encryption keys are exchanged and persisted to browser storage. These are used to encrypt message payloads to be sent over the WebRTC connection as created with PeerJS.

After a page reload (or future session), the app automatically pings the "known peers". If connecting to to a peer ID that is already registered, the previsously establish encryption keys are used to authenticate the user. This helps prevent MITM.

you are viewing a single comment's thread
view the rest of the comments
[–] xingyang292@programming.dev 2 points 4 weeks ago (2 children)

Does it have a github repository?

[–] xoron@programming.dev 4 points 4 weeks ago* (last edited 4 weeks ago) (1 children)

the org can be found here: https://github.com/positive-intentions

the prerelease demo linked in the post is not open source.

[–] xingyang292@programming.dev 2 points 4 weeks ago

Excellent. Thanks.