{"_id":"@codelive/cli","name":"@codelive/cli","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@codelive/cli","version":"1.0.0","description":"🚀 Modern CLI for managing Coolify deployments with beautiful UI and real-time dashboards","main":"index.js","bin":{"codelive":"bin/codelive.js"},"scripts":{"install":"node install.js","postinstall":"node postinstall.js","start":"node bin/codelive.js","test":"node test.js","build":"node build.js","package":"npm run build && npm pack","global-install":"sudo npm install -g .","clean":"rm -rf dist/ *.tgz"},"keywords":["codelive","coolify","cli","deployment","devops","infrastructure","docker","containers","management"],"author":{"name":"CodeLive Team","email":"team@codelive.dev","url":"https://codelive.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/codelive/cli.git"},"bugs":{"url":"https://github.com/codelive/cli/issues"},"homepage":"https://codelive.dev","engines":{"node":">=14.0.0","python":">=3.7.0"},"os":["darwin","linux","win32"],"cpu":["x64","arm64"],"preferGlobal":true,"dependencies":{},"devDependencies":{"pkg":"^5.8.1","rimraf":"^5.0.5"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"gitHead":"55db252e70e854cbe39b354c74bb99099b04becf","_id":"@codelive/cli@1.0.0","_nodeVersion":"20.19.5","_npmVersion":"11.6.2","dist":{"integrity":"sha512-jXe0IxQvAGOFXXX8naG6GWz5O07Ej3GJ3D7SjuHGkplcFy/ZOSD6pOYdpWhFRHTOAEa0RhXcoZ96BdHMdZCDag==","shasum":"308fc10d6ffb788d0dc09d25e01ae915b7ac521c","tarball":"https://registry.npmjs.org/@codelive/cli/-/cli-1.0.0.tgz","fileCount":14,"unpackedSize":102036,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIA6Xr2JciMVaJUEsiG3GEHvTIBul4dKcsBg1+cJNbuAFAiEA0/2+VkYTGRwYfpes+XGgeq+emx9v7/7RnRsouIIx0pA="}]},"_npmUser":{"name":"thedurancode","email":"emprezarioinc@gmail.com"},"directories":{},"maintainers":[{"name":"thedurancode","email":"emprezarioinc@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_1.0.0_1764973927129_0.6765054778040958"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-05T22:32:07.074Z","1.0.0":"2025-12-05T22:32:07.285Z","modified":"2025-12-05T22:32:07.528Z"},"maintainers":[{"name":"thedurancode","email":"emprezarioinc@gmail.com"}],"description":"🚀 Modern CLI for managing Coolify deployments with beautiful UI and real-time dashboards","homepage":"https://codelive.dev","keywords":["codelive","coolify","cli","deployment","devops","infrastructure","docker","containers","management"],"repository":{"type":"git","url":"git+https://github.com/codelive/cli.git"},"author":{"name":"CodeLive Team","email":"team@codelive.dev","url":"https://codelive.dev"},"bugs":{"url":"https://github.com/codelive/cli/issues"},"license":"MIT","readme":"# 🚀 CodeLive CLI\n\nA modern, interactive CLI for managing Coolify deployments with beautiful UI, fuzzy search, and real-time dashboards.\n\n## ✨ Features\n\n- 🎯 **Interactive Mode** - Beautiful menu-driven interface (default)\n- 📊 **Real-time Dashboard** - Live infrastructure overview\n- 🔍 **Fuzzy Search** - Find apps by typing partial names/UUIDs\n- 🔄 **Smart Management** - Interactive start/stop/restart with progress\n- 📜 **Enhanced Logs** - Beautiful formatted log viewer\n- 🚀 **Visual Deployment** - Progress bars and status updates\n- 🛡️ **Safety Features** - Confirmation prompts for destructive actions\n\n## 🚀 Quick Start\n\n### Option 1: Global Installation (Recommended)\n```bash\ncd /Users/edduran/Desktop/codelive-cli\n./install.sh\n```\n\nThen use from anywhere:\n```bash\ncodelive                    # Launch interactive mode\ncodelive projects           # List projects\ncodelive servers            # List servers\n```\n\n### Option 2: Local Usage\n```bash\ncd /Users/edduran/Desktop/codelive-cli\n./codelive-launcher projects     # List projects\n./codelive-launcher interactive   # Interactive mode\n```\n\n### Option 3: Manual Virtual Environment\n```bash\ncd /Users/edduran/Desktop/codelive-cli\nsource venv/bin/activate\n./codelive projects\n./codelive interactive\n```\n\n## 🎯 Interactive Mode\n\nSimply run `codelive` (no arguments) to launch the beautiful interactive interface:\n\n```\n🚀 CodeLive CLI - What would you like to do?\n❯ 📊 Dashboard\n  📋 List Projects\n  🖥️  List Servers\n  🔄 App Actions (Start/Stop/Restart)\n  📜 View Logs\n  🚀 Deploy Application\n  📈 Deployment Status\n  🔍 Search Apps (Fuzzy)\n  ❌ Exit\n```\n\n## 📋 Available Commands\n\n### Interactive Commands\n- `codelive` - Launch interactive mode (default)\n- `codelive interactive` - Explicitly launch interactive mode\n\n### Traditional Commands\n- `codelive projects` - List all applications\n- `codelive servers` - List all servers\n- `codelive logs <app-uuid>` - View application logs\n- `codelive start <app-uuid>` - Start an application\n- `codelive stop <app-uuid>` - Stop an application\n- `codelive restart <app-uuid>` - Restart an application\n- `codelive deploy --uuid <app-uuid>` - Deploy application\n- `codelive deploy --tag <tag-name>` - Deploy by tag\n- `codelive status <deployment-uuid>` - Check deployment status\n- `codelive list` - List all deployments\n- `codelive resources <app-uuid>` - Get app resources\n\n## 🔍 Fuzzy Search Examples\n\n```bash\n# Launch interactive mode and use fuzzy search\ncodelive\n\n# Or search directly from interactive mode:\n🔍 Enter search term: docker\n🔍 Enter search term: akwosg\n🔍 Enter search term: locgook\n```\n\n## 📊 Dashboard Features\n\n- **Real-time status** with color-coded indicators (🟢 running, 🔴 stopped)\n- **Server health monitoring** with online/offline status\n- **Application overview** with FQDN and status\n- **Automatic refresh** capability\n\n## 🛠️ Configuration\n\nThe CLI uses hardcoded configuration:\n- **Base URL:** `http://44.200.18.228:8000`\n- **API Token:** Pre-configured for your Coolify instance\n\n## 🎨 UI Examples\n\n### Dashboard Output:\n```\n┌──────────────────────────────────────────────────────────────┐\n│                    🚀 CodeLive CLI Dashboard                    │\n└──────────────────────────────────────────────────────────────┘\n\n📊 System Status\n┌─────────────┬────────────────────────────────────────┐\n│ Metric      │ Value                                 │\n├─────────────┼────────────────────────────────────────┤\n│ 🖥️  Servers │ ✅ 1/1 online                          │\n│ 📦 Applications │ 🟢 1 running | 🔴 2 stopped          │\n└─────────────┴────────────────────────────────────────┘\n```\n\n### Fuzzy Search Results:\n```\n✅ Found 3 matching applications:\n┌───────┬─────────────────────┬─────────────────┬─────────────────┐\n│ Match │ Name                │ UUID            │ Status          │\n├───────┼─────────────────────┼─────────────────┼─────────────────┤\n│ 100%  │ dockerfile-akwosg…  │ akwosgggo44k…   │ running:unkno… │\n│ 90%   │ docker-image-pw08…  │ pw08okcg8c8o…   │ exited:unheal… │\n└───────┴─────────────────────┴─────────────────┴─────────────────┘\n```\n\n## 🔧 Development\n\n### Project Structure:\n```\ncodelive-cli/\n├── codelive              # Main CLI script\n├── codelive-launcher     # Virtual environment launcher\n├── install.sh           # Global installation script\n├── requirements.txt     # Python dependencies\n├── venv/                # Python virtual environment\n├── INTERACTIVE_FEATURES.md  # Detailed feature documentation\n└── README.md           # This file\n```\n\n### Dependencies:\n- `requests` - HTTP client for API calls\n- `rich` - Beautiful terminal output\n- `fuzzywuzzy` - Fuzzy string matching\n- `inquirer` - Interactive command-line prompts\n\n## 🚀 Troubleshooting\n\n### Common Issues:\n\n1. **\"command not found: codelive\"**\n   ```bash\n   # Install globally\n   cd /Users/edduran/Desktop/codelive-cli\n   ./install.sh\n   ```\n\n2. **\"ModuleNotFoundError\"**\n   ```bash\n   # Use the launcher script\n   ./codelive-launcher projects\n\n   # Or activate virtual environment manually\n   source venv/bin/activate\n   ./codelive projects\n   ```\n\n3. **Permission Issues**\n   ```bash\n   # Make scripts executable\n   chmod +x codelive codelive-launcher install.sh\n   ```\n\n## 📄 License\n\nBuilt for managing Coolify deployments with ❤️\n\n---\n\n**Ready to get started? Just run:**\n```bash\ncd /Users/edduran/Desktop/codelive-cli\n./install.sh\ncodelive\n```\n\n🎉 Enjoy your beautiful new CLI experience!","readmeFilename":"README.md","_rev":"1-7da25a635b459a004272a8f37c6b71d5"}