-
Notifications
You must be signed in to change notification settings - Fork 112
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
More useful html with dag-cbor #307
Comments
This comment was marked as resolved.
This comment was marked as resolved.
Thanks for filling this, discussed internally, team has hands full, |
// copy pasting @magik6k 's comment here: simply dumping ipld-prime datamodel tree - https://github.com/lotus-web3/dagparts/blob/main/cmd/dataexpl/hnd_view_ipld.go#L77-L235 might work. @lidel @hacdias i tried looking into this but got a bit stuck. Will it be as simple as adding Magik's code here -- https://github.com/ipfs/boxo/blob/main/gateway/handler_codec.go ? (sorry i am not a frontend dev, and am struggling a bit with the go <> html interface here and could use help) |
@anjor thanks for trying! I think @hacdias can take this over for now:
|
I have been working with @linuskendall on onboarding solana blockchain data to filecoin. The data is encoded with dag-cbor.
We are thinking of supporting retrievals (backed by Saturn) in an IPFS gateway. The intended UX was similar to what a user gets with a unixfs dag in ipfs gateway — they see directories that they can click into till they get to a file, at which point they can decide to download it.
Unfortunately this doesn’t work with dag-cbor — relevant slack thread . With Kubo 0.18, it recognises the block as dag-cbor and gives the user a helpful message, however, the user still has to download the block and then decode it themselves.
A user should be able to start at the epoch level, and go down the dag to the point where they want to start downloading, and then download everything under — similar to unixfs.
The text was updated successfully, but these errors were encountered: