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.
- Java 8
- Maven
mvn compile
mvn exec:java -Dexec.mainClass="com.ipfssearch.ipfstika.App"
mvn package
Setting can be done through environment variables:
IPFS_TIKA_LISTEN_HOST
: Host to listen on for connections (default localhost).IPFS_TIKA_LISTEN_PORT
: Port to listen on for connections (default 8081).IPFS_GATEWAY
: URL of IPFS gateway (default: "http://localhost:8080/").
This starts an IPFS daemon at the default ports and exposes ipfs-tika on 8081.
Request the IPFS path and metadata will be extracted and returned. Example:
curl http://localhost:8081/ipfs/QmS4ustL54uo8FzR9455qaxZwuMiUhyvMcX9Ba8nUH4uVv/readme