@codelive/cli
v1.0.0
Published
π Modern CLI for managing Coolify deployments with beautiful UI and real-time dashboards
Maintainers
Readme
π CodeLive CLI
A modern, interactive CLI for managing Coolify deployments with beautiful UI, fuzzy search, and real-time dashboards.
β¨ Features
- π― Interactive Mode - Beautiful menu-driven interface (default)
- π Real-time Dashboard - Live infrastructure overview
- π Fuzzy Search - Find apps by typing partial names/UUIDs
- π Smart Management - Interactive start/stop/restart with progress
- π Enhanced Logs - Beautiful formatted log viewer
- π Visual Deployment - Progress bars and status updates
- π‘οΈ Safety Features - Confirmation prompts for destructive actions
π Quick Start
Option 1: Global Installation (Recommended)
cd /Users/edduran/Desktop/codelive-cli
./install.shThen use from anywhere:
codelive # Launch interactive mode
codelive projects # List projects
codelive servers # List serversOption 2: Local Usage
cd /Users/edduran/Desktop/codelive-cli
./codelive-launcher projects # List projects
./codelive-launcher interactive # Interactive modeOption 3: Manual Virtual Environment
cd /Users/edduran/Desktop/codelive-cli
source venv/bin/activate
./codelive projects
./codelive interactiveπ― Interactive Mode
Simply run codelive (no arguments) to launch the beautiful interactive interface:
π CodeLive CLI - What would you like to do?
β― π Dashboard
π List Projects
π₯οΈ List Servers
π App Actions (Start/Stop/Restart)
π View Logs
π Deploy Application
π Deployment Status
π Search Apps (Fuzzy)
β Exitπ Available Commands
Interactive Commands
codelive- Launch interactive mode (default)codelive interactive- Explicitly launch interactive mode
Traditional Commands
codelive projects- List all applicationscodelive servers- List all serverscodelive logs <app-uuid>- View application logscodelive start <app-uuid>- Start an applicationcodelive stop <app-uuid>- Stop an applicationcodelive restart <app-uuid>- Restart an applicationcodelive deploy --uuid <app-uuid>- Deploy applicationcodelive deploy --tag <tag-name>- Deploy by tagcodelive status <deployment-uuid>- Check deployment statuscodelive list- List all deploymentscodelive resources <app-uuid>- Get app resources
π Fuzzy Search Examples
# Launch interactive mode and use fuzzy search
codelive
# Or search directly from interactive mode:
π Enter search term: docker
π Enter search term: akwosg
π Enter search term: locgookπ Dashboard Features
- Real-time status with color-coded indicators (π’ running, π΄ stopped)
- Server health monitoring with online/offline status
- Application overview with FQDN and status
- Automatic refresh capability
π οΈ Configuration
The CLI uses hardcoded configuration:
- Base URL:
http://44.200.18.228:8000 - API Token: Pre-configured for your Coolify instance
π¨ UI Examples
Dashboard Output:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π CodeLive CLI Dashboard β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π System Status
βββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββ
β Metric β Value β
βββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββ€
β π₯οΈ Servers β β
1/1 online β
β π¦ Applications β π’ 1 running | π΄ 2 stopped β
βββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββFuzzy Search Results:
β
Found 3 matching applications:
βββββββββ¬ββββββββββββββββββββββ¬ββββββββββββββββββ¬ββββββββββββββββββ
β Match β Name β UUID β Status β
βββββββββΌββββββββββββββββββββββΌββββββββββββββββββΌββββββββββββββββββ€
β 100% β dockerfile-akwosgβ¦ β akwosgggo44kβ¦ β running:unknoβ¦ β
β 90% β docker-image-pw08β¦ β pw08okcg8c8oβ¦ β exited:unhealβ¦ β
βββββββββ΄ββββββββββββββββββββββ΄ββββββββββββββββββ΄ββββββββββββββββββπ§ Development
Project Structure:
codelive-cli/
βββ codelive # Main CLI script
βββ codelive-launcher # Virtual environment launcher
βββ install.sh # Global installation script
βββ requirements.txt # Python dependencies
βββ venv/ # Python virtual environment
βββ INTERACTIVE_FEATURES.md # Detailed feature documentation
βββ README.md # This fileDependencies:
requests- HTTP client for API callsrich- Beautiful terminal outputfuzzywuzzy- Fuzzy string matchinginquirer- Interactive command-line prompts
π Troubleshooting
Common Issues:
"command not found: codelive"
# Install globally cd /Users/edduran/Desktop/codelive-cli ./install.sh"ModuleNotFoundError"
# Use the launcher script ./codelive-launcher projects # Or activate virtual environment manually source venv/bin/activate ./codelive projectsPermission Issues
# Make scripts executable chmod +x codelive codelive-launcher install.sh
π License
Built for managing Coolify deployments with β€οΈ
Ready to get started? Just run:
cd /Users/edduran/Desktop/codelive-cli
./install.sh
codeliveπ Enjoy your beautiful new CLI experience!
