WP Fleet Manager

Self-hosted, single-server WordPress Fleet Manager for HestiaCP. Manages WordPress core, plugins, themes, staging copies, pre-update snapshots, health checks, and one-time admin logins directly via WP-CLI without child plugins or HTTP callbacks.

Architecture

  • Backend: Node.js 24 (or 22+) with Fastify v5, bound to 127.0.0.1:3100.
  • Database: Built-in node:sqlite (data/fleet.db). No external database server (no PostgreSQL or MySQL setup) is required for WP Fleet itself.
  • Frontend: Vanilla JS and CSS served directly by Fastify.
  • Privilege Model: Runs as unprivileged user wp-fleet. All WP-CLI commands drop privileges to the owning HestiaCP user (sudo -n -u <user> /usr/local/bin/wp). Privileged filesystem/cache tasks run through /usr/local/sbin/wp-fleet-helper with strict input validation.

Requirements

  • Ubuntu 24.04 LTS with HestiaCP (or Nginx + PHP-FPM + MariaDB + Redis)
  • Node.js 22.x or 24.x
  • WP-CLI installed at /usr/local/bin/wp
  • git, tar, gzip, rsync, sudo

For those who still use Wordpress! GitHub - christoskaterini/WP-Fleet · GitHub

Similar planned for Joomla CMS :wink:?

Sorry but, not in my future plans.

Very nice! Thank you!