GumCP: a free web control panel and dashboard for your Raspberry Pi

#gumcp #php #raspberry-pi

No replies · 0 views · started 29 minutes ago · 3 min read

GumSlone Administrator Principal · 1,698 posts #1

Tired of SSHing into your Raspberry Pi just to check the temperature, restart a service or flip a GPIO pin? GumCP is a free, open-source web control panel built for the Pi: a lightweight alternative to Webmin and Cockpit that runs on plain Apache and PHP.

What you get

  • Dashboard: live CPU, temperature, memory, swap, disk, load, uptime, per-interface network stats (including Wi-Fi signal), and the Pi's power and throttling status.
  • Services: see every system service and start or stop it with one click.
  • Processes: sorted by memory use; kill by PID or name.
  • GPIO control: pin mode, HIGH/LOW and pull-up/down for every header pin. It uses WiringPi on Pi 1–4 and raspi-gpio on Pi 5, picked automatically.
  • Raspberry Pi tools: vcgencmd info (clocks, voltages, firmware), switching I2C, SPI, 1-Wire, SSH, VNC and the camera on or off, and editing config.txt.
  • Package updates: apt update and apt upgrade from the browser.
  • Logs: the systemd journal, dmesg and /var/log, with filtering.
  • Cron jobs: view, add and remove scheduled tasks.
  • Docker: start, stop and restart containers, and view their logs (optional).

The fun part: buttons, scripts and the API

  • Command buttons: make a one-click button for any shell command, such as restarting the media server, running a backup or turning on the fan. Drag them into any order.
  • Button API: optionally give each button a secret key, so Home Assistant, curl or any automation can trigger it without logging in, and limit it by IP:
curl -H 'X-GumCP-Key: <your-button-key>' http://pi.local/GumCP/api.php
  • Script editor: write shell and Python scripts in the browser with syntax highlighting. It works offline and comes with Pi examples such as a GPIO LED blink.
  • Dashboard tiles: pin up to six scripts and their latest output shows on the dashboard, a live readout for your sensors.

Alerts and safety

  • Phone alerts via ntfy or Telegram for high CPU temperature, under-voltage, a nearly full disk or a login lockout.
  • Two-factor login with any authenticator app.
  • Backup and restore of your config, buttons and scripts in one file, which is a lifesaver after an SD card dies.
  • System Check page: it tests PHP extensions, permissions, SSH and the GPIO tools, with Fix buttons for common problems.

Extras: a dark theme, drag-and-drop menu order, and the interface in English, German, Ukrainian, Spanish and French. Optional modules add a file manager, a database manager and support for TeHyBug sensors.

Install in two commands

sudo apt-get update && sudo apt-get install -y wget
wget https://raw.githubusercontent.com/gumslone/GumCP/master/installer.sh && bash ./installer.sh

The installer sets up Apache, PHP and the GPIO tool, then puts GumCP in /var/www/html/GumCP/. Open http://<your-pi-ip>/GumCP/ in a browser.

Change the default password right away. The defaults are published, and the panel can run commands on your Pi. GumCP shows a warning banner until you change it. Keep the panel on your home network, or reach it through Tailscale or a VPN; don't open it to the whole internet.

It works on Pi 1 through Pi 5, with PHP 7.0 to 8.3.

Links

What would you put on your first command button? And which feature is missing for your Pi setup?

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close