hsanjuan / gx2cluster

Pin your Gx dependencies in ipfs-cluster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gx2cluster

standard-readme compliant

Pin your project's Gx dependency tree in IPFS Cluster.

Run your gx2cluster command in your Gx'ed project and all your dependencies will be submitted to ipfs-cluster for pinning, correctly named.

Table of Contents

Install

Safest way is to build manually rewriting gx'ed deps:

go get -u -d https://github.com/hsanjuan/gx2cluster
cd $GOPATH/src/github.com/hsanjuan/gx2cluster
gx install --global
gx-go rw
go install

Usage

Submit to the local, default ipfs-cluster API endpoint (/ip4/localhost/tcp/9094)

$ gx2cluster

Submit to your remote ipfs-cluster peer:

$ gx2cluster --peer <multiaddress>

Other options (-h):

Usage of gx2cluster:
  -peer string
        multiaddress of the IPFS Cluster API (default "/ip4/127.0.0.1/tcp/9094")
  -pnet string
        pnet key
  -pw string
        basic auth pw
  -ssl
        enable ssl
  -user string
        basic auth username

Contribute

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © Hector Sanjuan

About

Pin your Gx dependencies in ipfs-cluster

License:MIT License


Languages

Language:Go 100.0%