BLOCKODILE
Modules

module.json

The manifest every module folder needs.

FieldRequiredMeaning
idyesSame as the folder name. Letters, digits, -, _.
nameyesWhat the "+ block" menu shows.
kindyes"command" or "web".
commandfor commandThe shell line to run, e.g. "btop" or "npm run dev".
entryfor webHTML file inside the folder. Default "index.html".
w, hnoDefault size in grid cells: width 1–12, height 1–6. Defaults 4 x 3.
btop/module.json
{ "id": "btop", "name": "btop (monitor)", "kind": "command", "command": "btop", "w": 4, "h": 6 }
hello/module.json
{ "id": "hello", "name": "Hello (web example)", "kind": "web", "entry": "index.html", "w": 4, "h": 2 }