Chatty is a basic client(s)/server terminal app utilizing socket communication written with Python. Goal of this project is to learn basic socket communication, threading and explore the python socket library. Both server and client come with some basic functions that are executed when a specific message is entered into the terminal.
Server Functions:
- kick(): kicks a specific user from chat
- ls(): lists active connections
- bc(): send msg directly to one client
Both Client and Server:
- read(): specify a path to text file and server will read file into chat
- cls(): clears terminal
- exit(): close connection
- help(): print help table
- Fork or download github repo
- pip install 'rich'. Program coded with python v3.8.10
- cd to project directory and type 'python3 start_server.py' start server
- enter 'local' to connect for localhost
- Type 'python3 start_server.py' start server. To start client, enter 'python3 start_client.py'. Can run multiple times for multiple clients
- enter 'local' to connect to server