PeerChat is a lightweight, browser-based peer-to-peer messaging application built with PeerJS. This application allows users to establish direct connections and chat with each other without requiring a central server to relay messages.
- Real-time messaging between peers with direct P2P connections
- Auto-generated unique peer IDs for simple connection setup
- Modern WhatsApp-inspired chat interface
- Connection status indicators and notifications
- Mobile-responsive design for use on any device
- No message storage - conversations remain private between peers
Perfect for quick, secure conversations or as a foundation for more complex P2P applications. Simply share your ID, connect with a peer, and start chatting instantly.
This project uses a free TURN server with quota usage of 500MB from Metered:
https://dashboard.metered.ca/turnserver/app/67dbe7d060a12544f83187fb
If you are looking for a self-hosted solution, please check the following resourses:
https://github.com/coturn/coturn
https://github.com/Atlantis-Software/node-turn
This project was developed with the support of AI tools to boost productivity and assist in different areas of the code and documentation.