A Terminal Chat Application that makes you 'shut up' heuheuheu :)
To clone the repository:
$ git clone https://github.com/alexemanuelol/ChatApp.git
Install the required packages:
$ cd chatapp
$ pip install -r requirements.txt
$ pip install -r src/terminal-text-boxes/requirements.txt
Port-forward the used port on your router by following This guide.
Set the server ip address and port in the config.ini
file located here.
The server application
The client application
You press <ESC>
to exit the client application
Every package sent between clients and the server is structured like this:
package = {
"type" : None,
"data" : None,
"info" : None,
"initiator" : None
}
The different package types:
types = {
"command" : 0,
"message" : 1,
"notify" : 2,
"error" : 3
}
Command prefix is set to: !
Commands:
- setNickname
- getUsers
Example:
!setNickname Awesom-O