Skip to content

datahop/ipfs-lite

Repository files navigation

IPFS-Lite

Go Reference Go Report Card Actions Status codecov

IPFS-Lite is an embeddable, lightweight IPFS peer. This fork started from ipfs-lite.

It offers all the features of main ipfs-lite. For certain requirements of datahop it adds some more features of full ipfs, such as config, repo, leveldb etc.

Build

// build cli for all platforms
$ make build-cli

// build cli for current platform
$ make binary

// docker 
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t datahop/datahop:latest

Objectives

  • create cache repo as ipfs
  • have persistent config information (Id, keys, ports, bootstraps etc)
  • use leveldb as datastore to set up peer
  • generate gomobile binding for android
  • adding content
  • replicating content
  • remove content
  • remove respective replication info for removed content
  • bootstrap mobile client
  • cli for bootstrap peer

Documentation

Go pkg docs

License

Copyright 2021 Datahop

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an " AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Acknowledgment

This software is part of the NGI Pointer project "Incentivised Content Dissemination at the Network Edge" that has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 871528

ngi logo eu logo