News for hackers. Stuff that matters.

fadymak

Re:Show HN: Simple tool to generate mock APIs for testing on Saturday February 17, 2024 @09:50AM (#39409897)
Thanks for the suggestion! I’ll look into getting that added
Re:Show HN: Simple tool to generate mock APIs for testing on Saturday February 17, 2024 @08:15AM (#39409145)
I think local storage and keyboard shortcuts might be a good alternative - thanks for the suggestion :)
Re:Show HN: Simple tool to generate mock APIs for testing on Saturday February 17, 2024 @07:00AM (#39408685)
Thanks for all the feedback! This community is incredible <3

Just pushed a fix that should resolve this while still maintaining state in the URL (using replaceState as suggested by OP).

For now it foregoes the undo/redo. I'll explore implementing it as a separate widget as you suggest in the future.

Re:Show HN: Simple tool to generate mock APIs for testing on Saturday February 17, 2024 @06:58AM (#39408671)
Not at all, I appreciate that you mentioned this since it seemed normal to me.

Thanks for the tip! I just pushed a fix that uses replaceState instead of push :)

Re:Show HN: Simple tool to generate mock APIs for testing on Saturday February 17, 2024 @06:40AM (#39408567)
Gotcha. The “clicking around” causes state changes like adding a field which is stored in the URL query parameters.

Initially this was a design decision to make it easy to share the URL of the Mock API you built with other developers. However, I can see this is breaking user expectations - I’ll work on getting that changed so it’s more in line with what users expect.

I appreciate the feedback because initially that felt “natural” to me but I can see how it might not be intuitive to others.

Re:Show HN: Simple tool to generate mock APIs for testing on Saturday February 17, 2024 @06:28AM (#39408514)
The URL query parameters change when you update the mock API to make sharing easier. The back and forward buttons allow you to undo/redo.

I’ll explore making the changes shareable without appending the state to the URL in that way.

Re:Show HN: Simple tool to generate Open Graph meta tags on Monday January 22, 2024 @04:39PM (#39095841)
Thank you so much for the kind words! Glad you find them useful - I’m always open to feedback :)
Re:Show HN: Simple tool to generate Open Graph meta tags on Saturday January 20, 2024 @03:24AM (#39065680)
Thanks! imgsrc.io has a paid offering for generating Open Graph and social images so it won’t need to be ad-supported.

I’m building these smaller tools (like the meta tag generator and Open Graph debugger) to make it easier for myself and hopefully others get a well-tested and up-to-date guidance on the recommended meta tags

Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images 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 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 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.

Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images on Thursday January 04, 2024 @05:37PM (#38873263)
Thanks for the support <3
Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images 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 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 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 on Thursday January 04, 2024 @01:51PM (#38870743)
Thanks for the kind words! <3
Re:Show HN: Imgsrc – Generate Beautiful Open Graph Images 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 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 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 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 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.

Older »