An open API service indexing awesome lists of open source software.

https://github.com/swivelgames/secure-p2p-chat

A CLI-based Peer-2-Peer Chat App written in Node.js using OpenSSL for encryption. (written in a morning, and now periodically updated :)
https://github.com/swivelgames/secure-p2p-chat

Last synced: 3 months ago
JSON representation

A CLI-based Peer-2-Peer Chat App written in Node.js using OpenSSL for encryption. (written in a morning, and now periodically updated :)

Awesome Lists containing this project

README

        

# Secure P2P Chat

This is another one of my random projects that I threw together in a random morning/afternoon

## QuickStart

### First Run

`npm run all`

### After First Run

`npm run start`

### Commands

`/listen [HOST] PORT` -- Startup a chat server. Host is optional (assumes `localhost`)

`/connect HOST:PORT` -- Connect to someone else's chat session

`/su USERNAME` -- Change username from your session/computer username to something else

`/me MESSAGE` -- Talk in third-person perspective (i.e., `Swivel is incredibly tired.`)

`/debug` -- Enables debug output for incoming messages

#### Other Commands

`/import PATH` -- Path (local or remote) to a JavaScript file to be EVAL'd locally

`/exit` -- Quit

`/motd` -- Echo the local MOTD (eventually, this will go to the remote as well)

`/error` -- Output the stacktrace of the last error to occur in the application