Skip to content

Conversation

@foskey51
Copy link

Rationale for this change

While going through this issue I noticed that windmill.dev itself did'nt have a link preview thing. So I made a small poc
hosted: https://foskey51.github.io/test_ogp/
source code : https://github.com/foskey51/test_ogp/
to test the ogp and implemented the same in this pr.

Here are some previews from the poc:

WhatsApp Discord
WhatsApp Discord

const title = "Windmill | Open-source developer platform and workflow engine";
const description = "Turn scripts into auto-generated UIs, APIs and cron jobs. Compose them as workflows or data pipelines. Build complex, data-intensive apps with ease. Write and deploy software 10x faster, and run it with the highest reliability and observability on the fastest self-hostable job orchestrator";
const url = "https://www.windmill.dev/";
const image = "https://foskey51.github.io/test_ogp/og_image.png";
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you may need to replace this image link

@rubenfiszel
Copy link
Contributor

This is very cool thanks. I need to understand what's needed on our side to not rely on your repo

@foskey51
Copy link
Author

foskey51 commented Nov 23, 2025

@rubenfiszel you can download the image that’s currently being rendered in the preview (https://foskey51.github.io/test_ogp/og_image.png) and host it on your own cloud infra (AWS S3, Cloudinary, etc.).
Then replace the existing image URL in this file:

const image = "https://foskey51.github.io/test_ogp/og_image.png";

with the URL of the image you’re hosting and you are good to go.

@foskey51
Copy link
Author

I tested this locally and confirmed that the image is served correctly at:

http://localhost:3000/img/og_preview.png

So we can just use the site itself as the source for the og preview image.

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

Successfully merging this pull request may close these issues.

2 participants