p2p chat in the terminal

cblgh 7ee604b83d Merge branch 'cli-commands' 1 month ago
.cabal.yml-example a53512802f Look for config file as config.yml in ~/.cabal dir by default 3 months ago
.gitignore 7d84c98f8a Initial implementation of multiple cabals :D 3 months ago
LICENSE ea8c66b570 Add license 8 months ago
README.md 3de994fb14 Update to latest public cabal 1 month ago
cli.js 169ab0073b update cli commands documentation 1 month ago
commands.js 7db2c3d52d print out yr local feed key 2 months ago
index.js 3dc158578f chore: cabal-node -> cabal-core 6 months ago
markdown-shim.js a1ff0b0e57 add clickable links using markdown []() syntax 1 month ago
neat-screen.js a1ff0b0e57 add clickable links using markdown []() syntax 1 month ago
output.js 170a913fdf use patched output fot neat log 9 months ago
package-lock.json b58d8475fc add --temp flag 1 month ago
package.json b58d8475fc add --temp flag 1 month ago
util.js ebdfeef84d chore: more linting 5 months ago
views.js 99c871824a fix: consistently colour channel topic as white 2 months 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://a1efbe73cb1499e6932b603e0a59341b4399f5c789bd6c5d7746888204265cc2

Installation

$ npm install --global cabal
$ cabal --key cabal://a1efbe73cb1499e6932b603e0a59341b4399f5c789bd6c5d7746888204265cc2

Usage

Start a new instance:

cabal --new

Connect to an existing instance:

cabal --key <key>

e.g.

cabal --key cabal://a1efbe73cb1499e6932b603e0a59341b4399f5c789bd6c5d7746888204265cc2

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