Ninjas Practicing Multidimensionality

    dht-bootstrap

    0.0.31 • Public • Published

    dht-bootstrap

    Host you own private hyperswarm DHT boostrap nodes as a nodejs daemon

    This for the new api @hyperswarm/dht@next

    Installation

    npm install -g dht-bootstrap

    Usage

    $ dht-bootstrap --help
    
    Usage: dht-bootstrap [options]
    
    Host you own private hyperswarm DHT boostrap nodes as a nodejs daemon
    
    Options:
      -V, --version          output the version number
      -p, --ports [port...]  atleast 2 ports to listen on (default: [])
      -s, --status           displays status
      -h, --host <host>      IP(local|external) or (sub)domain of your device, to use in other devices(NOT "0.0.0.0" OR "127.0.0.1") (default: "0.0.0.0")
      -k, --kill             kills currently active bootstrap node
      --help                 display help for command
    
      Examples:
        $ dht-bootstrap  # for default(random) or ports in status.json
        $ dht-bootstrap --ports 49737 49738 --host example.com
        $ dht-bootstrap --ports 10001 10002 12234 --host 127.0.0.1
    
    

    For now, the daemon process only allows one instance.

    If you run another instance it will close the previous instance before starting the new instance.

    To change ports:

    just re-run it with the new ports

    dht-bootstrap --ports .... ....

    Install

    npm i dht-bootstrap

    DownloadsWeekly Downloads

    6

    Version

    0.0.31

    License

    ISC

    Unpacked Size

    7.31 kB

    Total Files

    5

    Last publish

    Collaborators

    • anyass