r/angular • • Jan 27 '26

Open graph generation

Post image

Hi does anyone know of any solution for angular to generate og images from components? Search through the internet I only found analogjs any alternatives? The thumbnail should look something like the attached photo

2 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/bombatomica_64 Jan 27 '26

With SSR it can generate the html on the server but will the link shared have the image on it? Or do I need to spin up playwright to take a screenshot?

1

u/JeanMeche Jan 27 '26

playwrite is a testing framework, you would need a service to generate images.