-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Gateway: dynamic image for social sharing #8811
Comments
Note to self: this is blocked until we add support for @jessicaschilling @olizilla @lanzafame it seems github ones are one of the best right now, but lmk if you have other good prior art or ideas around this. I'd like us to nail the design/ux part of this. |
Going to name-check @ericronne here, since his group would be the ones to discuss visual implementation details with. Love the idea of the QR code for 100% of users, but want to raise a small flag about how best to represent the nerdier/meatier details you list above in a way that won't alienate a super-casual user who sees the social card inline in, say, a Twitter stream. Consider the following GitHub analogy:
I believe we've got a similar issue for people sharing gateway links: sometimes the intended audience doesn't need to care at all about the fact that the content is on IPFS, they just care about the content. |
Fully agree on making it approachable. To clarify: we are only able to do this on links to directories, not individual files. Image (QR code?), content path and size should be the most prominent, other details I mentioned are nice-to-have (could be skipped, or presented as a background detail). |
Understood about links being to directories only, but I think this still applies: It could be a directory of cat gifs. |
Ack. Perhaps we could render names of a few items from the shared directory followed by elipsis, to indicate contents without the need for opening? |
Thanks for the ping. I fear that i require more context. Is this an og image that will be dynamically generated when a user shares the hashlink for a site hosted on ipfs (for those who haven't explicitly defined one in their site code)? What's the use case for the qr code? |
|
go-ipfs 0.13 shipped with Next steps here could be tackled in parallel, could be by different contributors:
|
We've added a basic social sharing markup in ipfs/dir-index-html#36 (comment) :
@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:
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).The text was updated successfully, but these errors were encountered: