Berth

The admin page

berth admin:enable --owner [email protected]
berth admin                      # opens https://admin.<your domain>

A live web page showing everything on your Berth, for the people in the @owners sign-in group:

  • Overview: whether everything's up (containers, proxy, tunnel, disk, memory, AI), warnings, traffic and latency across all apps for the last day, every app at a glance, your databases, and recent deploys and crashes.
  • System load: the Mac's load average, CPU, memory in use and swap, charted over the last hour or day, and how much CPU each app and database is using. It samples every 15 seconds and keeps a day.
  • Each app: requests, visitors, errors and latency for the last hour, day or week compared with the one before, with charts; top pages, referrers, countries and browsers; requests as they arrive; releases, output and setup.
  • Events and AI (models, aliases, each app's token use).

The numbers come from the request logs Berth already writes. Nothing gets added to your apps' pages (no script, no cookie), and nothing about your visitors leaves the Mac. A "visitor" is a distinct IP address and browser; crawlers, scripts and uptime checkers are counted separately. Countries need the Cloudflare tunnel. It keeps 7 days.

It's read-only on purpose: deploys, rollbacks and config changes stay in the terminal, and config values never appear, only their names. Serve it somewhere else with --host dash.example.com, or turn it off with berth admin:disable.

Edit this page on GitHub (it's a section of the README)