Skip to content

mandrelbrotset/same-network-group-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

same-network-group-chat

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.

Dependencies

  • Python 3
  • PyQt5 :- Install by running pip3 install PyQt5 in a terminal or command prompt.

Starting the group chat

  • Server
  1. Start the server by running python3 server_app.py in a terminal or command prompt.
  2. Leave the fields in the server program empty to use default configurations.
  3. Click Start server button.
  • Client
  1. Create a client by running python3 client_app.py in a terminal or command prompt.
  2. In the client program enter a nickname to be seen by other clients when you send messages.
  3. 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.
  4. Leave other fields blank if you didn't enter a port number in the server program.
  5. 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.

First run of server_app.py

server_first_run

First run of client_app.py

client_first_run

Client about to connect

client_about_to_connect

One client connected

one_user_connected

Multiple clients connected

multiple_users_connected

About

GUI group chat for computers in the same network. The server and the client program both have a GUI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages