DOGimg turns any URL into a share-ready Open Graph image with a single API call. Point it at a page and it returns a 1200×630 PNG built from that page’s own metadata — no manual design step.
How it works
Fetch the target page’s HTML
Parse its metadata — og:*, twitter:*, <title>, theme-color, and the favicon
Render a 1200×630 card with @vercel/og
That’s the whole contract: GET /api/og?url=<target> returns an image/png. Drop the URL straight into an og:image tag and your link previews are done.
It isn’t just a demo, either — every social card on this site is a live DOGimg call, wired in at build time by a small Jekyll plugin. I tried three approaches before settling on this URL-driven one, and wrote up why it won: Three ways to generate Open Graph images.