# Usage & Site Health Dashboard

## Start here

Watch the normal dashboard first. The recording labels the simulated outage and recovery. [View the project page](usage-dashboard.html).

**Status:** Local operator tool

One place on my Mac to check hosted services, usage limits, and whether public pages and videos are reachable.


## Why I built it

I built the health monitor so I could tell when one of my sites or videos went down without opening each site to check. A page can load while the video it points to is broken, so those checks are separate. I also put free-tier usage in the dashboard so checking quotas doesn't mean visiting every provider.

## What I built

A local dashboard that groups service usage and health, designed to report endpoint results without putting the operator’s account details on a public page.

## A decision I made

Use a lightweight monitor for public URLs and keep account-specific usage private. Separate confirmed failures from temporary timeouts.

## What I can show

The desktop launcher and scheduled dashboard were verified locally. This is an internal operator tool, not a public login.

## Known limits

Real usage data, account details, configuration and logs are intentionally not published.

## What went wrong and what changed

### A green website could still have a broken video

- What I changed: I added checks for the expected page contents and for actual video files. The portfolio publishes a list of its pages and recordings so new items can be monitored.
- How I checked: Test cases distinguish a wrong page, missing stream chunk, and valid media response. Real production URLs were checked separately.

### A laptop going offline could look like every site failed

- What I changed: I required two failed connected checks before alerting and grouped recovery messages so one outage does not keep sending alerts.
- How I checked: I tested offline, repeated outage, and recovery behavior separately. The Mac monitor does not claim to poll while asleep.

## What I’m still solving

Recheck the newly published pages from the monitor and keep uptime separate from billing. If continuous coverage away from the Mac becomes necessary, use an independent check and verify delivery.

**Skills:** HTTP diagnostics · alert deduplication · testing failure and recovery

## Tools and topics

macOS automation, HTTP checks, Operational monitoring


## Watch the workflow

[Record and transcript](usage-dashboard.html#demo) · [Reliability and security notes](reliability.md). The recording uses actual public checks followed by labeled simulations. The Mac checks every 30 minutes while awake, signed in, and online.

## Security debugging walkthrough

[Watch the 2:28 walkthrough or read the transcript](usage-dashboard.html#security-walkthrough). The recording shows real before-and-after checks for public security headers, two local Worker dependency updates, and the Mac application firewall. It uses edited check output and Michael narration. The walkthrough does not claim that a Worker was deployed or that individual attack logs were inspected.
