Just want the lib functions and patterns? See @social-embed/lib.
<o-embed> is distributed on npm, so you can install it locally or use it via npm CDNs like unpkg.com.
For this element to work from unpkg.com specifically, you need to include the
?module query parameter, which tells unpkg.com to rewrite "bare" module specificers to full URLs.
Try on codepen, check "Playground" in the top menu for more!