JSON-based Web App Platform
http://jxsuite.com/ โ// readme
A full-stack web framework with a visual editor, built on plain JSON and Markdown.
Sites compile to static HTML, so they are quick to serve, have almost no attack surface, and cost close to nothing to run. Pages, styles, state, data, and server logic are all declarative documents. Edit them in code, on a canvas, or with an agent.
What is Jx?
A Jx project is a directory of JSON and Markdown files. Routes come from the filesystem. Components are JSON documents whose property names mirror the DOM API. Reactivity is @vue/reactivity. State entries marked timing: "server" run on the server.
{
"$id": "Counter",
"state": {
"count": 0,
"increment": { "$prototype": "Function", "body": "state.count++" }
},
"tagName": "my-counter",
"children": [
{ "tagName": "span", "textContent": "${state.count}" },
{ "tagName": "button", "textContent": "+", "onclick": { "$ref": "#/state/increment" } }
]
}
Every document validates against a JSON Schema 2020-12 meta-schema generated from the live web platform, so the same file is legible to a person, a visual editor, and a model. The fullโฆ