▲ | savolai 6 days ago | |
In combination with https://docs.hyperclay.com/docs/docs-tldr-paste-in-llm/ it could be used to build a lightweight offline configuration editor, for instance. | ||
▲ | savolai 5 days ago | parent [-] | |
As this was briefly flagged I’ll extrapolate as I was considering doing this myself as thought experiment. I wondered could this be the architecture i’m looking for since I want something that is offline first but works online. Hyperclay removes a lot of the architectural heft of traditional web apps. But of course now the data is in the dom. So xslt could in theory be used to bring it back into an actually-structural format. I.e. treat the DOM as a view and use XSLT as the lossless bridge back to structured, declarative and deterministic config. Round-trips are doable. One stylesheet renders config → HTML editor. Another extracts edited DOM → config. Of course, if downstream systems expected JSON, transforming DOM→JSON via JS might be simpler. My previous backend is sqlite though. |