1.1.0 • Published 5 months ago

hypercore-rehost-cli v1.1.0

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
5 months ago

Hypercore Rehost CLI

A command-line interface to facilitate rehosting hypercores.

Install

npm install -g hypercore-rehost-cli

Prerequisites

Make sure a rehost server is running, and note the port.

Assumes hypercore-rehost-server ^1.0.0

rehost-server --PORT 40000

(if hypercore-rehost-server is not yet installed, run npm i -g hypercore-rehost-server)

Usage

Assume the rehoster is running on port 40000.

Note: the -p argument is not required if the rehoster is running on port 50000.

rehoster add -p 40000 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Add a public key

Accepts a -i option to briefly specify what the key refers to.

rehoster list -p 40000

List all public keys in the db

rehoster delete -p 40000 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Remove a public key

rehoster info -p 40000

Print info about the keys hosted by the rehoster

1.1.0

5 months ago

1.0.0

8 months ago

0.4.1

12 months ago

0.4.0

12 months ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago