# Sirius 1.0.0 — the SourceLess live-status widget Shows a chain's real figures on any page, in place of numbers typed into it: the **block height**, the **head age** (how long since the last block), the **last interval** between two blocks, the **finality line**, and the **seats on the roll**. It reads them from a node's Heidrun REST API at `/v1/live`, which answers cross-origin and holds no credential. It shows nothing else. There is no throughput figure because none is measured on this chain, and no time to finality because finality here is a height, not a duration. When the endpoint cannot be read the widget says so and shows **no number** rather than an old one. ## Embedding ```html
``` `https://heidrun.example` stands for the Heidrun origin you point it at. `.example` is a reserved name that resolves nowhere, so a copy pasted unchanged fails visibly rather than reading somebody else's node. | Attribute | Meaning | |-----------|---------| | `data-endpoint` | **Required.** The Heidrun origin. `https://` only; `http://` is accepted for loopback alone. | | `data-label` | The title shown above the figures. Default `SourceLess`. | | `data-refresh` | Seconds between reads. Default 30, minimum 15. | **Heidrun must be reachable at the endpoint you give.** It binds loopback by default and refuses a public bind without TLS; a node operator exposes it with `--rest-host` and a certificate or a TLS proxy. No public instance is published by the project at the time of this release. ## Content-Security-Policy No inline script and no inline style: the page needs `script-src` and `style-src` for this host (or your own, if you self-host the two files) and `connect-src` for the Heidrun origin. The script writes text, never HTML, so a value from the endpoint cannot inject markup. ## Theming `sirius.css` is drawn in the design kit's token names with the SourceLess palette as the fallback, so a page that loads `/design/v1/tokens.css` re-themes it, and a page that does not still gets the measured palette.