Desktop.2023.09.18.-.16.49.32.02.mp4
- Introduction
- Features
- Requirements
- Installation
- Running the Desktop Application
- Contributing
- License
This Peer-to-Peer (P2P) Chat Application allows users to connect with peers and engage in real-time text-based conversations. It provides a user-friendly interface for chatting.
- User-friendly graphical interface.
- Real-time text-based messaging.
- Cross-platform compatibility (Windows, Linux, macOS).
- Codebase is open-source and available on GitHub.
Before running the chat application, ensure that you have the following prerequisites installed on your system:
- Python 3.6 or higher
- PyQt5 library
- Flask library
- Flask-SocketIO library
You can install the required Python libraries using pip
:
pip install PyQt5 Flask Flask-SocketIO
- Clone the GitHub repository to your local machine:
git clone https://github.com/arjunprakash027/P2P-Python-Flask/tree/main
- Navigate to the project directory:
cd P2P-Python-Flask
The easiest way to run the application is
go to the folder dist and run
p2p_chatapp_desktop.exe
The desktop application provides a graphical interface for chatting with peers. Follow these steps to run it:
-
Open a terminal or command prompt.
-
Navigate to the project directory if you're not already there:
cd P2P-Python-Flask
- Run the desktop application script:
python desktop_app.py
This will launch the chat application, and you'll be prompted to enter your name. After entering your name, you'll see a list of available peers. Select a peer to start a chat.
If you would like to contribute to the development of this chat application, please follow these guidelines:
-
Fork the repository on GitHub.
-
Create a new branch for your feature or bugfix:
git checkout -b my-feature-branch
- Make your changes and commit them:
git commit -m "Add new feature"
- Push your changes to your fork:
git push origin my-feature-branch
- Create a pull request on the main repository's GitHub page.