🚀 Built for the Fosshub Hackathon | 🔗 Live Demo on GitHub Pages
PeerChat is a real-time peer-to-peer (P2P) communication platform that allows users to chat, share files, and make encrypted video calls without relying on centralized servers. Built using WebRTC and PeerJS, PeerChat ensures private and secure conversations between users.
Watch the PeerChat demo on YouTube:
Watch the video
✅ Secure Peer-to-Peer Messaging – End-to-end encrypted chats using AES encryption.
✅ P2P Video Calls – Direct peer-to-peer video/audio streaming with WebRTC.
✅ Screen Sharing – Share your screen during calls for remote collaboration.
✅ File Transfer – Send and receive images or documents instantly.
✅ Room-Based System – Users join unique rooms for private conversations.
✅ Mobile & Desktop Support – Adaptive UI that adjusts based on the device.
| Category | Technologies Used |
|---|---|
| Frontend | HTML, CSS, JavaScript |
| Networking | WebRTC, PeerJS |
| Security | AES Encryption (CryptoJS) |
| Backend (Minimal) | PeerJS Server for initial peer discovery |
| Other | STUN/TURN Servers for NAT traversal |
1️⃣ Open PeerChat (it generates a unique room ID).
2️⃣ Share the room ID with another user.
3️⃣ Establish a secure, direct peer-to-peer connection.
4️⃣ Send messages, make video calls, share files, or screens in real-time.
5️⃣ Disconnect anytime – No data is stored permanently.

