Welcome to the Peer-to-Peer Chat App repository! This project is a simple chat application built using Tauri, leveraging Iroh Gossip for peer-to-peer communication without the need for servers. Below, you will find detailed information about the project, its features, setup instructions, and more.
- Peer-to-Peer Communication: Direct chat between users without a central server.
- Cross-Platform: Works on multiple operating systems including Windows, macOS, and Linux.
- Lightweight: Minimal resource usage due to the absence of server infrastructure.
- Real-Time Messaging: Instant message delivery with Iroh Gossip.
- User-Friendly Interface: Built with React and styled using Tailwind CSS for a clean look.
- Mobile Compatibility: Designed to work seamlessly on Android devices.
This project utilizes a variety of technologies to create a robust chat application:
- React: For building user interfaces.
- Rust: Backend logic and performance optimization.
- Tauri: To create a lightweight desktop application.
- Iroh Gossip: For decentralized messaging.
- Tailwind CSS: For responsive and modern design.
- TypeScript: For type safety and improved developer experience.
- ViteJS: For fast development and build processes.
To get started with the Peer-to-Peer Chat App, follow these steps:
-
Clone the Repository:
git clone https://github.com/PhanordCode/peer-to-peer.git cd peer-to-peer
-
Install Dependencies: Make sure you have Node.js and Rust installed. Then run:
npm install
-
Build the Application: Use Vite to build the application:
npm run build
-
Run the Application: You can run the application using Tauri:
npm run tauri dev
Once the application is running, you can start chatting with other users. Follow these steps:
- Create a User Profile: Enter a username when prompted.
- Connect with Peers: Share your connection link with friends.
- Start Chatting: Send and receive messages in real-time.
The application supports multiple users and allows for group chats as well.
We welcome contributions to enhance the Peer-to-Peer Chat App. If you want to contribute, please follow these steps:
- Fork the Repository: Click on the fork button in the top right corner.
- Create a New Branch:
git checkout -b feature/YourFeatureName
- Make Your Changes: Implement your feature or fix.
- Commit Your Changes:
git commit -m "Add your message here"
- Push to Your Branch:
git push origin feature/YourFeatureName
- Open a Pull Request: Go to the original repository and create a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
To download the latest version of the Peer-to-Peer Chat App, visit our Releases section. Here, you can find the latest builds for various platforms. If you need a specific file, download it and execute it as per your system requirements.
For any questions or feedback, feel free to reach out:
- Email: [email protected]
- Twitter: @YourTwitterHandle
Thank you for checking out the Peer-to-Peer Chat App! We hope you enjoy using it and contributing to its development.