New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ipfs api calls #12
Comments
👍 |
I think I should deprecate server.js instead and use ipfs web apis in PHP. It would be simpler for other people to install ipfs.pics on their own servers without any node.js. @whyrusleeping Do you know if there are php api bindings or should I write my own? |
The answer seems to be no. |
@MichaelMure Thanks! I'm going to write my own. I'll keep it in a separate module to help people who want to reuse it. |
@whyrusleeping I am having trouble implementing ipfs add. I tried:
I always get this error:
|
@whyrusleeping Nevermind, I was doing it wrong. |
Thanks for the suggestion, ipfs.pics is now much faster and the code is more readable! 👍 I only implemented the subset of ipfs commands we needed, if someone needs a particuliar command, it would be my pleasure to add it. Just ping me. |
@arvidj : With this the upload folder is not needed anymore. I've removed this step in the wiki. |
@cloutier : I am getting the same error |
If I remember right (it's been a while), I had the same error until I added the |
Hey guys!
I was reading through a bit of code, and I think you guys would be better off using the javascript ipfs api bindings instead of calling a fairly costly exec. Could probably speed things up a bit for you (as well as be safer than calling exec).
If you need any help integrating that feel free to ping us in irc or here!
The text was updated successfully, but these errors were encountered: