Node.js application to capture and generate an open graph image.
- Image for https://www.thewdhanat.com/
- Image for https://www.thewdhanat.com/blog/
- Image for https://www.thewdhanat.com/blog/how-to-use-local-fonts-in-google-docs-sheets-slides/#supported-fonts
Pull new image
docker pull ghcr.io/thewapp/og-image:main
Start
docker run -d -p 8080:8080 --restart always --name og-image ghcr.io/thewapp/og-image:main
Stop
docker stop og-image && docker rm og-image
/<hostname>.png?path=/<path>
/<hostname>/<any>.png?path=/<path>
<path>
must have leading /
and encoded with encodeURIComponent
. Hence path
can contain query (?) and url fragment (#).