Start Binary¶
Download the current release with the appropriate architecture from the GitHub Release Page.
Download the appropriate binary for the target architecture.
curl -fsSL -o "vm-tracker-api-$(uname -s)-$(uname -m).tar.gz" "https://github.com/9it-full-service/vm-tracker/releases/latest/download/vm-tracker-api-$(uname -s)-$(uname -m).tar.gz"
Extract download and make executable:
Make executable:
Export ENV variables:
Start API server:
./vm-tracker-api-darwin-arm64
2025/11/03 17:55:55 API_BASE_URL: https://vm-tracker.example.com/api/register
2025/11/03 17:55:55 VM Tracker API starting on port 8080
2025/11/03 17:55:55 Web UI: https://vm-tracker.example.com
2025/11/03 17:55:55 API endpoints:
2025/11/03 17:55:55 POST /api/register
2025/11/03 17:55:55 GET /api/vms
2025/11/03 17:55:55 DELETE /api/vms/{hostname}
2025/11/03 17:55:55 GET /download/install
2025/11/03 17:55:55 GET /