0.3.1 • Published 10 days ago

skychat-cli v0.3.1

Weekly downloads
-
License
ISC
Repository
-
Last release
10 days ago

SkyChatCLI

Command-line interface to connect to your favorite SkyChat instance

Install

npm i -g skychat-cli

Use

You need to provide:

  • The host you are connecting to (eg some-skychat.com) where a SkyChat instance is running
  • Your credentials (user and password) (only if you want to connect to an existing account)

Example connecting as a guest:

skychat-cli -h some-skychat.com

Example connecting with an existing account:

SKYCHAT_USER=user SKYCHAT_PASSWORD=password skychat-cli -h some-skychat.com

Once you connected with a user + password once, you will automatically re-use your auth token the next time you login

# Initial connection: You need to provide user + password
SKYCHAT_USER=user SKYCHAT_PASSWORD=password skychat-cli -h some-skychat.com

# Second connection: Only pass the host, your auth token will be re-used
skychat-cli -h some-skychat.com

Tips

  1. All options can be passed either through environment or CLI args

    # All CLI args:
    skychat-cli -h some-skychat.com -u user -p password
    
    # All env:
    SKYCHAT_HOST=some-skychat.com SKYCHAT_USER=user SKYCHAT_PASSWORD=password skychat-cli
  2. In order not to have to specify the host each time you want to connect, you can add export SKYCHAT_HOST=some-skychat.com to your .bashrc file:

    echo 'export SKYCHAT_HOST="some-skychat.com"' >> ~/.bashrc
0.3.1

10 days ago

0.3.0

11 days ago

0.1.2

17 days ago

0.2.0

17 days ago

0.1.1

18 days ago

0.1.0

20 days ago

0.0.7

21 days ago

0.0.6

9 months ago

0.0.5

9 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago