Support preview snapshots of code for Open Graph links #32
Labels
needs-arch-design
needs-ui-design
snooze-3
Issue is likely to be worked on, might become "on-deck" in the next couple of months
When linking to a definition, instead of the default Open Graph image, we should show a preview of the source. If its a project (when those exist) it should have num stars and num downloads etc.
The challenge would be to create this image serverside—currently our routes serve up the same page and no server is involved.
It's possible to generate SVGs with React (and Elm) and use a node process to convert that to a PNG.
For share, these would be done on-demand, with some aggressive caching.
We should also update the description and title fields, this is probably a lower lift effort than the image portion.
The text was updated successfully, but these errors were encountered: