• Stars
    star
    172
  • Rank 221,201 (Top 5 %)
  • Language
    TypeScript
  • Created about 1 year ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Display headlines directly inside your news article's OG images.

Introduction

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

How it works

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:

  • New York Times
  • Wired
  • Techcrunch

Examples

New York Times

image

Try it for yourself: https://og.cool/nytimes.com/2023/08/23/climate/ocean-warming-fish.html (OG image preview)

Wired

image

Try it for yourself: https://og.cool/wired.com/story/adhd-adderall-video-games-endeavorrx/ (OG image preview)

More Repositories

1

novel

Notion-style WYSIWYG editor with AI-powered autocompletion.
TypeScript
12,202
star
2

dub

An open-source link shortener with built-in analytics + free custom domains.
TypeScript
9,518
star
3

precedent

An opinionated collection of components, hooks, and utilities for your Next.js project.
TypeScript
4,721
star
4

chathn

Chat with Hacker News using natural language. Built with OpenAI Functions and Vercel AI SDK.
TypeScript
1,143
star
5

extrapolate

Age transformation AI app powered by Next.js, Vercel, Replicate, Upstash, and Cloudflare R2 + Workers.
TypeScript
604
star
6

weathergpt

ChatGPT Plugin starter template built with Next.js 13 App Router, Edge Functions, and Vercel
TypeScript
331
star
7

spirals

Generate beautiful AI spiral art with one click. Powered by Vercel and Replicate.
TypeScript
292
star
8

shooketh

An AI bot built with the Vercel AI SDK, OpenAI gpt-3.5-turbo, and fine-tuned on Shakespeare's literary works.
TypeScript
123
star
9

novella

Example application using the Novel Editor.
TypeScript
92
star
10

prisma-server-actions

Demo app showing how you can use Prisma in Next.js Server Actions
TypeScript
30
star
11

moviebot

Code repository for Moviebot โ€“ย an NLP-powered movie recommendation chatbot, written in Python, HTML/CSS and JavaScript & hosted on Vercel + AWS Lambda.
Python
21
star
12

steventey.com

TypeScript
16
star
13

portfolio

Github repo for my personal portfolio website, built with NextJS & Tailwind and proudly deployed on Vercel.
JavaScript
14
star
14

platformize

Official repo for the Platforms on Vercel project. Clone this repo to build your own Substack/Webflow clone with built-in multi-tenancy and custom domains. PRs welcome!
TypeScript
13
star
15

steven-tey.github.io

New personal portfolio website: https://steventey.com/
HTML
5
star
16

gitbook-edge-demo

TypeScript
4
star
17

docs

MDX
3
star
18

nextjs-boilerplate-69

JavaScript
2
star
19

sleek

Source code for Sleek, a web-app that automatically builds product pages, tracks inventory, and sends out newsletters every day.
Python
2
star
20

dub-test

TypeScript
2
star
21

owd-li

Link shortener for One Word Domains (https://www.oneword.domains), built in Flask and hosted on Vercel.
Python
2
star
22

router-bug-repro

JavaScript
1
star
23

edgedb

TypeScript
1
star
24

reviewing-a-pull-request

HTML
1
star
25

qstash-repro

TypeScript
1
star
26

middleware-latency

JavaScript
1
star
27

olaf

Portfolio website for MLH Open-source Olaf Pod! โ˜ƒ๏ธ
JavaScript
1
star
28

missing-auth-header

TypeScript
1
star