Skip to content

free-as-in-freedom/chatroom

Repository files navigation

chatroom

This is a chatroom project that lets clients connect to a server and communicate with eachother through the server.

Software Demo Video

How to run

To start the client server, make sure to create a ip_info.py file in the same directory as server.py with the line SERVER = "IP ADDRESS OR URL HERE" inside fo it.

To run the server, run python3 server.py on the server side, and run python3 client.py on the client side.

Network Communication

This program is a client/server that uses TCP and runs on any port that the server specifies. I decided to use port 5050, and I think that will work well in most use cases. The messages are encoded and decoded using UTF-8.

Development Environment

This software was creatied using Python 3 and Vim with the socket and threading libraries. These libraries come preinstalled with Python 3.

I am running a Debian server VPS through Vultr.

Useful Websites

Future Work

  • User authentication system with secure username/passwords
  • Message encryption
  • Print a userlist to the client

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages