ideally it would just be some js tho so I don’t have to run any code on my server
Discussion
ex:
https://nostr.com/note1ntp2yfeph988f2m7npcatvjyl0r2nz9mk7m4nq4an332qwnpek2qnnmxxj
just insert the note id at the end then
Well, it is fully server-side.
The goal is to make a thing that tries its best to display those OpenGraph web previews in the best way possible but isn't tied to any specific client and instead links to them all in the resulting page.
I’m working on exactly that, download OpenGraph data from a URL to generate link previews for my JSON clients. It’s about 90% done, it can download a HTML page and traverse the HTML to get the OG tags https://github.com/pedro-vicente/url_parse_open_graph