p2p chat in the terminal

cblgh 0a874bd279 colorize output 4 days ago
.cabal.yml-example a53512802f Look for config file as config.yml in ~/.cabal dir by default 5 months ago
.gitignore 7d84c98f8a Initial implementation of multiple cabals :D 5 months ago
LICENSE ea8c66b570 Add license 10 months ago
README.md 85f9f00ec8 Update README.md 4 days ago
cli-2019-04.png 99d4ccbbef add cli image 4 days ago
cli.js 0a874bd279 colorize output 4 days ago
commands.js 7db2c3d52d print out yr local feed key 4 months ago
index.js 3dc158578f chore: cabal-node -> cabal-core 8 months ago
markdown-shim.js a1ff0b0e57 add clickable links using markdown []() syntax 3 months ago
neat-screen.js eafa9d631e replace emojis with cabal symbol to fix rendering 1 week ago
output.js 170a913fdf use patched output fot neat log 11 months ago
package-lock.json b0938afa41 5.2.3 1 week ago
package.json b0938afa41 5.2.3 1 week ago
util.js ebdfeef84d chore: more linting 7 months ago
views.js 15760189e5 deduplicate nicks in sidebar and add count 1 week ago

README.md

cabal-cli

Terminal client for cabal, the p2p chat platform.

See cabal-core for the underlying database & api.

chat with us:
npx cabal --key cabal://14bc77d788fdaf07b89b28e9d276e47f2e44011f4adb981921056e1b3b40e99e

Installation

$ npm install --global cabal
$ cabal --key cabal://14bc77d788fdaf07b89b28e9d276e47f2e44011f4adb981921056e1b3b40e99e

Usage

Start a new instance:

cabal --new

Connect to an existing instance:

cabal --key <key>

e.g.

cabal --key cabal://14bc77d788fdaf07b89b28e9d276e47f2e44011f4adb981921056e1b3b40e99e

Headless mode

This will run cabal without a UI. You can use this to seed a cabal (e.g. on a VPS) and make its data more available:

cabal --key <key> --seed

Commands

/channels 
   display channels you can join
/names
   display a list of the people currently online 
/join <channel> 
   join a channel
/j
   alias for /join
/nick <new nick>
   pick a new username
/n
   alias for /nick
/emote <some text> 
   write an old-school text emote
/me
   alias for /emote
/clear
   clear the current backlog
/help
    display a help message of the current commands
/quit
   exit cabal

Hotkeys

ctrl+u
    clear input line
ctrl+w
    delete last word in input
up-arrow
    cycle through command history
down-arrow
    cycle through command history
home
    go to start of input line
end
    go to end of input line
ctrl+n
    go to next channel
ctrl+p
    go to previous channel
pageup
    scroll up through backlog
pagedown
    scroll down through backlog
alt-[1,9]
    select channels 1-9
alt-n     tab between the cabals & channels panes