A online chat system written in Python 3.
NYU Shanghai ICS final project.
-
demo - a simple demo which implements basic UI, event-driven design and multi-threading server
-
pychat - complete version
-
ui_design - UI design files
- Highly-robust logic design
- Friendly GUI
- Reliable AES-encrypted socket
- File transfer
- Facial recognition
To run this program, some libraries are required. Use command pip3
to install them.
pip3 install cmake face_recognition numpy
pip3 install opencv-python
pip3 install pycryptodome
Use the following command to start the server. Also, optional parameter -p
can be used to purge the server data before the server start up.
python server.py [-p user|chat|all]
Use the following command to start the client.
python client.py
You can change the filename to be client.pyw
to get rid of the CLI interface.
- Clients from other machines cannot send files to clients from localhost.