Portfolio running cost calculator — drop-in widget
Date: 2026-05-21 · Status: sketched, NOT built · Build effort: ~2 hr for v1 (single-page rollups, no cross-page yet)
The principle Dan stated
“I would like to have a running cost calculator for certain things, this should work across-the-portfolio, as a standard to embed into pages.”
A drop-in widget that:
- Sums costs annotated on the same page
- Shows running totals over multiple time windows (lifetime, YTD, this month, last 12 mo)
- Works on equipment service logs (Z665 $500, Husqvarna future repairs), contractor invoices (Jorge’s 15-20 scanned receipts), claims (Liberty Mutual money map), perhaps more
- Same <script> tag works across pa.gf.cx / dare.co.uk / dogwood / audrey
- Same data-attribute markup pattern on cost entries
How it should feel as an author
You author cost data in-line on the page using data-cost attributes: