peerchat

Peer-to-peer terminal chat

Usage no npm install needed!

<script type="module">
  import peerchat from 'https://cdn.skypack.dev/peerchat';
</script>

README

Peerchat

Zero configuration peer-to-peer terminal chat with built-in end-to-end encryption working on DStack

Checkout blog post for more info

asciicast dstack Version Downloads/week License

Installing

npm i -g peerchat
yarn global add peerchat

Usage

$ npm install -g peerchat
$ peerchat COMMAND
running command...
$ peerchat (-v|--version|version)
peerchat/0.1.3 darwin-x64 node-v16.13.1
$ peerchat --help [COMMAND]
USAGE
  $ peerchat COMMAND
...

Commands

peerchat [ROOM] [NICKNAME]

Peer-to-peer terminal chat running on DStack

USAGE
  $ peerchat [ROOM] [NICKNAME]

ARGUMENTS
  ROOM      [default: dstack] chat room
  NICKNAME  your nickname

OPTIONS
  -v, --version  show CLI version

EXAMPLES
  $ peerchat
  $ peerchat [ROOM] [NICKNAME]
  $ peerchat dstack myCoolNickname

See code: src/commands/index.ts

peerchat discord [ROOM]

Peerchat/Discord relay

USAGE
  $ peerchat discord [ROOM]

ARGUMENTS
  ROOM  [default: dstack] chat room

OPTIONS
  -v, --version  show CLI version

EXAMPLES
  $ CHANNEL_ID="<discord channel id>" DISCORD_KEY="<discord bot token>" peerchat discord
  $ CHANNEL_ID="<discord channel id>" DISCORD_KEY="<discord bot token>" peerchat discord [ROOM]
  $ CHANNEL_ID="<discord channel id>" DISCORD_KEY="<discord bot token>" peerchat discord dstack

See code: src/commands/discord/index.ts

peerchat help [COMMAND]

Display help for peerchat.

USAGE
  $ peerchat help [COMMAND]

ARGUMENTS
  COMMAND  Command to show help for.

OPTIONS
  -n, --nested-commands  Include all nested commands in the output.

See code: @oclif/plugin-help