Skip to content
/ get-og Public

🍇Open Graph Image Generator based on @vercel/og for personal use.

License

Notifications You must be signed in to change notification settings

lrmn7/get-og

Repository files navigation

Connect with me:

romanromannya romanroman.nya lrmn_vp lrmn#6666

hey there👋

💔 love has a cost, and both of us lost

What i'am listening to

Support me

GET OG

🍇Open Graph Image Generator based on @vercel/og for personal use.

What is an GET OG?

Have you ever posted a hyperlink to Twitter, Facebook, or Slack and seen an image popup? How did your social network know how to "unfurl" the URL and get an image? The answer is in your <head>.

The Open Graph protocol says you can put a <meta> tag in the <head> of a webpage to define this image.

It looks like the following:

<head>
  <title>Title</title>
  <meta property="og:image" content="http://example.com/logo.jpg" />
</head>

Why use this service?

  • Feel free to customize an image for every single blog post or every single documentation page.
  • This is easily introduced through a link with some params.

Deploy Guide

  1. Fork this repository
  2. Replace the bg image and logo to yours in pulic dir, and change the relevant text infomation.
  3. Connect Vercel for GitHub to automatically deploy each time you git push
  4. Add the following to the vercel environment variables: Settings > Environment Variables
Name Value
NEXT_PUBLIC_DEPLOYMENT_URL https://deployment.domain.com

License

MIT License © 2023 L RMN

About

🍇Open Graph Image Generator based on @vercel/og for personal use.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published