Modules
module.json
The manifest every module folder needs.
| Field | Required | Meaning |
|---|---|---|
id | yes | Same as the folder name. Letters, digits, -, _. |
name | yes | What the "+ block" menu shows. |
kind | yes | "command" or "web". |
command | for command | The shell line to run, e.g. "btop" or "npm run dev". |
entry | for web | HTML file inside the folder. Default "index.html". |
w, h | no | Default size in grid cells: width 1–12, height 1–6. Defaults 4 x 3. |
{ "id": "btop", "name": "btop (monitor)", "kind": "command", "command": "btop", "w": 4, "h": 6 }{ "id": "hello", "name": "Hello (web example)", "kind": "web", "entry": "index.html", "w": 4, "h": 2 }