Skip to content
This repository has been archived by the owner on Aug 15, 2022. It is now read-only.
/ chat Public archive

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

License

Notifications You must be signed in to change notification settings

dstack-js/chat

Repository files navigation

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.5 darwin-arm64 node-v17.7.2
$ 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