Replying to Avatar jack (n/acc)

nostr:npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s have you considered using njump by nostr:npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6 for damus.io note redirects instead of leading to snort? Would be much better for link previews

https://github.com/fiatjaf/njump

yes i should…

Reply to this note

Please Login to reply.

Discussion

ideally it would just be some js tho so I don’t have to run any code on my server

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