Go to file
Marcus Noble 6872a9357f
Removed Twitter and added Bluesky and Fedi handles
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2024-12-03 07:23:14 +00:00
.dockerignore Initial release 2021-05-11 05:23:11 +01:00
Dockerfile Initial release 2021-05-11 05:23:11 +01:00
go.mod Initial release 2021-05-11 05:23:11 +01:00
go.sum Initial release 2021-05-11 05:23:11 +01:00
index.html Removed Twitter and added Bluesky and Fedi handles 2024-12-03 07:23:14 +00:00
logo.png Initial release 2021-05-11 05:23:11 +01:00
main.go Removed Twitter and added Bluesky and Fedi handles 2024-12-03 07:23:14 +00:00
Makefile Fix relase task 2021-05-11 06:05:13 +01:00
README.md Removed Twitter and added Bluesky and Fedi handles 2024-12-03 07:23:14 +00:00
svg.tmpl Removed Twitter and added Bluesky and Fedi handles 2024-12-03 07:23:14 +00:00

OpenGraph-Image-Gen

Dynamically generate OpenGraph social share images

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

Example

<img src="https://opengraph.cluster.fun/opengraph/?siteTitle=Example&title=Heading&tags=example%2Csample%2Cfoo%2Cbar&image=https%3A%2F%2Fmarcusnoble.co.uk%2Fimages%2Fmarcus.jpg&bluesky=%40averagemarcus.bsky.social&fediverse=%40marcus%40k8s.social&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 social card 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