Skip to main content
Back to projects
VP

VPSKit

VPSKit - Configure, secure and deploy from your terminal

Open Source
Jan 2025Visit site
BashDockerCaddyLinux
VPSKit

VPSKit

VPSKit is an open source CLI tool I built to automate VPS configuration, hardening and deployment. One bash command and the server is
ready. No data sent to any third-party service.

The 6 scripts

  • setup.sh - Secures a fresh VPS: system update, protected user creation, SSH key, SSH hardening, firewall, fail2ban, Docker, Caddy (auto HTTPS reverse proxy), unattended upgrades and MOTD dashboard
  • deploy.sh - Deploys an app from a GitHub repo with Docker and HTTPS. Supports updates and one-click rollback
  • status.sh - Server overview: disk space, memory, running apps, configured domains
  • backup.sh - Backups with automatic SQL dump (PostgreSQL, MySQL, MongoDB), upload to S3/Cloudflare R2 and scheduled rotation
  • security.sh - Full server audit with a score: SSH, firewall, fail2ban, SSL, Docker permissions, updates
  • settings.sh - SSH shortcuts, keys, language, remote backup and auto-deploy via GitHub Actions configuration

Compatibility

Compatible with Ubuntu, Debian, AlmaLinux, Rocky, CentOS and Fedora. The script detects the distribution and adapts automatically.

Tech stack

Entirely written in Bash. Uses Docker for containers, Caddy as reverse proxy with automatic HTTPS. MIT License.