PADD (Pi-hole At a Dash, formerly PAD) is a terminal-based dashboard that displays live Pi-hole statistics — queries today, blocked percentage, top blocked domains, and system metrics — directly in the terminal. It is ideal for a dedicated Pi-hole server where you want an at-a-glance status screen without opening a browser.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/damianiglesias/pihole-ubuntu-deploy/llms.txt
Use this file to discover all available pages before exploring further.
Installation via deploy.sh
During thedeploy.sh interactive setup you will be prompted at Step 4.8:
y and press Enter. The script will run:
padd command.
Running PADD
Once installed, launch the dashboard from any terminal session:Ctrl+C to exit.
Auto-Start on SSH Login
Opt in during installation
Immediately after PADD is installed, Type
deploy.sh will ask:y and press Enter.The script detects the real user's home directory
Because This ensures the
deploy.sh runs as root via sudo, it uses $SUDO_USER (falling back to logname) to find the home directory of the user who invoked the script:.bashrc line is added to the correct user’s profile rather than root’s.The script appends a line to ~/.bashrc
The following snippet is added to the user’s
~/.bashrc file. It checks whether the current shell is an interactive SSH session before launching PADD, so it will not fire in non-interactive contexts such as scp or automated scripts:Manual Auto-Start Setup
If you skipped the auto-start prompt during installation, you can configure it manually at any time by appending the same line to your~/.bashrc:
Updating PADD
PADD is a single-file script pulled directly from the Pi-hole GitHub repository. To update to the latest version, re-run thewget command — the -N flag ensures the file is only downloaded if the remote version is newer than the local copy:
padd, the updated version will be used.