IPFS CoreAPI Sample App
It's sample apps for IPFS CoreAPI. If you want to implement embedded IPFS apps, It can help.
It apps has just HTTP API interface. The API calls
echo "some string" | ipfs add using IPFS CoreAPI.
You can download on release page. Or, You can build it from source.
Notice: If you want to build from source, you need to install gx.
git clone email@example.com:camelmasa/ipfs-coreapi-sample-app.git cd ipfs-coreapi-sample-app gx i go build
Notice: If you didn't create IPFS's config to your home directory like
/Home/camelmasa/.ipfs, you need to create that first.
You can call API.
./ipfs-coreapi-sample-app curl -X POST http://localhost:4002/api/articles -d "content=Hello Decentralized World" # => Added! You can check on gateway. https://ipfs.io/ipfs/QmRnKYfpw4VKyMmrWcGzZEd17oU6NgiLTvHQEyGxcjc4EZ
And then, you can access the gateway URL. Let's try to change the content param !