Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Generate HTML preview for DAG-CBOR #505

Open
lidel opened this issue Dec 5, 2024 · 0 comments
Open

Generate HTML preview for DAG-CBOR #505

lidel opened this issue Dec 5, 2024 · 0 comments
Labels
enhancement New feature or request P2 Medium: Good to have, but can wait until someone steps up

Comments

@lidel
Copy link
Member

lidel commented Dec 5, 2024

Filling this for completeness, and also as bare minimum to support https://dasl.ing/, but with lower priority than other things like #342

If request for DAG-CBOR CID is made with Accept header that includes text/html, we should generate HTML preview that

Prior art in boxo/gateway: https://ipfs.io/ipfs/bafyreicnokmhmrnlp2wjhyk2haep4tqxiptwfrp2rrs7rzq7uk766chqvq/

Note:

  • MVP does not have to be styled with CSS or have links to anything other than Raw Block
  • we do not have conformance for this, but we should add one, that confirms CBOR Tag 42 link is present and clickable
@lidel lidel added enhancement New feature or request P2 Medium: Good to have, but can wait until someone steps up labels Dec 5, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request P2 Medium: Good to have, but can wait until someone steps up
Projects
None yet
Development

No branches or pull requests

1 participant