Skip to content

A LAN chat system, course project for Introduction to Computer Science.

License

Notifications You must be signed in to change notification settings

tomzhu1024/pychat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyChat

A online chat system written in Python 3.

NYU Shanghai ICS final project.

Project Structure

  • demo - a simple demo which implements basic UI, event-driven design and multi-threading server

  • pychat - complete version

  • ui_design - UI design files

Introduction Video

Features

  • Highly-robust logic design
  • Friendly GUI
  • Reliable AES-encrypted socket
  • File transfer
  • Facial recognition

Required Library

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

Start Server

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]

Start Client

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.

Problems Pending to be Fixed

  1. Clients from other machines cannot send files to clients from localhost.

About

A LAN chat system, course project for Introduction to Computer Science.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published