Lurker News
Release early, release often. Don't worry, be crappy. Fail fast. Iterate.

Show us your half baked, not really ready for prime time projects.
Also, if you need any help with a project, a startup, or an idea, just post it here.

Comments (687) 438 threads

Show all comments

Showing thread 124 of 438

simonsarris1 reply#
I'm making an interactive garden designer to help plan a (mostly rose) garden in my front lawn that will be visible to the town.

https://garden.simonsarris.com/
It all works (double click to place plants, undo/redo, copying, etc etc), but it needs more items. And saving and loading does not work yet. Actually, since this is HN, you could write

    go.Diagram.fromDiv(myDiagramDiv).model.toJson()
To save and share. But I need to implement some server saving because normal people do not adore JSON as much as we all do.

Some examples of what I'm thinking so far to give an idea of what loading might look like: https://twitter.com/simonsarris/status/1705056223333151053
I have considered making a more public version of this that anyone can use for their own garden, but that would take more non-trivial work.

aGHz1 reply#
You could simply encode the json to base64 and put it in the url fragment (hash). Then you can save by bookmarking the url and share by copy/pasting it, all without a server. I've seen some web games use this method but I can't remember which off the top of my head.