Deploying side projects shouldn't require a platform engineering team. Yet most developers face a familiar fork: pay premium prices for managed platforms, or wrestle with manual server configuration, SSL certificates, and deployment scripts. MightyMoud/sidekick offers a third path—a single Go CLI tool that treats your VPS like a first-class deployment target, automating the entire journey from bare metal to production.
Built by a developer frustrated with existing hosting complexity, Sidekick distills Fly.io's developer experience into something you run on your own infrastructure. No vendor lock-in. No surprise bills. Just an $8 DigitalOcean instance handling real traffic with Docker↗ Bright Coding Blog, Traefik, and automated SSL. This article breaks down exactly what MightyMoud/sidekick does, how it works, and whether it fits your stack.
What is MightyMoud/sidekick?
MightyMoud/sidekick is an open-source CLI deployment tool written in Go, licensed under GNU General Public License v3.0. With 7,483 GitHub stars and active development (last commit February 3, 2026), it occupies a specific niche: developers who want Fly.io-style deployment simplicity without surrendering infrastructure control.
The project emerged from direct experience. Its creator, MightyMoud, found existing Heroku alternatives either too expensive or too complex for side projects. The insight: a simple VPS, properly automated, matches managed platforms for most workloads. A single $8/month DigitalOcean droplet can handle surprising traffic when Docker containers are load-balanced and SSL is handled automatically.
Sidekick is explicitly not a container orchestrator like Kubernetes or a full PaaS. It's a focused automation layer: one command to prepare your VPS, one to launch applications, one to deploy updates. The architecture choices reveal this philosophy—Docker for containerization, Traefik for edge routing and SSL, SOPS and age for secrets management, all wired together through SSH-based commands from your local machine.
The tool's relevance now tracks broader developer sentiment: managed platform costs have risen, "cloud exit" discussions have intensified, and teams increasingly want portable, understandable infrastructure. Sidekick addresses this without requiring you to become a Linux systems administrator.
Key Features
One-command VPS provisioning. sidekick init transforms a fresh Ubuntu LTS server into a deployment-ready platform. The command creates a dedicated sidekick user, hardens SSH access by disabling root login, installs Docker, configures Traefik with automatic SSL certificate generation, and sets up SOPS with age for secrets encryption. Typical setup time: approximately two minutes.
Docker-native deployments. Sidekick expects a Dockerfile in your project root. It builds Linux-targeted images locally, transfers them directly to your VPS, and orchestrates container startup with Docker Compose. No registry required, no complex CI/CD pipeline to configure first.
Zero-downtime deployments. The sidekick deploy command implements rolling updates that maintain service availability during version changes. The implementation uses Docker image caching to minimize transfer time on subsequent deployments.
Automatic SSL with Let's Encrypt. Traefik handles certificate provisioning and renewal without manual configuration. You provide a domain pointing to your VPS IP, or use sslip.io subdomains for immediate testing without DNS setup.
Integrated secrets management. Sidekick detects .env files and encrypts them using SOPS with age keys generated during initialization. Encrypted secrets travel to the server, decrypting at runtime for container injection. This avoids plaintext environment variables in version control or on disk.
Preview environments. sidekick deploy preview creates isolated deployments tied to Git commit hashes, accessible via hash-based subdomains. Requires a clean git working tree to ensure reproducible builds.
Multi-application hosting. The design supports running multiple projects on a single VPS, with Traefik routing by domain and load balancing across container replicas.
Use Cases
Side project hosting with production expectations. The original motivation and still the sweet spot. You build a web application, want HTTPS and reliable deploys, but don't generate revenue to justify $50+/month platform fees. An $8 VPS with Sidekick provides SSL, zero-downtime updates, and secrets management—the operational baseline that previously required managed services.
Client demo environments. Freelancers and agencies can stage applications on dedicated infrastructure with custom domains, then hand off the entire setup. The client owns the VPS, the deployment process is documented and repeatable, and there's no platform dependency to explain or migrate later.
Internal tools and team applications. Small teams running internal dashboards, admin interfaces, or microservices can consolidate on one or two VPS instances rather than spreading across multiple managed services. The SOPS integration provides audit-friendly secrets handling without additional infrastructure.
Learning production operations safely. Junior developers exploring Docker, reverse proxies, and SSL can inspect exactly what Sidekick configures. The Traefik and Docker Compose files remain accessible on the server, providing concrete examples of production patterns without requiring manual setup from scratch.
Escape from platform pricing unpredictability. Teams hitting usage thresholds on managed platforms can replicate core functionality on fixed-cost VPS infrastructure. The migration path is explicit: Sidekick's architecture mirrors platform features (containers, automatic SSL, load balancing) without proprietary abstractions.
Installation & Setup
Sidekick distributes through Homebrew. The installation command is:
brew install sidekick
Important prerequisite: Sidekick uses Homebrew internally to install sops on your local machine. If brew is unavailable, Sidekick will error. Install Homebrew from brew.sh if needed.
Your target VPS must meet minimal requirements:
- Ubuntu LTS (recommended)
- SSH key-based access from your local machine
- Public IP address
Sidekick searches for SSH keys in your ~/.ssh directory in this order:
id_rsa.pubid_ecdsa.pubid_ed25519.pub
Keys loaded in ssh-agent are also attempted. For custom keys, add them to the agent:
ssh-add KEY_FILE
Initialize your VPS with:
sidekick init
You'll provide:
- VPS IP address
- Email address for SSL certificate registration
Running init again with a different IP triggers a warning about configuration override.
For non-interactive usage, flags are documented at sidekickdeploy.com/docs/command/init/.
Real Code Examples
Example 1: Initialize a new VPS
sidekick init
This single command executes substantial server-side automation. Behind the scenes, Sidekick SSHs as root, creates a sidekick user with sudo privileges, disables root login for security, updates system packages, installs SOPS and generates age encryption keys, installs Docker and adds the user to the docker group, and finally configures Traefik with SSL certificate support. The public age key returns to your local ~/.sidekick configuration for later env file encryption.
Example 2: Launch a new application
# In your project directory containing a Dockerfile
sidekick launch
Interactive prompts request:
- URL-friendly application name (becomes sslip.io subdomain if no custom domain)
- HTTP port your application exposes (Sidekick attempts auto-detection from Dockerfile
EXPOSEdirectives) - Domain name, or accept the default sslip.io subdomain
- Confirmation to encrypt
.envfile if present
The command builds a Linux-targeted Docker image locally, transfers it to your VPS, encrypts any environment file with your age public key, and starts the container through Docker Compose with Traefik routing configured.
Example 3: Deploy an update without downtime
sidekick deploy
This leverages Docker layer caching for incremental transfers, compares your local .env file checksum against the server copy, re-encrypts and replaces environment files if changed, and executes a rolling container replacement that maintains request handling throughout.
Example 4: Deploy a preview environment
# Requires clean git working tree
sidekick deploy preview
The build tags the image with your commit's short hash, creates a preview/ subdirectory on the server for isolated management, and deploys to a matching hash-based subdomain. This enables branch-per-commit testing without affecting production routing.
Advanced Usage & Best Practices
Domain preparation. For custom domains, configure DNS A records pointing to your VPS IP before running sidekick launch. Traefik's Let's Encrypt integration validates domain ownership during certificate request; premature execution generates unnecessary failed validation attempts.
Secrets workflow. Commit your .env file to version control only after Sidekick encrypts it with SOPS. The encrypted file is safe for repository storage—the age private key never leaves your VPS and local machine. Rotate secrets by updating .env, running sidekick deploy, and letting the checksum comparison trigger re-encryption.
Resource planning. While Sidekick supports multiple applications per VPS, container memory limits and Traefik's routing table grow with each addition. Monitor with docker stats on the server, or consider the roadmap's promised TUI for VPS monitoring. For CPU-bound workloads, the documented load balancing across multiple containers per project helps, though this requires sufficient VPS resources.
Preview environment hygiene. Preview deployments accumulate on the server. The current implementation requires manual cleanup of old commit-based environments. Plan periodic SSH access to remove stale preview directories, or await roadmap features for automated lifecycle management.
SSH key security. Sidekick's security model depends on SSH key protection. The tool disables root login and creates a dedicated user, but your local private key remains the authentication boundary. Use ed25519 keys where possible, and protect with hardware security keys for production deployments.
Comparison with Alternatives
| Tool | Infrastructure | Complexity | Cost Model | Best For |
|---|---|---|---|---|
| MightyMoud/sidekick | Your VPS | Low CLI commands | Fixed VPS cost | Developers wanting control without operational burden |
| Fly.io | Managed platform | Low with flyctl |
Usage-based, per-resource | Teams prioritizing global edge deployment over cost |
| Kamal | Your servers/VPS | Moderate, Ruby-based | Fixed infrastructure | Rails-centric deployments, DHH's 37signals stack |
| Dokku | Your VPS | Moderate, plugin ecosystem | Fixed VPS cost | Heroku-like experience with broader language support |
Sidekick vs. Fly.io: Fly.io provides global anycast routing, managed databases, and deeper platform integration. Sidekick trades these for cost predictability and infrastructure ownership. If your users are geographically concentrated and you manage your own database, Sidekick's VPS model may outperform on price-performance.
Sidekick vs. Kamal: Both target VPS deployment with Docker, but Kamal originates from Rails conventions and requires Ruby. Sidekick's Go binary installs via Homebrew without runtime dependencies, and its SOPS integration provides more structured secrets handling than Kamal's native env file approach.
Sidekick vs. Dokku: Dokku offers a broader plugin ecosystem and longer project history. Sidekick's narrower scope—deliberately excluding plugin complexity—yields faster setup and less configuration surface. Dokku suits teams wanting extensibility; Sidekick suits those wanting immediate, opinionated defaults.
FAQ
What VPS providers work with Sidekick? Any provider offering Ubuntu LTS with a public IP. DigitalOcean and Hetzner are explicitly mentioned; self-hosted hardware with public routing also functions.
Does Sidekick support operating systems other than Ubuntu? The README specifies Ubuntu LTS exclusively. Other distributions may work but are untested and unsupported.
Can I use Sidekick without a custom domain? Yes. sslip.io subdomains are provided by default for testing and development deployments.
How does Sidekick handle secrets differently from environment variables?
It encrypts .env files with SOPS and age before server transfer, decrypting only at container runtime. Plaintext secrets never reside on disk remotely.
Is there a graphical interface? No. Sidekick is CLI-only, though the roadmap includes a TUI for VPS monitoring.
What happens if I lose my local age key?
The README doesn't specify recovery procedures. You would likely need to regenerate keys and re-encrypt secrets. Maintain secure backups of your ~/.sidekick configuration.
Can multiple developers deploy to the same VPS? The README doesn't address multi-user scenarios. Shared deployment would require distributing SSH access and age keys, which Sidekick doesn't explicitly coordinate.
Conclusion
MightyMoud/sidekick delivers exactly what its README promises: bare metal to production-ready in minutes, on hardware you control, at costs you predict. For developers hosting side projects, internal tools, or client work where platform pricing feels disproportionate, it removes the operational barrier without abstracting away your infrastructure.
The 7,483 stars suggest resonance with a specific developer profile: technically capable, cost-conscious, and skeptical of managed platform lock-in. Sidekick won't replace Kubernetes for complex microservices or match Fly.io's global edge network. It succeeds by refusing to try—instead optimizing ruthlessly for the single-VPS, Docker-based deployment path.
If you're currently paying $30+/month for managed hosting of applications that would run comfortably on an $8 VPS, the hour invested learning Sidekick's three-command workflow likely pays back in weeks. The GPL v3.0 license guarantees continued availability and community modification rights.
Explore the source, review the roadmap for upcoming features like database deployment and auto-deploy hooks, and evaluate whether your next project deserves its own infrastructure. Start at the MightyMoud/sidekick GitHub repository.
For related deployment automation approaches, see our coverage of [INTERNAL_LINK: container orchestration tools for small teams].