Skip to content

Web Dashboard

vcpkg-harbor includes a built-in web dashboard for monitoring and browsing the cache.

Open your browser to http://localhost:15151/ (or your configured host/port).

The main dashboard shows:

  • Cache Statistics: Total packages, storage used, hit rate
  • Request Metrics: Total requests, response times
  • Recent Packages: Recently cached packages
  • Quick Start Guide: How to configure vcpkg

Browse all cached packages:

  • Search by package name
  • View package versions
  • See package sizes
  • Navigate to package details

For each package:

  • All cached versions
  • SHA hashes
  • File sizes
  • Cache timestamps

Detailed statistics including:

  • Cache hit/miss rates
  • Upload/download counts
  • Request breakdown (HEAD/GET/PUT)
  • Largest packages
  • Storage backend info
Terminal window
VCPKG_DASHBOARD_ENABLED=true # or false
Terminal window
VCPKG_DASHBOARD_PATH=/dashboard

The dashboard uses HTMX for automatic updates:

  • Statistics refresh every 30 seconds
  • No page reloads required
  • Minimal bandwidth usage

The dashboard uses Tailwind CSS loaded from CDN. Templates are in:

src/vcpkg_harbor/dashboard/templates/
├── base.html
├── index.html
├── packages.html
├── package_detail.html
├── stats.html
└── partials/
├── stats_summary.html
└── recent_packages.html