https://github.com/arvind-4/chatapp-using-sockets
Simple Chat Using Python & Sockets
https://github.com/arvind-4/chatapp-using-sockets
python3 server socket socket-programming thread threading
Last synced: 2 months ago
JSON representation
Simple Chat Using Python & Sockets
- Host: GitHub
- URL: https://github.com/arvind-4/chatapp-using-sockets
- Owner: arvind-4
- Created: 2021-08-14T14:30:00.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-19T12:28:18.000Z (over 1 year ago)
- Last Synced: 2025-02-17T13:18:06.066Z (11 months ago)
- Topics: python3, server, socket, socket-programming, thread, threading
- Language: Python
- Homepage: https://github.com/Arvind-4/chatapp-using-sockets
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chatapp using sockets!
Simple chatapp using Python, Socket connections.
## How to Run this Locally
- Step 1: Check Version of Python
```
python -V
>>>Python 3.10.13
```
- Step 2: Clone Repository
```
cd ~/Dev
mkdir ~/Dev/chatapp -p
cd ~/Dev/chatapp
git clone https://github.com/Arvind-4/Chat-App-in-Python.git .
```
- Step 3: First Start the Server
```bash
python src/server.py
```
- Step 4: Open another terminal in the same path and run the client. Open 'n' number of terminals to have 'N' clients. All the outputs will be displayed in the server terminal.
```
python src/client.py
```
... and now start chatting!!
Format and Lint the code?
Run
```bash
pip install -r requirements.txt
ruff format . && ruff check .
```