Hacker News new | ask | show | jobs
by ptrenko 2248 days ago
Haven't read it through in detail, but what would be cool is an AI layer that suggests an image automatically. A bit far fetched I agree. Good work!
1 comments

Thanks!

Something like that could definitely be possible, although it would require a fair bit of work. You can build custom HTML templates for OG IMPACT under the Pro tier, which supports JS.

You could have the template accept the origin URL as a query param, download the page and then do any AI processing using related libraries / APIs. The risk is that this could be quite a heavy template, which could cause timeouts on social media platforms.

Feel free to play around with this using the Editor: http://ogimpacteditor.netlify.com