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.
This site uses it too: pages and posts that don’t set their own image get a DOGimg URL as their social card, filled 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.