ipfs/kubo

Gateway: dynamic image for social sharing

Open

#8.811 geöffnet am 23. Juni 2021

Auf GitHub ansehen
 (8 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Go (2.725 Forks)batch import
P2dif/mediumgood first issuehelp wantedkind/enhancementneed/community-inputtopic/design-visualtopic/gateway

Repository-Metriken

Stars
 (13.906 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 4T 2h) (28 gemergte PRs in 30 T)

Beschreibung

We've added a basic social sharing markup in https://github.com/ipfs/dir-index-html/pull/36#issuecomment-647819924 :

@lanzafame pointed me at this nice prior art from Github shows how UX can be improved by showing useful data via image:

In IPFS context, a cool improvement would be to provide image-per-CID with:

Hot take:

  • If we implement image generation as an alternative response format named share-img (as in, gateway response changing based on parameter ?format=json|cbor|car|block|share-img) then we don't need to inline the data and don't need to deal with relative vs absolute vs cross-origin links (making this work on all gateway types without any additional configuration).

Contributor Guide