-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Browser + Node.js + Go Interop Examples/Tutorials #711
Comments
Gonna drop some design notes for these. Example 1 - Cat a fileDemonstrates:
Required components:
Steps:
Notes:
|
Example 2 - File ManagerThis one is more advanced example and as per the current design, will also use orbit-db. We may or may not end up using it. Demonstrates:
Required components:
Steps:
Notes:
|
Example2 might be too advanced for our purposes for this sprint. It'd be really cool though... |
Should be possible to iterate through all the files and directories, so this one shouldn't be impossible to do.
Not sure we need to make it as complicated as keeping the states in sync in multiple browser peers, think a flow like this would be simple enough:
Otherwise than that, looks good to me 👍 |
|
'Adding' is possible in js-ipfs (not js-ipfs-api), you just won't be able to drag and drop a dir as the browser doesn't support it, but you can drag and drop a dozen of files (at the same time) and then wrap those in a directory. Try out https://dropub.com to get a feel of that UX |
It should look minimally good (difference between no styles and at least some visual hints that explain what's happening)
I don't think that for our audience, this will make things simpler, web developers are used to have modularity now. One single .html file is harder to maintain, becomes more brittle.
No webpack or browserify?? |
All comments aside, excited to have these demos, the Live File Browser with Orbit sounds super fun! :D |
It would be great if these demos could also be made part of the interop test suite, at least in a reduced fashion. That way we always know that things are working or not. |
Something changed here from the expectations defined in ipfs/team-mgmt#310 The interop demos cannot be js-ipfs to js-ipfs, that defeats the purpose, see the User Story in ipfs/team-mgmt#310, it is js-ipfs in the Browser accessing go-ipfs added content. See my review at: #714 (review) Let me know if you have questions. |
Nothing has changed, we're still going for what was discussed. A lot was lost in translation, see my comment here #714 (comment). I made the wording more explicit in the designs above to reflect that it is intended that the files are added from go-ipfs. |
Closing this issue, let's follow on each example on their specific PR |
As part of sprint ipfs/team-mgmt#310, we will create examples for go-ipfs and js-ipfs interop.
The goal is to demonstrate the interop functionality by showing files and data moving between the two implementations.
This issue is to track the development and progress of the interop examples.
The text was updated successfully, but these errors were encountered: