Recent submissions

Comment · 2 years ago
Thanks for the suggestion! I’ll look into getting that added
Comment · 2 years ago
I think local storage and keyboard shortcuts might be a good alternative - thanks for the suggestion :)
Comment · 2 years ago
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.

Comment · 2 years ago
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 :)

Comment · 2 years ago
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.

Comment · 2 years ago
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.

Comment · 2 years ago
Thank you so much for the kind words! Glad you find them useful - I’m always open to feedback :)
Comment · 2 years ago
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

Comment · 2 years ago
Hey @adonese :wave: Just wanted to share that I've shipped the API based on your feedback - I hope you find it useful!
Comment · 2 years ago
Comment · 2 years ago
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.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton