Virus

VPSManager: case study

Your VPS fleet, in one native Mac app.

  • What: Native macOS app
  • Role: Design, build and release
  • Built with: Swift, SwiftUI, SwiftTerm
  • Runs on: macOS 14 or later · MIT

The problem

Running apps on your own servers means living in a dozen terminal tabs.

Hardening a fresh VPS, pushing code, tailing logs, restarting PM2 apps, checking Docker and systemd, editing a config on the box: each is its own command on its own server. VPSManager puts all of it in one native Mac app, without replacing the tools underneath.

What I built

Server setup wizard

Turns a fresh root and password VPS into a hardened box: a sudo user, your SSH key, root login and password auth turned off, then it checks passwordless login works.

Project sync

Link a local folder to a path on the server, see a dry-run diff, then push with rsync. Optional auto-sync on save.

A browser that runs on the server

Click Launch Browser and a real headless Chromium starts on the VPS and streams into the app. You click, scroll and type into it as if it were local. Every request leaves from the server's own IP, and http://localhost:<port> reaches services that only listen on the VPS.

Files

Browse, edit, upload and preview remote files, with syntax highlighting.

Terminal

A real embedded terminal for every server, built on SwiftTerm.

PM2

A dashboard, live logs, and a wizard that writes ecosystem.config.js for Node.js or Python apps and makes them survive reboots.

Docker, systemd and network

Containers, units, journal logs, listening ports, firewall status and port forwarding.

Cloudflare Tunnels

Route a port to a domain. The tunnel, the DNS record and config.yml are handled for you.

AI agents, with permission per server

Turn on the MCP server in Settings, and Claude Code, Claude Desktop, Cursor or any other MCP client can check status, read logs and files, and, only where you allow it, run commands or push projects. Every call is logged in the app.

Decisions that mattered

The real ssh and rsync

VPSManager shells out to the real ssh, rsync and ssh-keygen on your Mac, so it works with whatever you've already set up by hand. No custom protocol, no agent to install on the server.

No cloud, no accounts

Everything is stored on your Mac as JSON. Nothing is sent anywhere except SSH connections to servers you add.

Push-only sync, on purpose

No, on purpose. Sync is push-only, from your Mac to the VPS, with a dry-run preview: edit locally, review, push.

Agents start with no access

Off: Agents can't see the server at all. Every server starts here. Read-only: Status, logs, file reads and listings. Nothing that changes the server. Full access: Also runs commands, writes files, and starts or stops services, containers and PM2 apps.

Where it is now

VPSManager is free and open source under the MIT license: the source and every release are on GitHub, for any Mac on macOS 14 or later, Apple silicon or Intel.