Welcome to the Peer-to-Peer Messaging Website Prototype! This project allows users to connect with each other via a peer-to-peer network and exchange messages.
- Peer Connection: Users can share their connection IDs to establish direct connections with others.
- Messaging: Once connected, users can send and receive messages in real-time.
- Multi-Peer Support: Supports communication between multiple peers simultaneously.
- JavaScript: For client-side scripting and peer connection handling.
- HTML/CSS: Front-end structure and styling.
- PeerJS: Simplifies WebRTC peer-to-peer data, audio, and video calls. It provides a server and a JavaScript library that abstracts the complexities of WebRTC peer-to-peer connections. PeerJS facilitates peer discovery, signaling, and negotiation, allowing devices to connect directly to each other (peer-to-peer) via the browser.
No setup required! Simply visit Peer-to-Peer Messaging Website to use the application.
-
Connecting:
- Share your connection ID (generated by the website) with others or input someone else's ID to connect.
-
Messaging:
- Once connected, you can send messages to the connected peers.
- All connected peers will receive the messages instantly.
- This project is a prototype and may lack certain features or robust error handling.
- Contributions are welcome! Feel free to fork the repository and submit pull requests.