/og-image

Open Graph Image as a Service for BugBlogs

Primary LanguageTypeScriptMIT LicenseMIT

BugBlogs OG Image Generator âš¡

Serverless service that generates dynamic Open Graph images for BugBlogs.

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.

Sample Image

How to setup? 🚀

### Start local development server
vercel dev

### Build for production
tsc -p api/tsconfig.json && tsc -p web/tsconfig.json

### Deploy to Vercel
vercel deploy

🙌 Acknowledgement

Credit where credit is due. This started as a forked repo from Vercel's OG image generator. It is modified to suit the needs of BugBlogs.


Sample Image