Skip to content
This repository has been archived by the owner on Dec 31, 2021. It is now read-only.
/ ipfs-tika Public archive

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

License

Notifications You must be signed in to change notification settings

ipfs-search/ipfs-tika

Repository files navigation

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

  • Java 8
  • Maven

Compiling

mvn compile

Running

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

Packaging

mvn package

Settings

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/").

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published