dynamic-image
dynamic-image copied to clipboard
Dynamically generate images for open-graph or website
Create a dynamic image
Usage
- Dynamic, open graph image
- Dynamic image for website
- Embed dynamic good looking HTML
How it works?
- Render an HTML template from request options
- Open this in Puppeteer
- Take
Screenshot
to make aPNG
or Listen to console log forSVG
to have appeared - Cache that response to scale in billion
Deploy
Before deploy let's clear one thing, Should you need to deploy? If you have a big website dependent on this repository for open-graph images, then yes, go for it. Else you can use the URL which is given with this repository. This host directly builds the app whenever some changes appear in the repository, so you will get the latest features.
Thanks to
- Vercel for Host
- Canva for theme prototyping
- Skypack for CDN
- dom-to-svg for svg in dom
Contribution
Contributions for a theme is welcome. Please see this example.html for more detail. It is instructed to create an issue before committing some function changes.