Version 1.0.0
Phelix documentation
Build, run, deploy, and monitor Go and Rust applications across one machine or an entire server fleet.
What is Phelix?
Phelix is a Go-based CLI for managing the complete lifecycle of Go and Rust applications. It combines local process management with versioned releases, encrypted configuration, safe deployment strategies, container builds, and multi-server observability. It targets Linux, with experimental Windows support.
Quick start
# Initialize project config (creates phelix.yaml)phelix init # Build and run an app from the current directory (auto-detects Go or Rust)phelix build myapp --port 8080 # Rebuild after a code change (classic by default)phelix rebuild myapp # One-time migration from classic to the proxy (brief downtime)phelix stop myappphelix rebuild myapp --blue-green # Ship a change to 5% of traffic first, verify, then promotephelix rebuild myapp --canary 5 # Diagnose project compatibility (PORT usage, config, toolchain)phelix doctor # List all managed appsphelix list # Roll back to the previous versioned buildphelix rollback myappCore workflow
- BuildAuto-detect Go or Rust, compile the project, create a numbered version, record a Build Report, and start the app.
- DeployUse classic replacement, blue-green switching, rolling replicas, or verified canary and progressive rollouts.
- ObserveInspect status, logs, health checks, server metrics, and proxy routing.
- RecoverRoll back to a retained version and restore its paired encrypted environment snapshot.
A typical lifecycle: build then optional zero-downtime rebuild, with rollback as the safety net and stop / remove to retire an app. Every build is versioned (v1, v2, ...) and can be tagged.
Capabilities
| Area | Included in v1.0.0 |
|---|---|
| Runtime | Go and Rust auto-detection |
| Deployments | Classic, blue-green, rolling, canary, and progressive |
| Recovery | Versioned binaries, tags, dry-run previews, and audited rollback |
| Security | AES-256-GCM environment and registry credentials |
| Build intelligence | Automatic build reports and regression alerts, fully offline |
| Distribution | Docker, Compose, and matrix builds with release manifests |
| Docker runtime | Run app instances as containers under the zero-downtime proxy |
| Operations | Health checks, logs, proxy, and opt-in multi-server monitoring |
| Resource control | Per-instance CPU and memory limits via cgroups v2 (Linux) |
| Git webhooks | HMAC-authenticated pushes deploy exact commits with durable job history |