Skip to content

LovelaceX/voider-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voider Chat

Zero-knowledge encrypted ephemeral chat rooms.

Features

  • End-to-end encryption - NaCl (TweetNaCl) for message encryption
  • Real-time messaging - WebSocket-based communication
  • Ephemeral rooms - Auto-delete when all participants leave
  • Zero-knowledge - Server never sees your messages
  • File sharing - Share encrypted files in chat
  • No signup required - Just create and share the link

Tech Stack

  • Frontend: React 19, Vite 7, Tailwind CSS 4, Framer Motion
  • Backend: Cloudflare Workers with Durable Objects
  • Encryption: TweetNaCl (NaCl), Web Crypto API

Development

npm install
npm run dev

API

The API uses Cloudflare Durable Objects for real-time WebSocket connections.

See /api/README.md for details.

Deployment

Frontend (Cloudflare Pages)

npm run build
wrangler pages deploy dist --project-name=voider-chat

API (Cloudflare Workers)

cd api
wrangler deploy

Cryptography

  1. Create room: Generate NaCl keypair client-side
  2. Join room: Exchange public keys via WebSocket
  3. Send message: Encrypt with recipient's public key
  4. All encryption happens in the browser

License

MIT License

About

Voider Chat is a zero-knowledge encrypted chat room.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •