/Open-chat

A project that aims to create a graph where all nodes can communicate other sending messages or video streaming.

Primary LanguagePythonMIT LicenseMIT

                   ▒█████   ██▓███  ▓█████  ███▄    █  ▄████▄   ██░ ██  ▄▄▄     ▄▄▄█████▓
                  ▒██▒  ██▒▓██░  ██▒▓█   ▀  ██ ▀█   █ ▒██▀ ▀█  ▓██░ ██▒▒████▄   ▓  ██▒ ▓▒
                  ▒██░  ██▒▓██░ ██▓▒▒███   ▓██  ▀█ ██▒▒▓█    ▄ ▒██▀▀██░▒██  ▀█▄ ▒ ▓██░ ▒░
                  ▒██   ██░▒██▄█▓▒ ▒▒▓█  ▄ ▓██▒  ▐▌██▒▒▓▓▄ ▄██▒░▓█ ░██ ░██▄▄▄▄██░ ▓██▓ ░ 
                  ░ ████▓▒░▒██▒ ░  ░░▒████▒▒██░   ▓██░▒ ▓███▀ ░░▓█▒░██▓ ▓█   ▓██▒ ▒██▒ ░ 
                  ░ ▒░▒░▒░ ▒▓▒░ ░  ░░░ ▒░ ░░ ▒░   ▒ ▒ ░ ░▒ ▒  ░ ▒ ░░▒░▒ ▒▒   ▓▒█░ ▒ ░░   
                    ░ ▒ ▒░ ░▒ ░      ░ ░  ░░ ░░   ░ ▒░  ░  ▒    ▒ ░▒░ ░  ▒   ▒▒ ░   ░    
                  ░ ░ ░ ▒  ░░          ░      ░   ░ ░ ░         ░  ░░ ░  ░   ▒    ░      
                      ░ ░              ░  ░         ░ ░ ░       ░  ░  ░      ░  ░        
                                                  ░ 
                                  Secure      Private      Intelligent                                 

version 1.5.0

What is OPENchat

OpenCHAT is a platform which provides a stable and secure point to point connection between two terminals. It is highly advised openCHAT to be run on Terminology https://www.enlightenment.org/about-terminology for better support. SSL has been used in order to implement secure tcp sockets.


Prerequisites

  • Python 2.7
  • OpenSSL

How to run OPENchat

openssl req -new -x509 -nodes -out cert.pem -keyout key.pem (just once for each client to create key and cert)
python client.py (port)

OPENchat commands

send message or file

send::(ip):(port)::(M for Message or F for file)

show inbox

inbox::list

show inbox from a specific (ip):(port)

inbox::(ip):(port)

Contributors

License & copyright

Licenced under the MIT licence.