Create custom OpenGraph banner images

Aperta
#538 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
rust

Direzione di ricerca

Start by examining how the dynamic Perf Plot pages generate their custom Perf Images and how static pages use astro-seo. Compare a local plotters-based Astro integration with the listed image-generation services and runtime generation. Done means static content receives page-specific OpenGraph image URLs at build time, with generated images added to cloud storage.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Rust
Stelle
901
Fork
40
Merge medio
1g 10h
PR unite (30g)
264

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di bencherdev/bencher

Tutte le issue di bencherdev/bencher

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.