### Deploy output example Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/running/multi-server.mdx Example output from a successful deploy, showing the server, installation path, and architecture. ```text deploying to edge (127.0.0.1)... ✓ edge: installed to /home/butler/.local/bin/homebutler (linux/amd64) ``` -------------------------------- ### homebutler install commands for 14 apps Source: https://github.com/higangssh/homebutler/blob/main/CHANGELOG.md Lists all 14 installable apps and shows examples for installing Pi-hole, Jellyfin with a media directory, and Portainer. Includes safety checks and post-install guidance. ```bash homebutler install list # see all 14 apps ``` ```bash homebutler install pi-hole # DNS ad blocking ``` ```bash homebutler install jellyfin --media /movies # media server ``` ```bash homebutler install portainer # Docker GUI ``` -------------------------------- ### homebutler serve command examples Source: https://github.com/higangssh/homebutler/blob/main/README.md Start the web dashboard on port 8080, customize the port, run in demo mode with sample data, or install as a service. The dashboard is embedded in the binary via go:embed and requires no Node.js runtime. ```bash homebutler serve # Start on port 8080 homebutler serve --port 3000 # Custom port homebutler serve --demo # Demo mode with realistic sample data homebutler serve install # Let the host keep it running ``` -------------------------------- ### homebutler watch install command syntax Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/cli/watch.mdx Shows the command-line syntax for `homebutler watch install`. It registers `watch start` with the host by writing a user-level systemd unit or launchd agent named `dev.homebutler.watch`, then enables and starts it. ```bash homebutler watch install [flags] ``` -------------------------------- ### Initialize Homebutler with interactive setup wizard Source: https://github.com/higangssh/homebutler/blob/main/README.md Run the interactive setup wizard to initialize Homebutler configuration. This command starts the configuration process. ```bash homebutler init # interactive setup wizard ``` -------------------------------- ### ps and install plex command examples Source: https://github.com/higangssh/homebutler/blob/main/CHANGELOG.md Show process list with CPU, memory, and RSS columns. Use --sort mem to sort by memory. Install Plex Media Server with optional --media mount. ```bash homebutler ps # CPU + MEM% + RSS homebutler ps --sort mem # top processes by memory homebutler install plex # install Plex Media Server homebutler install plex --media /path/to/media ``` -------------------------------- ### Homebutler install command examples Source: https://github.com/higangssh/homebutler/blob/main/CHANGELOG.md Shows the one-command deployment workflow for self-hosted apps using docker compose. Includes install, custom port, status check, uninstall (keeps data), and purge (removes everything). ```bash homebutler install uptime-kuma # deploy in seconds homebutler install vaultwarden --port 9090 # custom port homebutler install status uptime-kuma # check health homebutler install uninstall uptime-kuma # stop, keep data homebutler install purge uptime-kuma # remove everything ``` -------------------------------- ### install_list response example Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/mcp/install.mdx Example response from the install_list tool, showing an array of app entries with fields name, description, default_port, container_port, and data_path. The catalog is compiled into the binary, so the call reaches no network and returns the same apps on every machine, in an order that changes between calls. ```json [ { "name": "mealie", "description": "Self-hosted recipe manager and meal planner", "default_port": "9925", "container_port": "9000", "data_path": "/app/data" }, { "name": "plex", "description": "Plex Media Server - organize and stream your media", "default_port": "32400", "container_port": "32400", "data_path": "/config" }, { "name": "gitea", "description": "Lightweight self-hosted Git service", "default_port": "3002", "container_port": "3000", "data_path": "/data" } ] ``` -------------------------------- ### Install Chromium and run end-to-end tests Source: https://github.com/higangssh/homebutler/blob/main/CONTRIBUTING.md Install Chromium once, then run the e2e suite. It starts both servers itself and covers states like a dashboard asking for its token, an endpoint returning 500, and an incident opened to read logs. ```bash npx --prefix web playwright install chromium npm --prefix web run e2e ``` -------------------------------- ### install_purge Arguments Example Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/mcp/install.mdx Example arguments for the install_purge tool, specifying the app name 'it-tools'. ```json { "app": "it-tools" } ``` -------------------------------- ### install_purge Response Example Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/mcp/install.mdx Example response when the purge succeeds, showing status 'purged' and data_preserved false. ```json { "status": "purged", "app": "it-tools", "data_preserved": false } ``` -------------------------------- ### Run MCP demo and install ClawHub skill Source: https://github.com/higangssh/homebutler/blob/main/CHANGELOG.md Starts the MCP server in demo mode and installs the renamed homebutler skill from ClawHub. The old slug homeserver is redirected. ```bash homebutler mcp --demo npx clawhub install homebutler ``` -------------------------------- ### homebutler install status example and error output Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/cli/install.mdx Example of checking the status of 'uptime-kuma'. If the app is not installed, the command returns an error with the message 'error: uptime-kuma is not installed'. ```bash homebutler install status uptime-kuma ``` ```text error: uptime-kuma is not installed ``` -------------------------------- ### Install registry commands for listing and installing apps Source: https://github.com/higangssh/homebutler/blob/main/CHANGELOG.md Shows commands to list all 5 installable apps and install it-tools and gitea from the registry. ```bash homebutler install list # see all 5 apps homebutler install it-tools # developer utilities in seconds homebutler install gitea # your own Git server ``` -------------------------------- ### Basic homebutler commands for status, docker, inventory, report, install, backup, watch, serve Source: https://github.com/higangssh/homebutler/blob/main/README.md Common commands to check system status, list containers, scan inventory, generate reports, install apps, verify backups, and run dashboards. The 'serve' command starts a web dashboard at http://localhost:8080. ```bash homebutler status # CPU, memory, disk, uptime homebutler docker list # running containers homebutler inventory scan # containers + ports + topology homebutler report # butler-style health report + change summary homebutler install uptime-kuma # deploy a self-hosted app homebutler backup drill uptime-kuma # verify a backup actually restores homebutler watch tui # terminal dashboard homebutler serve # web dashboard at http://localhost:8080 ``` -------------------------------- ### Build from Source Source: https://github.com/higangssh/homebutler/blob/main/README.md Clones the repository and builds all components. make build-all compiles the web dashboard into the binary and needs Node installed. make build skips it — the CLI is complete either way, and homebutler serve then says the dashboard is missing and names the two ways to get it. ```bash git clone https://github.com/Higangssh/homebutler.git cd homebutler make build-all ``` -------------------------------- ### install_purge Error Response Example Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/mcp/install.mdx Example response when purging an app that isn't installed, returning an error message. ```text it-tools is not installed ``` -------------------------------- ### One-line install, Homebrew, Docker, and init commands Source: https://github.com/higangssh/homebutler/blob/main/README.md Installation options for macOS/Linux: one-line curl script, Homebrew, or Docker container. The Docker command mounts config and SSH keys, sets a token via environment variable, and prints the token for dashboard sign-in. Ends with interactive setup using 'homebutler init'. ```bash # One-line install (auto-detects OS/arch) curl -fsSL https://raw.githubusercontent.com/Higangssh/homebutler/main/install.sh | sh # Or via Homebrew brew install Higangssh/homebutler/homebutler # Or as a container — the hub that reaches your machines over SSH docker run -d --name homebutler -p 8080:8080 -v ~/.config/homebutler:/config -v ~/.ssh:/root/.ssh:ro \ -e HOMEBUTLER_TOKEN="$(openssl rand -hex 16)" ghcr.io/higangssh/homebutler docker exec homebutler printenv HOMEBUTLER_TOKEN # the token, to sign in to the dashboard # Interactive setup — add your servers in seconds homebutler init ``` -------------------------------- ### homebutler proxmox guest start Source: https://github.com/higangssh/homebutler/blob/main/docs/proxmox.md Starts a QEMU or LXC guest on the specified node. Requires explicit confirmation and action credentials. ```APIDOC ## [CLI] homebutler proxmox guest start ### Description Starts a QEMU or LXC guest on the specified node. Requires explicit confirmation and action credentials. ### Method CLI ### Endpoint homebutler proxmox guest start ### Parameters #### Required Flags - `--endpoint` (string) - Required - The endpoint name. - `--node` (string) - Required - The node name. - `--type` (string) - Required - Guest type: `qemu` or `lxc`. - `--vmid` (integer) - Required - The guest VM ID. - `--confirm` (flag) - Required - Confirms the action. ### Response #### Success Response Returns an action response. The response means Proxmox accepted the asynchronous request; it does not mean the guest transition completed. HomeButler returns the UPID exactly as Proxmox supplied it. It reports `result` as one of three short tokens: `running` for a task still in progress, `ok` for a stopped task with `exitstatus: OK`, and `failed` for any other stopped exit status. #### Error Handling - If no `action_token_id`/`action_token`/`action_token_file` is configured for the endpoint, guest actions fail immediately with an explicit configuration error. HomeButler never falls back to the read credential for an action. - HomeButler never retries an action POST automatically. If a timeout or lost connection happens after Proxmox received the request, retrying could submit the same action twice. Treat that result as ambiguous and inspect Proxmox before deciding whether to run the command again. ``` -------------------------------- ### Install npm MCP server package Source: https://github.com/higangssh/homebutler/blob/main/README.md Downloads the Go binary automatically. This package publishes one command, homebutler-mcp, and it starts the MCP server — npx -y homebutler@latest launches that, not the CLI. For the command line, use one of the other installs above. ```bash npm install -g homebutler ``` -------------------------------- ### proxmox_script_command response example Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/mcp/proxmox.mdx Example JSON response from the proxmox_script_command tool, containing the slug, the install command pinned to a commit, and a warning that the script is not reviewed by homebutler and runs as root. ```json { "slug": "docker", "command": "bash -c \"$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/fadcb0c375547861f991c09ff8dec196c380d428/ct/docker.sh)\"", "warning": "This script is not reviewed by homebutler. It is fetched from community-scripts/ProxmoxVE and runs as root on the Proxmox host." } ``` -------------------------------- ### List available apps with homebutler install list Source: https://github.com/higangssh/homebutler/blob/main/README.md Shows the output of the `homebutler install list` command, listing 15 available apps with descriptions. Use this to see what apps can be installed. ```bash $ homebutler install list 📦 Available apps (15): uptime-kuma A self-hosted monitoring tool vaultwarden Lightweight Bitwarden-compatible password manager jellyfin Free software media system for streaming movies, TV, and music pi-hole Network-wide ad blocking via DNS filtering … ``` -------------------------------- ### Run docs site locally with npm Source: https://github.com/higangssh/homebutler/blob/main/docs/README.md Install dependencies and start the Docusaurus development server. Requires Node.js 20 or later. If port 3000 is already in use, use `npm start -- --port 3001`. ```bash cd docs npm ci npm start ``` -------------------------------- ### homebutler serve install, installed, uninstall commands Source: https://github.com/higangssh/homebutler/blob/main/CHANGELOG.md Shows the supervised serve commands: install on default 127.0.0.1:8080, install with custom port, check installed status and address, and uninstall. The token is read from web.token in the config file, not passed via --token, because unit files are world-readable and --token appears in ps. ```bash homebutler serve install # supervised, on 127.0.0.1:8080 homebutler serve install --port 9090 # somewhere else homebutler serve installed # what is installed, and the address it serves homebutler serve uninstall # stop it and remove the unit ``` -------------------------------- ### Homebutler install commands for app lifecycle Source: https://github.com/higangssh/homebutler/blob/main/README.md Covers the main install commands: listing apps, installing with default or custom ports, mounting media directories, checking status, uninstalling (data preserved), and purging (removes everything). ```bash # List available apps homebutler install list # Install (default port) homebutler install uptime-kuma # Install with custom port homebutler install uptime-kuma --port 8080 # Install jellyfin with media directory homebutler install jellyfin --media /mnt/movies # Check status homebutler install status uptime-kuma # Stop (data preserved) homebutler install uninstall uptime-kuma # Stop + delete everything homebutler install purge uptime-kuma ``` -------------------------------- ### Example output of serve installed Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/running/web-dashboard.mdx Shows the expected output when the service is installed. The unit holds the address and, when you pass `--config`, the config path. It never holds the token: the service reads `web.token` from the config file at startup. ```text Installed: /home/you/.config/systemd/user/dev.homebutler.serve.service (systemd) Serving: http://127.0.0.1:8080 ``` -------------------------------- ### Install, check, and uninstall the dashboard service Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/running/web-dashboard.mdx Use these commands to manage the user service that keeps the dashboard running. `serve install` writes a systemd user unit on Linux or a launchd agent on macOS, then enables and starts it. `serve installed` reports whether the unit exists and the address it serves, and takes `--json`. `serve uninstall` stops the service and deletes the unit. Reinstalling needs `--force`, which stops the running service before writing the new unit. ```bash homebutler serve install --port 8080 homebutler serve installed homebutler serve uninstall ``` -------------------------------- ### Quick start commands for homebutler Source: https://github.com/higangssh/homebutler/blob/main/llms.txt Initializes configuration, checks status, adds and starts watch for nginx, views history, tests notifications, and starts the web dashboard. ```bash homebutler init ``` ```bash homebutler status --all ``` ```bash homebutler watch add nginx ``` ```bash homebutler watch start ``` ```bash homebutler watch history ``` ```bash homebutler notify test ``` ```bash homebutler serve ``` -------------------------------- ### Read what changed with homebutler report Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/quickstart.mdx Run after changes on the server (e.g., container started, recreated, or removed). Outputs a report comparing with the previous snapshot, listing changes with three columns: kind, target, and what happened. ```bash homebutler report ``` ```text 🏠 Homebutler Report — homelab 2026-10-24T19:43:05Z · compared with 2026-10-24T19:42:56Z ── Needs Attention ─────────────────────────────────────────── ⚠️ Port :8099/tcp is now reachable from every interface, answered by hb-demo (node:lts-alpine) — it was not before ── Notable Changes ─────────────────────────────────────────── new :8099/tcp now hb-demo (node:lts-alpine) new hb-demo now running ``` -------------------------------- ### Install with Go Source: https://github.com/higangssh/homebutler/blob/main/README.md Installs the latest version of homebutler using the Go toolchain. ```bash go install github.com/Higangssh/homebutler@latest ``` -------------------------------- ### Install via Homebrew Source: https://github.com/higangssh/homebutler/blob/main/README.md Recommended installation method for macOS and Linux. Automatically installs homebutler to PATH. ```bash brew install Higangssh/homebutler/homebutler ``` -------------------------------- ### Example commands for inventory and watch Source: https://github.com/higangssh/homebutler/blob/main/CHANGELOG.md Shows three example commands: inventory show with filter, watch history with limit and container, and watch list with JSON output. ```bash homebutler inventory show --filter exposed homebutler watch history --limit 10 --container nginx homebutler watch list --json ``` -------------------------------- ### serve install usage syntax Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/cli/serve.mdx Shows the command syntax for the serve install subcommand. ```bash homebutler serve install [flags] ``` -------------------------------- ### Initialize homebutler with interactive setup Source: https://github.com/higangssh/homebutler/blob/main/docs/configuration.md Run the setup wizard to auto-detect the local machine and add remote servers. It tests SSH connectivity and shows a summary before saving; with an existing config it can add servers or start fresh. ```bash homebutler init ``` -------------------------------- ### Show install command for a Proxmox Community Script Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/apps/proxmox.mdx Prints the install command for a script by its slug (first column of the catalog). The command is pinned to one commit of the upstream repository. homebutler only prints the command; it does not run it. An unknown slug exits with status 1. ```bash homebutler proxmox script show docker ``` ```text Community Script command Slug: docker Command: bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/fadcb0c375547861f991c09ff8dec196c380d428/ct/docker.sh)" ⚠️ This script is not reviewed by homebutler. It is fetched from community-scripts/ProxmoxVE and runs as root on the Proxmox host. Review it, then run it yourself on the Proxmox host; homebutler does not run it for you. ``` -------------------------------- ### homebutler watch installed before install Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/cli/watch.mdx Before the install, the command reports that the unit is not installed and shows where it would be written, along with the install command. ```bash homebutler watch installed ``` ```text Not installed. systemd would be written to /home/you/.config/systemd/user/dev.homebutler.watch.service homebutler watch install ``` -------------------------------- ### install command usage Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/cli/install.mdx Shows the general syntax for the install command: `homebutler install [options]` and the subcommand form `homebutler install [command]`. ```bash homebutler install [options] homebutler install [command] ``` -------------------------------- ### homebutler watch installed after unit file written Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/cli/watch.mdx After the unit file was written, the command reports that it is installed and shows the path and the service type (systemd). ```bash homebutler watch installed ``` ```text Installed: /home/you/.config/systemd/user/dev.homebutler.watch.service (systemd) ``` -------------------------------- ### Install app commands Source: https://github.com/higangssh/homebutler/blob/main/skills/SKILL.md Commands to list installable apps, install an app, check installation status, uninstall, and purge an app. ```bash homebutler install list homebutler install homebutler install status homebutler install uninstall homebutler install purge ``` -------------------------------- ### serve installed usage syntax Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/cli/serve.mdx Shows the command syntax for the serve installed subcommand. ```bash homebutler serve installed [flags] ``` -------------------------------- ### homebutler install uninstall example and error output Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/cli/install.mdx Example of uninstalling 'uptime-kuma'. If the app is not installed, the command returns an error after attempting to stop it, with the message 'error: uptime-kuma is not installed'. ```bash homebutler install uninstall uptime-kuma ``` ```text 🛑 Stopping uptime-kuma... error: uptime-kuma is not installed ``` -------------------------------- ### homebutler watch list example output Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/cli/watch.mdx Example invocation of `homebutler watch list` and its output showing the watch list with columns NAME, KIND, ADDED, RESTARTS, and LAST CHECKED. ```bash homebutler watch list ``` ```text NAME KIND ADDED RESTARTS LAST CHECKED web docker 2026-10-25 11:19:26 0 2026-10-25 11:19:26 nothing.service systemd 2026-10-25 11:19:27 - - api pm2 2026-10-25 11:19:27 - - ``` -------------------------------- ### proxmox_guests Arguments Example Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/mcp/proxmox.mdx Example arguments for the proxmox_guests tool, filtering by type 'qemu' and status 'running'. The filters combine with AND. ```json { "type": "qemu", "status": "running" } ``` -------------------------------- ### Human-readable Proxmox output example Source: https://github.com/higangssh/homebutler/blob/main/docs/proxmox.md Example of the concise human-readable output from HomeButler Proxmox commands. It shows the endpoint, version, and resource counts. ```text Proxmox endpoint: pve Version: 9.1.4 Resources: 2 nodes | 3 guests | 1 storage ``` -------------------------------- ### Dry-run install with custom port Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/cli/install.mdx Preview an install on a custom port without changing anything. The output shows the rendered Compose file and the command that would run. ```bash homebutler install uptime-kuma --dry-run --port 8504 ``` ```text 🔍 Checking prerequisites for uptime-kuma... ✅ All checks passed 📦 Installing uptime-kuma Port: 8504 (default: 3001) Path: /home/you/.homebutler/apps/uptime-kuma ✨ [Dry Run] Rendered docker-compose.yml for uptime-kuma: services: uptime-kuma: image: louislam/uptime-kuma:1 container_name: uptime-kuma restart: unless-stopped ports: - "8504:3001" volumes: - "/home/you/.homebutler/apps/uptime-kuma/data:/app/data" environment: - PUID=501 - PGID=1000 ✨ [Dry Run] Would run: docker compose -f /home/you/.homebutler/apps/uptime-kuma/docker-compose.yml up -d ``` -------------------------------- ### watch start command syntax Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/cli/watch.mdx Shows the basic usage of the `watch start` command. It monitors the watch list in the foreground until Ctrl+C is pressed. ```bash homebutler watch start [flags] ``` -------------------------------- ### install_app: install app with custom port Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/mcp/install.mdx Arguments and response for installing an app on a chosen port. The response includes status, app, port, path, and state when successful. ```json { "app": "it-tools", "port": 8104 } ``` ```json { "status": "installed", "app": "it-tools", "port": "8104", "path": "/home/you/.homebutler/apps/it-tools", "state": "running" } ``` -------------------------------- ### proxmox guest start Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/cli/proxmox.mdx Starts one guest. Requires confirmation and endpoint, node, type, and vmid flags. Without --confirm, nothing is sent. ```APIDOC ## `proxmox guest start` Starts one guest. ```bash homebutler proxmox guest start [flags] ``` | Flag | Type | Default | Description | | --- | --- | --- | --- | | `--confirm` | boolean | `false` | Confirm the target named by the other four flags. Without it, the command stops with an error that shows the command to repeat with `--confirm`. | | `--endpoint` | string | - | Endpoint name from the config. Required. | | `--node` | string | - | Node the guest is on. Required. | | `--type` | string | - | Guest type: `qemu` or `lxc`. Required. | | `--vmid` | integer | - | Guest ID. Required. | Without `--confirm`, nothing is sent. ```bash homebutler proxmox guest start --endpoint pve --node pve1 --type qemu --vmid 100 ``` ```text error: confirmation required for Proxmox guest action: endpoint="pve" node="pve1" type="qemu" vmid=100 action="start"; rerun with --endpoint "pve" --node "pve1" --type "qemu" --vmid 100 --confirm ``` Without an action credential, the command stops before any network call. ```bash homebutler proxmox guest start --endpoint pve --node pve1 --type qemu --vmid 100 --confirm ``` ```text error: no action credential configured for Proxmox endpoint "pve"; guest actions require action_token_id and action_token or action_token_file — see docs/proxmox.md ``` ``` -------------------------------- ### One-line Install with curl Source: https://github.com/higangssh/homebutler/blob/main/README.md Auto-detects OS/architecture, downloads the latest release, and installs to PATH. macOS and Linux only; on Windows, use the zip below. ```bash curl -fsSL https://raw.githubusercontent.com/Higangssh/homebutler/main/install.sh | sh ``` -------------------------------- ### Manifest JSON example Source: https://github.com/higangssh/homebutler/blob/main/docs/backup.md Example manifest.json generated with full metadata including version, creation time, and service mount details. ```json { "version": "1", "created_at": "2026-03-11T18:30:00+09:00", "services": [ { "name": "postgres", "container": "a1b2c3d4...", "image": "postgres:16", "mounts": [ { "type": "volume", "name": "postgres_data", "source": "/var/lib/docker/volumes/postgres_data/_data", "destination": "/var/lib/postgresql/data" } ] } ] } ``` -------------------------------- ### Install Uptime Kuma with homebutler install Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/apps/install-apps.mdx Runs homebutler install for uptime-kuma on port 8301. The command checks prerequisites, writes a Docker Compose file, and starts the app. Progress messages go to standard error. ```bash homebutler install uptime-kuma --port 8301 ``` ```text 🔍 Checking prerequisites for uptime-kuma... ✅ All checks passed 📦 Installing uptime-kuma Port: 8301 (default: 3001) Path: /home/you/.homebutler/apps/uptime-kuma ✅ Installation complete! 🌐 Access: http://localhost:8301 📁 Config: /home/you/.homebutler/apps/uptime-kuma/docker-compose.yml 💡 Useful commands: homebutler install status uptime-kuma homebutler docker logs uptime-kuma homebutler install uninstall uptime-kuma ``` -------------------------------- ### homebutler watch installed command syntax Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/cli/watch.mdx Shows the command-line syntax for `homebutler watch installed`. It reports whether the watch unit is registered and where it is. ```bash homebutler watch installed [flags] ``` -------------------------------- ### JSON example for create_item arguments Source: https://github.com/higangssh/homebutler/blob/main/docs/MAINTAINING.md Example arguments for the create_item tool, shown inside the in the template. The response is an object with id and name. ```json { "name": "demo" } ``` -------------------------------- ### Dry-run install of Jellyfin with media mount Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/apps/install-apps.mdx Runs homebutler install for jellyfin with --dry-run and a media folder. The command prints the compose file and the docker compose up -d command without starting anything. The compose file goes to standard output. ```bash homebutler install jellyfin --media /home/you/media --port 8302 --dry-run ``` ```yaml services: jellyfin: image: jellyfin/jellyfin:latest container_name: jellyfin restart: unless-stopped ports: - "8302:8096" volumes: - "/home/you/.homebutler/apps/jellyfin/data/config:/config" - "/home/you/.homebutler/apps/jellyfin/data/cache:/cache" - "/home/you/media:/media:ro" environment: - PUID=501 - PGID=1000 ``` -------------------------------- ### Start Web Dashboard with serve Source: https://github.com/higangssh/homebutler/blob/main/README.md Starts the embedded web dashboard with no external dependencies. Use --port to change the default 8080, --demo for sample data, and install/uninstall to register with launchd or systemd for persistence across logout. ```bash homebutler serve # http://localhost:8080 homebutler serve --port 3000 # custom port homebutler serve --demo # demo mode with sample data homebutler serve install # hand it to launchd or systemd, so it survives logout homebutler serve uninstall # and take it back ``` -------------------------------- ### homebutler network scan without arp installed Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/cli/network.mdx Example of running the scan on a host without `arp` installed. The command fails with an error indicating that the `arp` executable is not found in the PATH. ```bash homebutler network scan ``` ```text error: failed to read ARP table: exec: "arp": executable file not found in $PATH ``` -------------------------------- ### homebutler watch show example output Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/cli/watch.mdx Example invocation of `homebutler watch show web-20261025-111946.106-1e2bb7` and its output showing incident details, crash analysis, and post-restart logs. ```bash homebutler watch show web-20261025-111946.106-1e2bb7 ``` ```text Incident: web-20261025-111946.106-1e2bb7 Container: web Detected: 2026-10-25 11:19:46 Previous Start: Current Start: 2026-10-25T18:19:45.519969168Z === Crash Analysis === Category: unknown Reason: SIGKILL, not reported as OOM-killed Confidence: low Signal: SIGKILL === Post-Restart Logs === ``` -------------------------------- ### JSON output example Source: https://github.com/higangssh/homebutler/blob/main/docs/backup.md Example output from the backup command with --json flag, showing archive path, services, volume count, and size. ```json { "archive": "/home/user/.homebutler/backups/backup_2026-03-11_1830.tar.gz", "services": ["postgres", "jellyfin", "pihole"], "volumes": 5, "size": "2.5 GB" } ``` -------------------------------- ### Verify build and tests Source: https://github.com/higangssh/homebutler/blob/main/CLAUDE.md Run all five checks before claiming anything works. go test ./... takes several minutes because internal/network and internal/remote wait on real timeouts, so start it early. ```bash gofmt -w . go vet ./... golangci-lint run go test ./... go build ./... ``` -------------------------------- ### serve install failure when systemd user manager unreachable Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/cli/serve.mdx Installing the dashboard unit when the systemd user manager is not reachable writes the unit file but fails to start it, showing the error output. ```bash homebutler serve install --host 127.0.0.1 --port 8510 ``` ```text error: wrote /home/you/.config/systemd/user/dev.homebutler.serve.service but could not start it: systemctl --user enable --now dev.homebutler.serve.service: exit status 1 Failed to connect to bus: No such file or directory ``` -------------------------------- ### install_app: app already running returns all reasons Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/mcp/install.mdx Arguments and response when the app is already running and the port is also in use. The response lists every applicable issue. ```json { "app": "it-tools", "port": 8104 } ``` ```json { "status": "failed", "app": "it-tools", "issues": [ "port 8104 is already in use by in use.\n Use --port to pick a different port", "it-tools is already running.\n Run: homebutler install uninstall it-tools" ] } ``` -------------------------------- ### Stop and remove containers with homebutler install uninstall Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/apps/install-apps.mdx Runs 'docker compose down' to remove containers and network, leaving the folder and data in place. Output shows stopping and removal messages, and notes data preserved at '/home/you/.homebutler/apps/uptime-kuma'. Reinstall with 'homebutler install ' to start on preserved data. ```bash homebutler install uninstall uptime-kuma ``` ```text 🛑 Stopping uptime-kuma... ✅ Stopped and removed containers 💡 Data preserved at: /home/you/.homebutler/apps/uptime-kuma To delete everything: homebutler install purge uptime-kuma ``` -------------------------------- ### Install, check, and uninstall watch service Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/monitoring/watch.mdx watch install hands the monitoring loop to the host supervisor (systemd user unit on Linux, launchd on macOS). watch installed reports whether the unit exists; watch uninstall stops and removes it. The unit is named dev.homebutler.watch.service and runs watch start with the installing binary. ```bash homebutler watch install homebutler watch installed homebutler watch uninstall ``` -------------------------------- ### homebutler proxmox guest start [flags] Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/cli/proxmox.mdx Starts one guest. Requires --endpoint, --node, --type, and --vmid; --confirm is optional and defaults to false. ```bash homebutler proxmox guest start [flags] ``` -------------------------------- ### homebutler version example and output Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/cli/version.mdx Runs the version command and shows its plain-text output, including version, build date, and Go version. ```bash homebutler version ``` ```text homebutler 1.8.0 (built 2026-11-11T09:52:31Z, go1.26.10) ``` -------------------------------- ### doctor JSON response example Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/mcp/report-doctor-inventory.mdx Example response from the doctor tool, shortened to three of seven findings. The summary counts all seven findings; the watch finding has runner 'cli' and no tool, so the operator runs 'homebutler watch install' in a terminal. ```json { "schema_version": 1, "timestamp": "2026-10-25T18:35:43Z", "server_name": "homelab", "status": "fail", "summary": { "pass": 0, "warn": 6, "fail": 1 }, "findings": [ { "severity": "warn", "category": "backup", "title": "The newest backup has never been drilled", "detail": "The last drill was 4m0s before the newest archive was taken, so what passed is not what you would restore from.", "action": "Drill again so the verdict is about the archive you actually have.", "command": "homebutler backup drill --all", "runner": "mcp", "tool": "backup_drill" }, { "severity": "warn", "category": "watch", "title": "1 target(s) on the watch list and no service installed to check them", "detail": "Nothing is polling them, so a restart records no incident and sends no notification. This checks whether a service is installed, not whether it is running.", "action": "Install the watch service so monitoring survives logout and reboot.", "command": "homebutler watch install", "runner": "cli" }, { "severity": "warn", "category": "notifications", "title": "No notification channel configured", "detail": "If something crashes, homebutler can only report it locally.", "action": "Configure Telegram, Slack, Discord, or webhook notifications if you want alerts away from the terminal.", "command": "homebutler notify test", "runner": "mcp", "tool": "notify_test" } ] } ``` -------------------------------- ### watch_add Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/mcp/watch.mdx Adds a Docker container, systemd unit or PM2 app to the watch list. The tool writes the list and nothing starts watching it: a supervisor has to be installed with `homebutler watch install`, which only the operator can do. Adding a target twice returns `added: false`, not an error. ```APIDOC ## watch_add ### Description Adds a Docker container, systemd unit or PM2 app to the watch list. The tool writes the list and nothing starts watching it: a supervisor has to be installed with `homebutler watch install`, which only the operator can do. Adding a target twice returns `added: false`, not an error. ### Method write ### Arguments - `container` (string) - Required - Name of the container, systemd unit or PM2 app. For a systemd unit or PM2 app whose name differs, pass the real name in `unit`. A name with a space or a slash, or one that starts with `-`, returns `invalid name: `. - `kind` (string) - Optional - What the target is. One of `docker`, `systemd`, `pm2`. Default: `docker`. - `unit` (string) - Optional - The actual unit or app name when it differs from `container`. A unit that starts with `-` returns `invalid unit: `. A server running homebutler 1.7.0 or older can't take `unit`, so the call fails and that server's list doesn't change. The error names the version, such as ``[edge] the homebutler on edge is 1.7.0, and its `watch` does not have --unit``, followed by a line asking you to bring the two versions level. Upgrade that server, or leave `unit` out. - `server` (string) - Optional - Server from your config to run on. See [Run a tool on another server](/mcp#run-a-tool-on-another-server). ### Response - `container` (string) - The name you passed. - `kind` (string) - The kind that was recorded. - `added` (boolean) - `true` when the target was added. `false` when it was already on the list. ### Request Example ```json { "container": "web" } ``` ### Response Example ```json { "container": "web", "kind": "docker", "added": true } ``` Adding the same target again is not an error: ### Request Example ```json { "container": "web" } ``` ### Response Example ```json { "container": "web", "kind": "docker", "added": false } ``` Add a systemd unit under a name of your choice: ### Request Example ```json { "container": "nginx-hb", "kind": "systemd", "unit": "nginx.service" } ``` ### Response Example ```json { "container": "nginx-hb", "kind": "systemd", "added": true } ``` A kind outside the list returns an error: ### Request Example ```json { "container": "x", "kind": "k8s" } ``` ### Response Example ```text invalid kind "k8s": must be one of docker, systemd, pm2 ``` ``` -------------------------------- ### Error when using --server on local-only command Source: https://github.com/higangssh/homebutler/blob/main/docs/multi-server.md Commands that run only on this machine refuse --server and --all. This example shows the error for `install`. ```bash $ homebutler install jellyfin --server rpi5 error: install runs on this machine only; --server is not supported ``` -------------------------------- ### App-specific install options for Jellyfin, Pi-hole, Portainer, Nginx Proxy Manager Source: https://github.com/higangssh/homebutler/blob/main/README.md Shows how to install apps with specific options: mounting media for Jellyfin, DNS ad blocking for Pi-hole (with a systemd-resolved fix if port 53 is in use), Docker socket access for Portainer (HTTPS access), and reverse proxy with default credentials for Nginx Proxy Manager. Also shows custom port usage for any app. ```bash # Jellyfin: mount your media library homebutler install jellyfin --media /mnt/movies # Pi-hole / AdGuard: DNS ad blocking (port 53 required) homebutler install pi-hole # ⚠️ If port 53 is in use (Linux): sudo systemctl disable --now systemd-resolved # Portainer: Docker GUI (mounts docker socket) homebutler install portainer # Access via HTTPS: https://localhost:9443 # Nginx Proxy Manager: reverse proxy homebutler install nginx-proxy-manager # Default login: admin@example.com / changeme (change immediately!) # Any app: custom port homebutler install --port 9999 ``` -------------------------------- ### Take a baseline snapshot with homebutler report Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/quickstart.mdx Creates a baseline snapshot on first run. Saves it under ~/.homebutler/reports/snapshots/ and prints a confirmation message. ```bash homebutler report ``` ```text 📋 This is the butler's first look around — baseline created. ``` -------------------------------- ### Run all required checks before pushing Source: https://github.com/higangssh/homebutler/blob/main/CONTRIBUTING.md Run formatting, linting, tests, and build locally. All four must pass; CI rejects PRs that fail any. ```bash # Format code gofmt -w . # Run linter golangci-lint run # Run tests go test ./... # Build go build ./... ``` -------------------------------- ### Start monitoring with 5s interval and sample output Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/cli/watch.mdx Starts monitoring with a 5-second polling interval. The output shows startup messages, a CPU threshold warning and recovery, an incident report, and the shutdown message. The output is shortened by removing lines about other containers. ```bash homebutler watch start --interval 5s ``` ```text Starting monitors (polling interval=5s). Press Ctrl+C to stop. Docker targets: 1, Systemd targets: 1, PM2 targets: 1 Proxmox endpoints: 1 [11:19:28] ⚠️ CPU 85.1% (threshold: 90%) [11:19:37] ✅ CPU recovered (44.4%) [11:19:51] INCIDENT: web (incident web-20261025-111946.106-1e2bb7) Crash: SIGKILL, not reported as OOM-killed (unknown, confidence: low) Stopping all monitors. ``` -------------------------------- ### homebutler config validate command syntax Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/cli/config.mdx Shows the command syntax for validating the configuration file without starting a server, watcher, install, or remote connection. ```bash homebutler config validate [flags] ``` -------------------------------- ### Get Proxmox certificate fingerprint with openssl Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/apps/proxmox.mdx Use this command over a trusted connection to obtain the SHA-256 fingerprint of the node's certificate. Colons in the value are optional. ```bash openssl s_client -connect 192.168.1.10:8006 /dev/null | openssl x509 -noout -fingerprint -sha256 ``` -------------------------------- ### homebutler watch install failure when systemd user manager unreachable Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/cli/watch.mdx When the systemd user manager is not reachable, the unit file is written but the start fails. The output shows the error; run `watch uninstall` to remove the file. ```bash homebutler watch install ``` ```text error: wrote /home/you/.config/systemd/user/dev.homebutler.watch.service but could not start it: systemctl --user enable --now dev.homebutler.watch.service: exit status 1 Failed to connect to bus: No such file or directory ``` -------------------------------- ### Proxmox status output with unavailable endpoint Source: https://github.com/higangssh/homebutler/blob/main/docs/docs/apps/proxmox.mdx When part of an endpoint can't be read, status prints 'unavailable' for that line and a Warning line with the reason, exiting with status 0. Example shows a connection refused error. ```text Proxmox endpoint: pve Version: unavailable Cluster: unavailable Resources: unavailable Warning: version: proxmox request /api2/json/version: Get "https://127.0.0.1:8399/api2/json/version": dial tcp 127.0.0.1:8399: connect: connection refused ``` -------------------------------- ### Build docs site with npm run build Source: https://github.com/higangssh/homebutler/blob/main/docs/README.md Builds the site to `build/`. The build fails on any broken internal link, so a green build means no broken links. ```bash npm run build ```