Running here

Balance, spend, and which window you are in

This page runs the panel's own accounting: the peak/off-peak rule, the spend split and the gaps it refuses to guess at. Paste a ledger or use the sample.

The arithmetic is the widget's own code — lib/peak.js and lib/ledger.js, copied byte for byte. What is not here is the widget itself: no key file, no balance endpoint, no host console.

computing… current window, from the published rule

—
balance now, last ledger row

The ledger it read

One row per line: an ISO timestamp (or epoch milliseconds) and the balance after it, comma-separated. The real widget builds this by polling the balance endpoint with your key; this page reads what you paste.

Ten hours either side of now

Each block is a run of one billing state, taken from the rule at whole UTC hours. The marker is now.

What this page is, and what stays with the widget

The ledger you paste stays in this tab.