Orphelix CLI
The Orphelix CLI provides a convenient way to manage your Kubernetes dashboard as a background service using pm2. It handles installation, configuration, and lifecycle management with simple commands.Key Features
- π One-Command Setup - Auto-installs dependencies, builds, and configures on first run
- π Background Execution - Runs as a daemon via pm2, no need to keep terminal open
- π Custom Hostname - Configures
orphelix.localfor easier access - πΎ SQLite Database - Persistent storage for settings and preferences
- π Desktop Notifications - Get alerts for critical Kubernetes issues
- π¦ Multi-Instance Support - Run multiple instances for different clusters
- π Auto-Update - Update to latest version from GitHub with automatic backup
- πΎ Backup & Restore - Easy database backup and restore functionality
- π Auto-Startup - Optional system boot auto-start
Quick Start
First Run Setup
On first run,orphelix start will automatically:
- β Check and install npm dependencies
- β Build standalone Next.js application
- β
Configure
orphelix.localhostname (requires sudo) - β Initialize SQLite database
- β Start application in background via pm2
- β Start notification worker for desktop alerts
/etc/hosts.
Access URLs
After starting, access Orphelix at:- Custom hostname:
http://orphelix.local:3000 - Standard localhost:
http://localhost:3000
Architecture
Command Categories
Process Management
Start, stop, restart, and monitor the application- start - Start Orphelix in background
- stop - Stop Orphelix
- restart - Restart Orphelix
- status - Check if running
- logs - View real-time logs
- list - List all running instances
- delete - Remove from pm2
Information
Get information about the application- version - Show version and check for updates
- info - Show detailed application info
- doctor - Run health checks
Backup & Configuration
Manage data and settings- backup - Create database backup
- restore - Restore from backup
- export-config - Export configuration as JSON
- import-config - Import configuration from JSON
Development
Tools for developers- dev - Start in development mode
- debug - Start with debugger
- test - Run tests
- clean - Clean caches and logs
Maintenance
System maintenance and updates- update - Update to latest version
- startup - Enable auto-startup on boot
- unstartup - Disable auto-startup
Global Options
These options work with multiple commands:--port, -p- Specify custom port (default: 3000)--name, -n- Instance name for multi-instance support
Environment Variables
ORPHELIX_PORT- Set default port (can be overridden with--port)
Next Steps
Installation
Install Orphelix CLI globally
Commands
Explore all available commands
Multi-Instance
Run multiple instances for different clusters
Troubleshooting
Common issues and solutions