Alexemanuelol ChatApp Save

:mailbox: :postal_horn: A Terminal Chat Application that makes you 'shut up' heuheuheu :)

Project README

ChatApp

A Terminal Chat Application that makes you 'shut up' heuheuheu :)

Setup

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.

Example

The server application

An image of the server application

The client application

An image of the client application

You press <ESC> to exit the client application

Documentation

Package structure

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
}

Client Commands

Command prefix is set to: !

Commands:

  • setNickname
  • getUsers

Example:

!setNickname Awesom-O
Open Source Agenda is not affiliated with "Alexemanuelol ChatApp" Project. README Source: alexemanuelol/ChatApp
Stars
28
Open Issues
0
Last Commit
3 years ago
License

Open Source Agenda Badge

Open Source Agenda Rating