Skip to content

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.

Notifications You must be signed in to change notification settings

arjunprakash027/P2P-Python-Flask

Repository files navigation

Peer-to-Peer Chat Application

Desktop.2023.09.18.-.16.49.32.02.mp4

Table of Contents

Introduction

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.

Features

  • User-friendly graphical interface.
  • Real-time text-based messaging.
  • Cross-platform compatibility (Windows, Linux, macOS).
  • Codebase is open-source and available on GitHub.

Requirements

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

Installation

  1. Clone the GitHub repository to your local machine:
git clone https://github.com/arjunprakash027/P2P-Python-Flask/tree/main
  1. Navigate to the project directory:
cd P2P-Python-Flask

Running the Desktop Application

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:

  1. Open a terminal or command prompt.

  2. Navigate to the project directory if you're not already there:

cd P2P-Python-Flask
  1. 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.

Contributing

If you would like to contribute to the development of this chat application, please follow these guidelines:

  1. Fork the repository on GitHub.

  2. Create a new branch for your feature or bugfix:

git checkout -b my-feature-branch
  1. Make your changes and commit them:
git commit -m "Add new feature"
  1. Push your changes to your fork:
git push origin my-feature-branch
  1. Create a pull request on the main repository's GitHub page.

Developed with ❤️ by Arjun P | LinkedIn

About

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.

Topics

Resources

Stars

Watchers

Forks

Packages