Skip to content

sukso96100/srvogimg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

srvogimg

Simple Open graph card image server

Usage

Environment variables

  • IMG_CACHE_PATH: If you want to cache image on specific directory

Run server

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

Credits

About

Simple Open graph image server built with go

Resources

License

Stars

Watchers

Forks

Releases

No releases published