Try it

Try Socketchat in your browser.

This page starts Linux inside your browser tab, runs a Socketchat server in it, and opens two people, Ada and Bo, in one end-to-end encrypted room. Type as Ada and read it as Bo. There is nothing to install, and nothing leaves this tab.

The demo downloads about 13 MB and works best in a current desktop browser.

What to try

Type a message in Ada’s window and press Enter. It arrives in Bo’s window a moment later, encrypted on Ada’s side and decrypted on Bo’s.

  • /status shows the room’s encryption suite: ML-KEM-768 with X25519, which keeps messages safe from a future quantum computer.
  • /verify shows the safety numbers Ada and Bo would compare to check that nobody sits between them.
  • /help lists every command.

What is running

The real Socketchat 0.6.2 for 64-bit ARM Linux, the same program the installer downloads, running on unkernel, the Linux kernel compiled to WebAssembly by Pooya Parsa.

The server and both apps run in this tab with no network connection, so the messages never leave your computer. In real use the server runs on a machine you choose, such as a cloud server or a Raspberry Pi, and each person runs Socketchat on their own computer. A self-hosted chat server that cannot read your messages covers setting one up.

Credits and licences

Install Socketchat

macOS or Linux, in a terminal
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/sachio222/socketchat/releases/latest/download/socketchat-installer.sh | sh
Windows, in PowerShell
powershell -ExecutionPolicy Bypass -c "irm https://github.com/sachio222/socketchat/releases/latest/download/socketchat-installer.ps1 | iex"
Or with Homebrew, on macOS or Linux
brew install sachio222/tap/socketchat

Open a new terminal when it finishes.

Then start a server with socketchat server init --host chat.example.com and socketchat server run, and open port 7444. Quick start on the home page.