Simple Open graph card image server
IMG_CACHE_PATH
: If you want to cache image on specific directory
go get
go run .
Visit /swagger/index.html
(If running on local environment, localhost:8080/swagger/index.html
) to see available image render api
Example:
http://localhost:8080/render?imgurl=https://path.to.img/img.png&text=HelloWorld&startcolor=E95420&endcolor=E95420
- Default icon - from icons8.com
- Default font - Merged following 2 fonts