A Next.js app that displays headlines directly inside a dynamically generated image. Powered by @vercel/og.
OG.cool is a demo that shows you how you can display headlines directly inside your news article's OG image. Powered by @vercel/og
.
Read the guide to learn more about how you can implement your own version: https://vercel.com/guides/displaying-article-headlines-in-social-previews
To try out OG.cool, all you need to do is replace the https://
(or https://www.
) portion of the news article's URL with https://og.cool/
.
Example:
The OG.cool URL will still redirect to the destination URL when a user clicks on it, but for bots like TwitterBot
or SlackBot
, they'll be shown an OG image with a nice headline in it (refer Examples section).
OG.cool currently supports the following publications:
Try it for yourself: https://og.cool/nytimes.com/2023/08/23/climate/ocean-warming-fish.html (OG image preview)
Try it for yourself: https://og.cool/wired.com/story/adhd-adderall-video-games-endeavorrx/ (OG image preview)
A Next.js app that displays headlines directly inside a dynamically generated image. Powered by @vercel/og.
OG.cool is a demo that shows you how you can display headlines directly inside your news article's OG image. Powered by @vercel/og
.
Read the guide to learn more about how you can implement your own version: https://vercel.com/guides/displaying-article-headlines-in-social-previews
To try out OG.cool, all you need to do is replace the https://
(or https://www.
) portion of the news article's URL with https://og.cool/
.
Example:
The OG.cool URL will still redirect to the destination URL when a user clicks on it, but for bots like TwitterBot
or SlackBot
, they'll be shown an OG image with a nice headline in it (refer Examples section).
OG.cool currently supports the following publications:
Try it for yourself: https://og.cool/nytimes.com/2023/08/23/climate/ocean-warming-fish.html (OG image preview)
Try it for yourself: https://og.cool/wired.com/story/adhd-adderall-video-games-endeavorrx/ (OG image preview)