GUI group chat for computers in the same network. Multiple clients can be created on a single computer. After starting the server. Clients can connect to the server. Clients connected to a server will be able to send broadcast messages to other clients connected to that server. Both the server program and client program are GUI based.
- Python 3
- PyQt5 :- Install by running
pip3 install PyQt5
in a terminal or command prompt.
- Server
- Start the server by running
python3 server_app.py
in a terminal or command prompt. - Leave the fields in the server program empty to use default configurations.
- Click Start server button.
- Client
- Create a client by running
python3 client_app.py
in a terminal or command prompt. - In the client program enter a nickname to be seen by other clients when you send messages.
- If the client programs will be running on the same machine as the server, leave the hostname field blank othereise enter the IP address of tge computer running the server.
- Leave other fields blank if you didn't enter a port number in the server program.
- Click Connect to server button.
Perform the steps to start the client multiple times to create multiple clients.
In theory, the code should work on all platforms. The code has not been tested with MacOS. The demo video is a test run on Windows 10. The screenshots below were taken on Ubuntu Linux test run.