ipfs-search / ipfs-tika

Java web application taking IPFS hashes, extracting (textual) content and metadata through Apache's Tika.
GNU Affero General Public License v3.0
31 stars 5 forks source link
ipfs java metadata tika

ipfs-tika

Archived

This repository is unmaintained and archived. Superseded by https://github.com/ipfs-search/ipfs-tika

Java web application taking IPFS hashes, extracting (textual) content and metadata through Apache's Tika.

Requirements

Compiling

mvn compile

Running

mvn exec:java -Dexec.mainClass="com.ipfssearch.ipfstika.App"

Packaging

mvn package

Settings

Setting can be done through environment variables:

Docker

This starts an IPFS daemon at the default ports and exposes ipfs-tika on 8081.

Usage

Request the IPFS path and metadata will be extracted and returned. Example:

curl http://localhost:8081/ipfs/QmS4ustL54uo8FzR9455qaxZwuMiUhyvMcX9Ba8nUH4uVv/readme