-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Tutorial: Using go-ipfs as a Library #6695
Conversation
docs/examples/ipfs-101/README.md
Outdated
# IPFS 101, spawn a node and add a file to the IPFS network | ||
|
||
> This example is the sister example of IPFS 101 for [js-ipfs](https://github.com/ipfs/js-ipfs/tree/master/examples/ipfs-101). | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll update this README once I have main.go
working. Currently this is just c&p from https://github.com/ipfs/js-ipfs/tree/master/examples/ipfs-101
Currently, this example finishes silently. > go run main.go 2>&1
Start% It was supposed to start an IPFS node, fetch a CID and write it to a folder. If anyone has any tip on what I'm missing, it would be much appreciated! |
Another repo to take inspiration from https://github.com/hsanjuan/ipfs-lite |
Thank you @aschmahmann on helping set the plugins to set up. c&p your comment from the DM so that it is visible here:
It seems it is missing the right pathing to work. |
Co-Authored-By: Jessica Schilling <[email protected]>
Co-Authored-By: Jessica Schilling <[email protected]>
Co-Authored-By: Jessica Schilling <[email protected]>
Co-Authored-By: Jessica Schilling <[email protected]>
Co-Authored-By: Jessica Schilling <[email protected]>
Co-Authored-By: Jessica Schilling <[email protected]>
Co-Authored-By: Jessica Schilling <[email protected]>
Co-Authored-By: Jessica Schilling <[email protected]>
Co-Authored-By: Jessica Schilling <[email protected]>
Co-Authored-By: Jessica Schilling <[email protected]>
Co-Authored-By: Jessica Schilling <[email protected]>
Co-Authored-By: Jessica Schilling <[email protected]>
Co-Authored-By: Jessica Schilling <[email protected]>
Thank you so much for the thorough review @jessicaschilling! :D @Stebalien wanna give it a review? Then I can adjust the links to the lines of code and it is ready to go :) |
@Stebalien did you had the chance to review this PR or would you like to grant me the permission to merge it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! LGTM modulo some nits (and we should switch out the bootstrappers as @olizilla says).
CI fails on sharness, interop and go-ipfs-api. Pretty sure it is not related to this PR. |
I take from @Stebalien approval that it is good to be merged. Clicking the squash and merge for a clean single commit :) CI failed only on parts unrelated to this PR. Opened a issue for a fix on the interop tests ipfs/interop#92 |
Wowowowow! Thank you so much for everyone that contributed to the creation of this Tutorial!! It was a long process but I'm confident that it will yield many new tinkerers with go-ipfs! :D |
This is very much a WIP/Draft PR. I'm opening it so that I can ask some tips and feedback.
My goal is to get a clean example that mirrors https://github.com/ipfs/js-ipfs/tree/master/examples/ipfs-101 and through it, learn how to use go-ipfs programmatically so that I can continue making progress on writing the Test Plan 1 for TestGround