Skip to content

tmargary/p2p-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Peer to peer console application

Goals of the project

This is a peer to peer console chat application. The clients are able to connect to the server via TCP socket connections and obtain the list of available clients. Afterwards, the client can connect to one other client on the list and exchange text messages directly to one another.

Installation

  • run pip install . from the root of the project
  • Run p2p_demo run server
  • Run p2p_demo run client (from a different terminal)
  • (Optional) Continue adding as many clients as you need by running the command above.
  • Follow the prompts.
  • (Optional) To get help about p2p_demo, run p2p_demo --help
  • (Optional) To get help about the main run functionality, run p2p_demo run --help

To be improved

  • Ability to exchange messages without further help from the server
  • Implement a GUI
  • Connect users outside the localhost via the Internet
  • Test the package on Windows (tested only on Linux)
  • Implement tests

Demo screenshot

ScreenShot

Requirements

  • Python >3.7

About

Peer to peer console application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages