Manifest

manifest.json describes an element. The app creates it with each new draft.

manifest.json
{
  "name": "Nebula CPU",
  "slug": "nebula-cpu",
  "authorId": "4764c753-…",
  "engineVersion": "1.4.0",
  "capabilities": ["cpu"],
  "defaultSettings": { "decimals": 1, "align": "left" },
  "defaultPosition": { "x": 0, "y": 0, "w": 2, "h": 8 },
  "created": "2026-11-12T09:00:00.000Z"
}

Fields

FieldMeaning
nameShown in the element picker
slugLowercase id, matching the folder name
authorIdSet by the app
engineVersionSet by the app. Older elements show a warning; newer ones don't load.
capabilitiesThe data the template can use (below)
defaultSettingsThe settings users can change, with their defaults (below), or null
defaultPositionStarting grid cell: x, y, width, height
createdISO date

Capabilities

A template only gets the data it lists here, plus theme. See Template data for the fields.

CapabilityProvides
cpuLoad, speed, cores, history
memoryUsed, free, history
diskEach drive's size and space
networkDownload and upload speed
gpuLoad, temperature, video memory, history
dateTimeFormatted date and time
dockThe user's chosen apps

Settings

Users change an element's settings in Edit element › Appearance. The app decides which settings exist and which values are valid. An element offers a setting by giving it a default:

SettingValuesIn the template
decimals0 to 3{{ cpu.used_percent | round: settings.decimals }}
align"left", "center" or "right"class="text-{{ settings.align }}"
dateTime{ "format": "HH:mm" }, for dateTime elementsdateTime

To offer only some values, give a default and a list of options:

"defaultSettings": {
  "decimals": { "default": 1, "options": [0, 1] }
}
  • Only offer settings the template uses: each one appears in the editor.
  • The template gets only the settings the element offers, always with a valid value. Using another one is an error.
  • An invalid default means the element doesn't offer that setting.
  • Elements with decimals or align need engineVersion 1.4.0 or later.
  • Text size belongs to the theme, not the element. The app scales every element by it (75–125%), so check that your element still fits at 125%.