1
0
Atdalīts 0
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
Marcus Noble b6ecdc0b64 Added missing import pirms 4 mēnešiem
.dockerignore Initial release pirms 1 gada
Dockerfile Initial release pirms 1 gada
Makefile Fix relase task pirms 1 gada
README.md Initial release pirms 1 gada
go.mod Initial release pirms 1 gada
go.sum Initial release pirms 1 gada
index.html Use large image in twitter preview pirms 1 gada
logo.png Initial release pirms 1 gada
main.go Added missing import pirms 4 mēnešiem
svg.tmpl Fixed image overlap pirms 9 mēnešiem

README.md

OpenGraph-Image-Gen

Dynamically generate OpenGraph social share images

Available at https://opengraph.cluster.fun/

Example

<img src="https://opengraph.cluster.fun/opengraph/?siteTitle=Marcus%20Noble&title=OpenGraph-Image-Gen&tags=opengraph%2Cgolang%2Ctwitter%2Cshare%2Csocial&image=https%3A%2F%2Fmarcusnoble.co.uk%2Fimages%2Fmarcus.jpg&twitter=Marcus_Noble_&github=AverageMarcus&website=www.MarcusNoble.co.uk&bgColor=%23ffffff&fgColor=%23263943" />

Preview Image

Features

  • Dynamically generate a PNG image for use as an OpenGraph share image
  • Ideally sized for Twitter previews
  • All text elements configurable
  • Configurable colours
  • All text fields optional

Building from source

With Docker:

make docker-build

Standalone:

make build

Contributing

If you find a bug or have an idea for a new feature please raise an issue to discuss it.

Pull requests are welcomed but please try and follow similar code style as the rest of the project and ensure all tests and code checkers are passing.

Thank you 💛

License

See LICENSE