Use IPFS as library

Hello all!

I’m developing an application that will use IPFS protocol as storage.

The idea is to do seamlessly instagration with IPFS without require users had a previous install IPFS daemon.

On this thread (https://github.com/ipfs/go-ipfs/issues/3060) people talk about the usage of coreapi, or the command package… What is the recommended way to accomplish that?

My app will use commands like AddDir, Pin, Unpin, Resolve and Publish.

Thank you!

3 Likes

Is an example like this what you’re looking for?

1 Like

Yes, I know this link but, how to execute commands once its up?

I’m not sure about the IPNS-related commands, but here’s an example of adding, pinning, and unpinning.

2 Likes