Download, initialize, and run an IPFS node using only Java/Kotlin
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
jar
src
test
LICENCE
README.md
build.gradle
settings.gradle

README.md


🏁 Download, initialize, and run an IPFS node using only Java/Kotlin 🏁


Usage

  • Kotlin example

    IPFSDaemon().apply{
      download()
      start()
    }
    
  • Java example

    IPFSDaemon ipfsd = new IPFSDaemon();
    ipfsd.download();
    ipfsd.start();
    

Implement it

  • Gradle: add this to your build.gradle

    repositories {
        maven { url "https://mymavenrepo.com/repo/NIp3fBk55f5oF6VI1Wso/" }
    }
    
    dependencies {
        compile 'fr.rhaz.ipfs:ipfs-daemon:1.0.8'
    }
    
    jar {
        from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
    }
    
  • Maven: add this to your pom.xml

    <repositories>
      <repository>
          <id>rhazdev</id>
          <url>https://mymavenrepo.com/repo/NIp3fBk55f5oF6VI1Wso/</url>
      </repository>
    </repositories>
    
    <dependencies>
      <dependency>
          <groupId>fr.rhaz.ipfs</groupId>
          <artifactId>ipfs-daemon</artifactId>
          <version>1.0.8</version>
          <scope>compile</scope>
      </dependency>
    </dependencies>