p2p chatsoft in the terminal
JavaScript
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
cli.js
commands.js
index.js
neat-screen.js
output.js
package-lock.json
package.json
util.js
views.js

README.md

Cabal

p2p chat software

cabal is a place where mesh conspirators can talk about p2p topics in a p2p way

see cabal-node for the underlying database & api

chat with us:
npx cabal --key dat://59813e3169b4b2a6d3741b077f80cce014d84d67b4a8f9fa4c19605b5cff637f

Usage

Start a new instance:

node cli.js --db <file path> --nick <nickname>

Connect to an existing instance:

node cli.js --key <key> --nick <nickname>

e.g.

node cli.js --key dat://59813e3169b4b2a6d3741b077f80cce014d84d67b4a8f9fa4c19605b5cff637f --nick voynich

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:

node cli.js --key <key> --seeder

Commands

/channels 
   display channels you can join
/names
    display a list of the people currently online 
/join <channel> 
   join a channel
/nick <new nick>
   pick a new username
/clear
   clear the current backlog
/debug <key>
    debug the underlying hyperdb's keys
/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