This is a simple terminal chat application, written in C++ and Python.
- Uses CMake for project management
- Utilizes modern C++ practices
- TUI client written in Python
To build server, you need to have CMake and a C++ compiler. Here are the steps to build:
git clone --recursive https://github.com/m1dsolo/chat.git
cd path/to/project
cmake -B build
cmake --build build -j4
This will generate the executable in the ./bin
directory.
Use textual
for the client TUI:
pip install textual
- server:
cd ./bin
./server 9999 # Start the server on localhost:9999
- client
python ./client.py 192.168.1.100 9999 # Connect to the server at 192.168.1.100:9999
MIT © m1dsolo