Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create custom OpenGraph banner images #538

Open
epompeii opened this issue Nov 28, 2024 · 0 comments
Open

Create custom OpenGraph banner images #538

epompeii opened this issue Nov 28, 2024 · 0 comments

Comments

@epompeii
Copy link
Member

Currently, Bencher uses the same OpenGraph banner image for all static content. The Perf Plot pages do have custom banner images, the Perf Image for that plot. This is possible because the Perf Plot pages are dynamic, rendered sever-side.

In order to have custom OpenGraph banner images for static content at build time, an Astro integration would need to be created to generate the images, add the images to cloud storage, and set the astro-seo image URL for each page.

All of these solutions run as a service to generate the images:

However, I imagine this could be run locally using plotters.

Alternatively, the images could be created for every request at runtime, just like the Perf Images. However, this seems rather wasteful as these pages are static.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant