Socket
Socket
Sign inDemoInstall

cobox-cli

Package Overview
Dependencies
520
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cobox-cli

a command line client for cobox


Version published
Maintainers
1
Created

Readme

Source

cobox-cli

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'.

Install

npm i -g cobox-cli

cobox start

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

http://localhost:3000

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

FAQs

Last updated on 06 Jan 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc