This is a command line chat application developed in Python. It consists of two main files, client.py
and server.py
, which allow users to connect to a server and send messages that are broadcasted to all connected clients.
- Connect to a central server and join the chat room.
- Send messages that are broadcasted to all connected clients.
- Receive messages from other clients in real-time.
- Python 3.x
- Clone the repository:
git clone https://github.com/jinang17/Chat_application.git
- Change directory to the project folder:
cd Chat_application
- Start the server:
python server.py
- Open another terminal window and start a client:
python client.py
-
Enter your desired username when prompted.
-
Start sending and receiving messages in the chat room!
- Run
python server.py
to start the chat server. - Run
python client.py
to start a client and join the chat room. - Enter your desired username when prompted.
- Type your message and press Enter to send it to all connected clients.
Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.
This project is licensed under the MIT License.
Special thanks to the contributors of the Python programming language and the libraries used in this project for their valuable tools and resources.