Hacker News new | ask | show | jobs
Show HN: Imgsrc – Generate Beautiful Open Graph Images (imgsrc.io)
49 points by fadymak 897 days ago
11 comments

Neat tool. Doesn't seem to be working for me, though (Firefox for Android, preview is stuck on "Loading")
Right now Firefox for Android does not support Intl.Segmenter [1] but it appears that support has been added to nightly [2] and will be released soon!

Sorry about that. I was weighing the pro/con of waiting for support to be released or adding a polyfill but it seems that support is just around the corner from what I can tell from the issue.

[1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... [2] https://github.com/mdn/content/issues/31098

I see, thanks for investigating! I guess it must be a relatively new API, seeing how recently Safari has implement it.

Looks like a very good API, glad to have learned about it!

It shipped in Safari nearly 3 years ago [1] so it’s not that new.

[1]: https://webkit.org/blog/11648/new-webkit-features-in-safari-...

This is great! Congrats on shipping this. I made a basic version of this years ago (imageee.com) and would love to find a replacement. Something I could use in the same way. ``` <meta property="og:image" content="https://api.imgsrc.io/basic?title=This is a title&description=blahblahblah&logo=https://example.com/image.png"> ```
Hey tompec! Originally that was the idea for imgsrc (hence the name: the `src` attribute in an `img` tag).

I definitely plan on adding support for that in the coming weeks :) When the API is released, it will have both the POST and GET support for generating programatically, on-demand.

I could see myself paying for this. I also see how people (not me) would use this as an API.
Thanks for the support <3
I'd love it if it has an api, and maybe with watermark and limitations (xx generated images per month) -- but I also understand that will severely limit the revenue for it
Hey @adonese :wave: Just wanted to share that I've shipped the API based on your feedback - I hope you find it useful!
Hey adonese! I'm definitely planning on exposing an API in the next few weeks - it has been requested quite a few times.
My 2024 resolution is to be less curmogedony, but here's me failing: first, the name, is that going to be google-able, or to be mistaken with the HTML?

At first look I had no clue what "Open Graph Images" are. After reading the guide, so apparently this is an image generator for images to be used specifically in the <meta property="og:image"> HTML tag for a webpage, that social network sites will use as a preview/thumbnail image when the social network site links to that webpage.

But... it's not even doing anything clever like where you can input the webpage URL and the generator reads the other Open Graph tags (or the contents of the page) and populate the input fields?

Yet another Show HN that baffles me...

I hope this is useful to you fadymak- the page load is quite slow for me, and returning to it the second time was equally slow. (5-10s)
Looks like Vercel is having an incident: https://www.vercel-status.com/incidents/kpgg9p03x8x0

Pretty unfortunate timing

Hey Jason :wave: I've noticed that too - I believe the traffic spike from HackerNews is adding some pressure. It usually loads pretty quick (a few 100 ms max).

It's hosted on Vercel.

Seems to be much faster now!
Indeed - it seems that the Vercel outage has been resolved! https://www.vercel-status.com/incidents/kpgg9p03x8x0
This looks amazing. Neat and clean UI / UX.
Thanks for the kind words! <3
You're uh, probably gonna wanna rename this thing to avoid search engine collision with a certain infamous Russian domain.
eh - I wasn't aware of that site
Cool. Do you plan to monetize it somehow?
Thanks! Right now there is a paid option ($19 / year) where users can remove the watermark and eventually have access to more templates and features.

I also plan on exposing an API which will likely be paid.

This is really cool!
Thanks thomaspttn :) I built it to streamline the process of creating OpenGraph images since it was the part I enjoyed the least about writing and sharing content on Social Media platforms.
god damn this is going to save me so much time
Glad to hear you find it useful! Please let me know if you have any feedback :)