Skip to content

NodeCrypt

Active
shuaiplus/nodecrypt

An end-to-end encrypted, zero-knowledge web chat on Cloudflare Workers and Durable Objects — the server only relays ciphertext and stores no history.

View on GitHub
Stars
899
Forks
753
Watchers
899
Open issues
16

Overview

NodeCrypt is an end-to-end encrypted chat system with a zero-knowledge design: all encryption and decryption happens in the client, and the server is only a blind relay for encrypted data. It deploys to Cloudflare Workers with one click.

Architecture

  • Frontend — framework-free ES modules, built with Vite
  • Backend — Cloudflare Workers + Durable Objects
  • Transport — WebSocket for real-time messaging

Privacy design

  • No persistent storage — messages exist only in memory, so there is no history to leak
  • Anonymous rooms — no registration; a room password feeds into key derivation, so different passwords can’t read each other’s messages
  • Private messages between room members, invisible to everyone else
  • Layered cryptography — a rotating RSA-2048 server identity, ECDH-P384 key agreement per client, and AES-256 symmetric encryption

Build with npm run build and deploy with npm run deploy.

Similar open-source projects, ranked by shared categories and tags.

All Security projects →