This project is a simple chat system build for Windows that has it's server written in C++ and it's Client in Python. It allows for multiple clients to be connected at the same time and it also allows them to message each other privately.
A first step towards building the project it's to download the repository. You can do this by simply clicking "Code" and downloading it or oppening via Github Desktop.
Another way is to clone it using the github command line:
git clone https://github.com/GabyUnalaq/Chat-system-Cpp-Python.git
The Server was generated using CMake gui version 3.17.0 and it was built using Visual Studio 2019. After running CMake in the server folder and building the solution, the server is ready to be used.
As for the Client, the window was designed using the QT framework with Python version 3.7.7. To get the required libraries, run the following command in your Command Prompt:
pip install pyqt5 threaded sockets
After that, you can:
- run
Client.py
for a single Client - run
main.py
for multiple Clients on the same device - build yourself an executable using the
ExeMaker_pyinstaller.bat
. This will create a folder calleddist
and inside you will find the final application. To run, theClientInterface.ui
has to be in the same folder as the compiler executable.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue and we will continue from there.
Don't forget to give the project a star! Thanks again!
Tomuta Gabriel - Linkedin - RovisLab
Project Link: https://github.com/GabyUnalaq/Chat-system-Cpp-Python
Distributed under the MIT License. See LICENSE
for more information.