Skip to content

The report as a web page

Open the report in a browser with --ui, or write it to a folder with loadsheet build.

The web page shows the same Report as the terminal: a map of what loads into each session, a table of every line, and the fixes.

npx loadsheet --ui
Serving the report at http://127.0.0.1:41219/ (Ctrl+C stops it)
txt

loadsheet serves the page from memory on 127.0.0.1 and writes no page to disk. It picks a free port unless you pass --port <n>. It answers only requests addressed to 127.0.0.1 or localhost, so another website cannot read the page through your browser.

npx loadsheet wrapped
Serving your Wrapped at http://127.0.0.1:41219/#/wrapped (Ctrl+C stops it)
txt

wrapped serves the same page as --ui, open at Wrapped: your last days with your agents as a story, one fact per slide, from the usage the report holds. The Usage page links to it too. Its last slide opens a card to share, which holds totals and never a project's name.

npx loadsheet build --out loadsheet-report
Wrote the report to loadsheet-report/index.html
txt

build writes the page and its files into the folder that --out names, ./loadsheet-report by default. Open index.html from disk, or put the folder on any static host. The Report is inside the HTML file, so the page needs no server.

With --format json (or --json), build prints a JSON confirmation, for example {"path":"loadsheet-report/index.html"}. An absolute output path under your home folder is returned relative to the working directory. If the home folder is on a different drive, the path is relative to home and the confirmation includes "relativeTo":"home".

build never overwrites a file it did not write. It writes into a folder that is missing or empty, or one that holds the .loadsheet-build file from an earlier build. In that last case it replaces only the files that the earlier build listed. Otherwise it stops with exit code 2 and changes nothing.

Both take the options of npx loadsheet, so the page shows the report those options print:

npx loadsheet --ui --days 7 --harness codex
npx loadsheet build https://github.com/mattpocock/skills

The page's Share button makes a loadsheet.dev link that holds the whole Report in the URL, after the #. Browsers do not send that part to the server, so loadsheet.dev never receives the Report. The link leaves out each skill's description. See Privacy.