p2p chat in the terminal

Nick Warner 67aa8c80bd Merge pull request #97 from cabal-club/93 4 days ago
.cabal.yml-example a53512802f Look for config file as config.yml in ~/.cabal dir by default 1 month ago
.gitignore 7d84c98f8a Initial implementation of multiple cabals :D 1 month ago
LICENSE ea8c66b570 Add license 6 months ago
README.md f6547b8db8 fix: remove old debug command 2 weeks ago
cli.js a8df479d23 fix: show usage on --help|-h 2 weeks ago
commands.js 7db2c3d52d print out yr local feed key 5 days ago
index.js 3dc158578f chore: cabal-node -> cabal-core 4 months ago
neat-screen.js 502147b41c add --experimental flag 4 weeks ago
output.js 170a913fdf use patched output fot neat log 6 months ago
package.json 47de8bb4ab 5.1.4 2 weeks ago
util.js ebdfeef84d chore: more linting 3 months ago
views.js 99c871824a fix: consistently colour channel topic as white 2 weeks 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://0b2a6c1c58014fe0da6dff38df6282157c405bc0ed7b550cda5c8c43d8067047

Installation

$ npm install --global cabal
$ cabal --key cabal://0b2a6c1c58014fe0da6dff38df6282157c405bc0ed7b550cda5c8c43d8067047

Usage

Start a new instance:

cabal --new

Connect to an existing instance:

cabal --key <key>

e.g.

cabal --key cabal://0b2a6c1c58014fe0da6dff38df6282157c405bc0ed7b550cda5c8c43d8067047

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> --seeder

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