PrimalHQ / primal-web-app

Primal's web app for Nostr, as experienced on primal.net.
https://primal.net
MIT License
200 stars 39 forks source link

Use Open Graph tags to render previews of links #22

Open erskingardner opened 1 year ago

erskingardner commented 1 year ago

Summary

Many sites (google, twitter, linkedin, facebook, etc.) use open graph to render previews of links. It would be great if primal did this too.

Basic example

Here's an example of a note I just created that links to Ostrich.work (which has open graph tags) in both primal and snort.

In Snort

Snort

In Primal

Primal

Motivation

Previews like this make notes more visually appealing and give users a better idea of what they will see if/when they follow the link.