Skip to content

Generate images dynamically for the open graph protocol (og tags)

License

Notifications You must be signed in to change notification settings

coinsambacom/og-image-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

og-image-generator

example

ts Open Source Love MIT Licence

Generate images dynamically for the open graph protocol (og tags)

Idea

The idea for this project came from a similar project created by the Vercel team.

The main difference between this project and theirs is that I needed something simpler than the one they developed, and also less expensive since they use a headless browser to take a print of the image while we simply created the image using the canvas library.

How to use

Simple do yarn and yarn run start:dev

To generate an image dynamically open your browser and visit the link localhost:3131/og.jpg?text=hello%20from%20github

About

Generate images dynamically for the open graph protocol (og tags)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published