4 ms·
It would be nice if you could create a sharable link to share your specific recipe. You could encode it in the URL like thecookie.website/?q=20&lightness=80&che
by the_pwner224 6y ago
It would be nice if you could create a sharable link to share your specific recipe. You could encode it in the URL like thecookie.website/?q=20&lightness=80&chewiness=80&... - or use a reversible hash type function to get thecookie.website/2fa389dc. Then add a button to show the link & copy it to the clipboard, and maybe also make the URL change when dragging the sliders.
- baddox 6y agoI did something similar with a recent useless Saturday toy project, if the source code helps anyone. https://17dollarphone.com/ https://17dollarphone.com/ https://github.com/baddox/17dollarphone https://github.com/baddox/17dollarphone
- dazsnow 6y agothanks!
- captbaritone 6y agoI clicked through to your site and played with it a bit. Nice idea, and well executed! Then I hit back to come back to HN... seventeen clicks later, I’m back. Might be nice to update the URL without adding a history entry.
- baddox 6y agoHa yeah, very good point. I thought it was neat to have the entire state of the app in the URL and use the back button to demonstrate that, but yes, I should probably be replacing history instead of pushing.
- smichel17 6y agoSuggestion: Push once after every complete phone, but replace after an intermediate state. That way the back button goes through a list of complete combinations you tried, without forcing you to walk back individual steps.
- jonplackett 6y agoHaha. Exact same
- jonplackett 6y agoNice idea. Just proved I don’t really want a $17 phone. What’s with the price point? What were you setting out to prove?
- dazsnow 6y agogreat idea! it's on the roadmap