No Description
Kieran Gibb 6033392b78
2 years ago
bin whoop missed a comma... 2 years ago
test fix test 2 years ago
.gitignore add rad gitignore 3 years ago
LICENSE add AGPL license 3 years ago update README 2 years ago
cli.js move cli across from server 2 years ago
package.json 0.1.3 2 years ago
request.js add api namespace 2 years ago
util.js add readableBytes to util.js 2 years ago
yarn.lock add deps 3 years ago


A command line interface for cobox. Start the app, then create groups, mount their file systems, swarm on the peer-to-peer network to replicate the latest changes, and setup your own backup ‘blind replicators’.


npm i -g cobox-cli

cobox start

This will launch a process which you can see by navigating in a browser to


If you already have something running on port 3000 then you can run

cobox start --port 1234

You can also specify a custom mount directory for your groups’ file systems.

cobox start --mount ./mnt

Great, now you have a server running. In another terminal you can run (you can use any name you like)

node cli groups create --name my-new-group

If you have been given an address and an encryption key for a group you want to join, you can create the group by adding the flags --address / -A, or --encryption-key or -k

node cli groups create -n my-new-group -A b74717c149390c3e8e939f6e94169751d9ade8e2e21e0255ee593fdccb504603 -k 0e90565c93f742019f0956ce7da1c952df343dde4a2c48254fbbb9cbcd7d22be
node cli groups create --name my-new-group

If you have been given an address to become a replicator for a friend or organisation, say… the-chicken-coop, you can set this up with the following command

node cli replicators join -n the-chicken-coop -A b74717c149390c3e8e939f6e94169751d9ade8e2e21e0255ee593fdccb504603

You can see the list of other commands implemented here

cobox help
cobox groups help
cobox replicators help