cogs-chat

1.0.4 • Public • Published

This is a very simple example of the new Cogswell.io Pub/Sub product. It is a command-line chat client which can be bound to any user's Cogswell account.

Simple create a JSON file containing a keys property which is an array with read and write auth keys.

{
  "keys": [
    "R-0123456789abcdef-0f1e2d3c4b5a6978"
    "W-0123456789abcdef-f0e1d2c3b4a59687"
  ]
}

Then launch the chat client using your custom JSON config file, a username, and a channel

$ cogs-chat -f path/to/custom.json MyUserName ChatChannel

Package Sidebar

Install

npm i cogs-chat

Weekly Downloads

1

Version

1.0.4

License

MIT

Last publish

Collaborators

  • buzuli