/event-og

Primary LanguageTypeScriptMIT LicenseMIT

Deploy with Vercel

Serverless service that generates dynamic Open Graph images that you can embed in your <meta> tags.

For each keystroke, headless chromium is used to render an HTML page and take a screenshot of the result which gets cached.

See the image embedded in the tweet for a real use case.

Why it's not working?

Make sure you have node v14.x is on your system for dev & node v14.x is setup on vercel under settings/general. Do not waste 2 hours like me when all I had to do was change the version.