IPFSDroid icon indicating copy to clipboard operation
IPFSDroid copied to clipboard

IPFS node vs gateway functionality

Open cameronvoell opened this issue 7 years ago • 1 comments

It seems we have the ability to utilize the local IPFS node for adding content to IPFS, and doing an "IPFS cat" to read out a file from IPFS. However, in order to access an image file from IPFS, this app and its browser UI utilizes the ipfs.io IPFS gateway in order to get content.

Is it possible to execute an IPFS get command the same way an IPFS cat command is now possible? (perhaps it returns byte data or a File object?).

It would be nice to be able to fetch files without depending on a remote IPFS gateway.

Let me know if this questions should be in the IPFS Kotlin api repo.

cameronvoell avatar Jan 29 '18 19:01 cameronvoell

hmm maybe that is what this PR essentially accomplishes...

https://github.com/ligi/ipfs-api-kotlin/pull/4

cameronvoell avatar Jan 29 '18 19:01 cameronvoell