ipfs/kubo

Gateway: dynamic image for social sharing

Open

#8 811 ouverte le 23 juin 2021

Voir sur GitHub
 (8 commentaires) (1 réaction) (0 assignés)Go (2 725 forks)batch import
P2dif/mediumgood first issuehelp wantedkind/enhancementneed/community-inputtopic/design-visualtopic/gateway

Métriques du dépôt

Stars
 (13 906 stars)
Métriques de merge PR
 (Merge moyen 4j 2h) (28 PRs mergées en 30 j)

Description

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).

Guide contributeur