Repository navigation
v3.49 — first tagged release
v3.49 — first tagged release
Talk to anyone, wherever they are. No sign-up, no phone number, free forever.
Live app: https://digitalvalut.github.io/logos-protocol/
This is the first tagged release of DigitalValut Logos, a peer-to-peer encrypted chat that
runs entirely in the browser over WebRTC. There is no account, no server storing messages,
and no company in the middle — two browsers connect directly to each other, and everything
that isn't part of finding that connection never touches a server at all.
Architecture
- ECIES over ECDH on the P-256 curve. A device's permanent and throwaway addresses
(DV-XXXX-XXXX-XXXX) are the hash of a public key, not the key itself. Whoever calls an
address fetches that key, verifies it actually hashes to the address they dialled, and
encrypts to it with a one-time key pair of its own — so two calls to the same address
share no secret, and holding an address is no longer enough to read what arrives at it. - One relay component, and it's structurally unable to read anything. A single
Cloudflare Worker helps two browsers find each other (a short-lived encrypted mailbox,
a longer-lived key-lookup route, a push "knock" carrying no content) and, on very
restrictive networks, relays already-encrypted traffic. It never has a key and never sees
a plaintext message. - Zero runtime dependencies. No CDN, no npm packages, no third-party library loaded at
any point — every line that runs came from this repository. The whole app can also be
built into a single self-contained HTML file (build-single-file.py) and hosted anywhere,
or carried on a USB stick. - Strict CSP, no inline scripts or styles, self-hosted fonts and assets throughout.
What's in it
- Messages, voice notes, photos, video and file sharing; audio and video calls, direct
between the two browsers. - Three ways to connect: a short 6-digit code, a tappable invite link, or a QR code scanned
in person (which verifies itself — no words to compare, no ambiguity about who answered). - Waiting invites: send one and close the app; whoever opens it later makes your phone
ring, wherever you are when you next open the app. - Permanent and throwaway addresses (up to 8 burner addresses per device), each backed
by its own key pair, each independently revocable. - A self-destruct timer, and an opt-in automatic cleanup that ages out old conversations
(off by default). - The full interface in 13 languages, including right-to-left layout for Arabic and Urdu.
- Installable on iPhone, Android, and desktop; works offline for everything except reaching
another person, which — since there is no server holding a connection open on your behalf
— always needs both people online at the same time.
Said plainly, because it should be
WebRTC reveals your network address (IP) to whoever you're directly connected to — that's
how a peer-to-peer connection works, and no amount of application-layer encryption changes
it. No website, this one included, can prevent someone from taking a screenshot. On heavily
filtered networks, a direct connection may not be possible at all. These aren't bugs to fix
later; they're stated up front on the project's own landing page, because a project whose
whole pitch is trustworthiness only earns that by saying what it can't do, not just what
it can.
Quality signal
60 automated tests, each one verified by deliberately reintroducing the bug it guards
against and confirming it fails red before the fix — not just written to pass. They run in
a ~150-line hand-written browser sandbox, not a framework, in keeping with the zero-runtime-
dependency rule.
License
MIT.
Full source: https://github.com/digitalvalut/logos-protocol