Skip to content

hunterInt/connector-ipfs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

connector-ipfs (uplink v1.0.5)

Codacy Badge Go Report Card Cloud Build

Overview

The IPFS Connector connects to an IPFS server, takes a backup of the specified files and uploads the backup data on Storj network.

Usage:
  connector-ipfs [command] <flags>

Available Commands:
  help        Help about any command
  store       Command to upload data to a Storj V3 network.
  version     Prints the version of the tool

store - Connect to the specified IPFS (default: ipfs_property.json). Back-up of the IPFS is generated using tooling provided by IPFS and then uploaded to the Storj network. Connect to a Storj v3 network using the access specified in the Storj configuration file (default: storj_config.json).

Sample configuration files are provided in the ./config folder.

Requirements and Install

To build from scratch, install the latest Go.

Note: Ensure go modules are enabled (GO111MODULE=on)

Option #1: clone this repo (most common)

To clone the repo

git clone https://github.com/storj-thirdparty/connector-ipfs.git

Then, build the project using the following:

cd connector-ipfs
go build

Option #2: go get into your gopath

To download the project inside your GOPATH use the following command:

go get github.com/storj-thirdparty/connector-ipfs

Connect to IPFS Server

Make sure you are connected to IPFS server. If not, run the ipfs daemon in another terminal to join your node to the public network:

$ ipfs daemon

Run (short version)

Once you have built the project run the following commands as per your requirement:

Get help
$ ./connector-ipfs --help
Check version
$ ./connector-ipfs --version
Create backup from ipfs and upload to Storj
$ ./connector-ipfs store

Documentation

About

IPFS connector to the Storj protocol; use this to backup your data to a Storj network.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 97.3%
  • Shell 2.0%
  • Dockerfile 0.7%