-
Notifications
You must be signed in to change notification settings - Fork 9
dag visualized as a tree #5
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
Conversation
License: MIT Signed-off-by: Harlan T Wood <[email protected]>
License: MIT Signed-off-by: Harlan T Wood <[email protected]>
License: MIT Signed-off-by: Harlan T Wood <[email protected]>
@harlantwood i'm going to merge this one -- fixed a newline thing and improved the makefile. thanks again! |
to try it out, see: http://gateway.ipfs.io/ipfs/QmVppgFNC8TCJg3zJmSebFtZAJRSw1pS8seuYVstbzEW78/viz#QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsNTn2aDxdXBFca7D (but not yet-- @lgierth looks like we haven't deployed the readable-API changes? thought we had? cc @krl) |
@krl pinged me about that a couple of days ago and the gateways are running this commit since then: ipfs/infra@dd11325 |
Hrm except they don't... |
Nevermind, the gateways do run ipfs/kubo@fbac820 as expected |
@lgierth This is what i get:
|
The id should fail of course |
maybe an nginx route missing? |
I know, I get the same. This seems to work fine though: curl -v 'gateway.ipfs.io/api/v0/cat?arg=%2Fipfs%2FQmZTR5bcpQD7cFgTorqxZDYaew1Wqgfbd2ud9QqGPAkK2V&stream-channels=true' and also works if I directly request it in the browser: http://gateway.ipfs.io/api/v0/cat?arg=%2Fipfs%2FQmZTR5bcpQD7cFgTorqxZDYaew1Wqgfbd2ud9QqGPAkK2V&stream-channels=true Not sure what's happening, maybe a lack of CORS headers or something like that? |
Mh no, it must be nginx yielding a 403 for some reason. |
oh it might be CORS, not sure. see the updated docs on
|
as on irc: gateway api test page: http://gateway.ipfs.io/ipfs/QmZmgC5Cw1scmQwUZp9X7QZBPFyPrXt1Uz1hXYSTeV1tL1/ same page but local: http://localhost:5001/ipfs/QmZmgC5Cw1scmQwUZp9X7QZBPFyPrXt1Uz1hXYSTeV1tL1/ |
Awesome, looks like this is working on the gateway now : ) |
@harlantwood nice! btw, looks like the dag is unixfs aware? (i.e. distinguishes files and dirs). so i cant use it to visualize file chunking algorithms. it may be worth not distinguishing unixfs, and just showing the raw dag (i.e. files have links too) |
Not on purpose ; ) It's pulling all refs from the refs api call: https://github.com/ipfs/dataviz/pull/5/files#diff-aab1e940c09e6ef405d72f6e75b9a432R15 Is that call suppose to be unixfs aware? We are switching over to using the ipfs node api lib, and the |
e27f6a4 (Juan Batiz-Benet, 3 minutes ago)
ffdb0b2 (Juan Batiz-Benet, 14 hours ago)
a383961 (Juan Batiz-Benet, 14 hours ago)
e44b51a (Harlan T Wood, 2 months ago)
107ec66 (Harlan T Wood, 3 months ago)
6021cea (Harlan T Wood, 3 months ago)
1e5b0a2 (Harlan T Wood, 3 months ago)