/p2pchat-cli

A peer-to-peer console chat client written in Javascript on Holepunch protocols

Primary LanguageJavaScript

p2pchat-cli

A peer-to-peer console chat client written in Javascript on Holepunch protocols

Installation

  1. Clone the repo
  2. Install the dependencies using npm install
  3. Run node chat.mjs -n <nickname> -r <topic> to join a chatroom
  4. To exit, press esc twice.

Todo

  • Implement UI using neo-blessed
  • Handle peer exit
  • Sort messages on reload