This program allows you to create a channel in the local network for communication between users through the use of a secret key that is generated when a server is created at the host.
- If you don't already have tkinter installed, you need to download it. tkinter is a standard GUI library for Python, and it's usually included with Python installations. However, if you don't have it installed, you can install it using your package manager. For example, on Ubuntu or Debian-based systems, you can use:
sudo apt-get install python3-tk
- Install the required libraries listed in
requirements.txtfile usingpip:
pip3 install -r requirements.txt
- Run
main.pyto create a server:
python3 main.py
Once the script is executed, you'll be prompted to input S on the terminal to create the server.
Important: Make sure to save the key provided by the program. You'll need this key to connect to the server or to allow others to join your channel.
- Run
main.pyagain from another terminal, but this time we're going to connect to the server as a client:
python3 main.py
- Start chatting with your friends!
- check users by ip
- create ports for chat by some hash func
- create secure connection between users(for sure every non chat user can listening chat by Wireshark)


