News for hackers. Stuff that matters.
Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by firedexplorer on Thursday January 04, 2024 @12:04PM (#38869422)
Cool. Do you plan to monetize it somehow?
Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by fadymak on Thursday January 04, 2024 @12:12PM (#38869538)
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.

Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by thomaspttn on Thursday January 04, 2024 @11:42AM (#38869124)
This is really cool!
Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by fadymak on Thursday January 04, 2024 @11:57AM (#38869339)
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.
Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by skeptrune on Thursday January 04, 2024 @01:16PM (#38870342)
god damn this is going to save me so much time
Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by fadymak on Thursday January 04, 2024 @01:25PM (#38870455)
Glad to hear you find it useful! Please let me know if you have any feedback :)
Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by jasonjmcghee on Thursday January 04, 2024 @01:28PM (#38870496)
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)
Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by fadymak on Thursday January 04, 2024 @02:15PM (#38871025)
Looks like Vercel is having an incident: https://www.vercel-status.com/incidents/kpgg9p03x8x0

Pretty unfortunate timing

Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by fadymak on Thursday January 04, 2024 @01:33PM (#38870537)
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.

Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by jasonjmcghee on Thursday January 04, 2024 @05:47PM (#38873359)
Seems to be much faster now!
Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by fadymak on Friday January 05, 2024 @04:39AM (#38877294)
Indeed - it seems that the Vercel outage has been resolved! https://www.vercel-status.com/incidents/kpgg9p03x8x0
Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by adonese on Thursday January 04, 2024 @01:43PM (#38870647)
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
Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by fadymak on Thursday January 04, 2024 @01:45PM (#38870679)
Hey adonese! I'm definitely planning on exposing an API in the next few weeks - it has been requested quite a few times.
Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by fadymak on Tuesday January 16, 2024 @04:00AM (#39011083)
Hey @adonese :wave: Just wanted to share that I've shipped the API based on your feedback - I hope you find it useful!
Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by bomberchampion on Thursday January 04, 2024 @01:48PM (#38870712)
This looks amazing. Neat and clean UI / UX.
Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by fadymak on Thursday January 04, 2024 @01:51PM (#38870743)
Thanks for the kind words! <3
Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by AdmiralAsshat on Thursday January 04, 2024 @02:01PM (#38870870)
You're uh, probably gonna wanna rename this thing to avoid search engine collision with a certain infamous Russian domain.
Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by fadymak on Thursday January 04, 2024 @02:03PM (#38870896)
eh - I wasn't aware of that site
Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by jeroenhd on Thursday January 04, 2024 @02:07PM (#38870930)
Neat tool. Doesn't seem to be working for me, though (Firefox for Android, preview is stuck on "Loading")
Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by fadymak on Thursday January 04, 2024 @02:13PM (#38871005)
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

Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by jeroenhd on Thursday January 04, 2024 @03:25PM (#38871813)
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!

Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by alwillis on Friday January 05, 2024 @04:12AM (#38877169)
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-...

Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by leros on Thursday January 04, 2024 @04:56PM (#38872840)
I could see myself paying for this. I also see how people (not me) would use this as an API.
Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by fadymak on Thursday January 04, 2024 @05:37PM (#38873263)
Thanks for the support <3
Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by netsharc on Thursday January 04, 2024 @07:10PM (#38874005)
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...

Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by tompec on Friday January 05, 2024 @04:10AM (#38877160)
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"> ```
Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images by fadymak on Friday January 05, 2024 @04:39AM (#38877292)
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.