Closed ghobs91 closed 1 year ago
Dufflepud has more stuff which is specific to Coracle, I made a somewhat similar endpoint on the Snort API:
https://api.snort.social/api/v1/preview?url=https%3A%2F%2Fgithub.com%2Fv0l%2Fsnort
https://api.snort.social/swagger/index.html
{
"og_tags": [
[
"og:image",
"https://opengraph.githubassets.com/7d1ad9d0b706aab37b17beead1261eac67e3729adcf5cc8a3e6da4fc8a9f2fb3/v0l/snort"
],
[
"og:image:alt",
"Nostr UI. Contribute to v0l/snort development by creating an account on GitHub."
],
[
"og:image:width",
"1200"
],
[
"og:image:height",
"600"
],
[
"og:site_name",
"GitHub"
],
[
"og:type",
"object"
],
[
"og:title",
"GitHub - v0l/snort: Nostr UI"
],
[
"og:url",
"https://github.com/v0l/snort"
],
[
"og:description",
"Nostr UI. Contribute to v0l/snort development by creating an account on GitHub."
]
],
"title": "GitHub - v0l/snort: Nostr UI",
"description": "Nostr UI. Contribute to v0l/snort development by creating an account on GitHub.",
"image": "https://opengraph.githubassets.com/7d1ad9d0b706aab37b17beead1261eac67e3729adcf5cc8a3e6da4fc8a9f2fb3/v0l/snort"
}
@ghobs91 Can you use the new API i built?
Thanks
This adds link previews to notes containing a url, and uses Dufflepud to do so.