Skip to content

Console chat utility that demonstrates PubNub integration with Ink.js.

Notifications You must be signed in to change notification settings

tnv1r/pubchat-cli

Repository files navigation

Pubchat-cli

A command line chat application built for those who loves to use the terminal.

Use GUI instead.

Pros

  1. Get messages sent from GUI
  2. Act like a hacker xD

Cons

  1. No message history.

Install

using npm:

$ npm install --global pubchat-cli

using npx:

$ npx pubchat-cli

Tech Stack

  1. React Ink
  2. Pubnub
  3. Node.js
  4. NPM (deployment)

Clone

  1. Clone the repo: git clone https://github.com/T4533N/pubchat-cli.git
  2. Install dependencies: cd pubchat-cli && npm install
  3. Run the development server: pubchat-cli

CLI

$ pubchat-cli --help

  Usage:
    $ pubchat-cli 
	
  Example:
    $ pubchat-cli
      username: (put your username)
      channelName: (put the channelName you wanna join)

[enjoy chatting like a hacker :D]

License

This app is 100% open-source, feel free to utilize the code however you would like.

The MIT License (MIT)

Copyright (c) 2021 Taseen Tanvir

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

Console chat utility that demonstrates PubNub integration with Ink.js.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published