A simple real-time chat program built in python and pysimplegui
module.
Every message sent by a user is broadcasted to all other connected users.
If a user spams, its ip will be banned until the server is restarted.
Install the required libraries
pip install -r requirements.txt
pysimplegui module is not needed server side
python server.py
python client.py
On the client side, modify the HOST
variable so that it contains the ip address of the server. By default it's 127.0.0.1