DEV Community


Is there a library for better <a href="">'s, like social sharing cards?</a>

patarapolw profile image Pacharapol Withayasakpunt ・1 min read

It seems to need a backend to fetch metadata so as to bypass CORS...

I can try to create my own (in, but it wouldn't support multiple media types by default.

Also, this should be done in to enhance <a href>s (currently, only handful stuffs are supported, like GitHub and posts).

Interestingly, seems to generate og:image when I post in Discord.

Discussion (1)

patarapolw profile image
Pacharapol Withayasakpunt Author • Edited

My solution --

GitHub logo patarapolw / page-metadata

Get page metadata and create a pictured link

Spoiler: it need a backend, at least

Forem Open with the Forem app