f48a6b24d8cfbef7ca7ef51c8e27706d59e2bf0d
🔍 ComfyUI HealthCheck
A lightweight health check plugin for ComfyUI that monitors custom node import status and provides colorful summary reports.
Features
- 📦 Auto-count total installed plugins (folders + .py files)
- ✅ Detect successful imports via real-time log capture
- ❌ List failed plugins with full paths for easy troubleshooting
- 📊 Health percentage calculation (success rate)
- 🧠 Total node classes count
- 🎨 Colorful console output (ANSI colors)
- ⏱️ Delayed reporting (after all plugins loaded)
Installation
Method 1: ComfyUI Manager (Recommended)
- Open ComfyUI Manager
- Click "Custom Nodes Manager"
- Search for "HealthCheck"
- Install and restart
Method 2: Git Clone
cd ComfyUI/custom_nodes
git clone https://github.com/love530love/ComfyUI-HealthCheck.git
Method 3: Manual
- Download
ComfyUI_HealthCheck.pyfrom Releases - Copy to
ComfyUI/custom_nodes/ - Restart ComfyUI
Usage
No configuration needed. After ComfyUI starts, check the console output:
============================================================
🚀 ComfyUI Plugin Health Report
============================================================
📦 Total Plugins: 306 (folders: 289, .py: 17)
✅ Successful: 305
❌ Failed: 1
📊 Health: 99.7%
🧠 Node Classes: 6890
🚨 Failed Plugins:
✗ Example-Plugin
└─ H:\ComfyUI\custom_nodes\Example-Plugin
💡 Troubleshooting Hint:
Search the startup log above for Traceback, Cannot import, ModuleNotFoundError, or ImportError.
============================================================
How It Works
- Disguised as Node: Registers a dummy node to avoid "IMPORT FAILED"
- Log Capture: Temporarily redirects stdout/stderr to detect "(IMPORT FAILED)" markers
- Delayed Output: Waits briefly after import timing output so plugins can finish loading
- Troubleshooting Hint: Reminds you which log keywords to search when a plugin import fails
- Color Report: ANSI-colored summary in console
Compatibility
- Windows / Linux / macOS
- Python 3.8+
- ComfyUI 0.1.0+
Links
- GitHub: https://github.com/love530love/ComfyUI-HealthCheck
- Issues: https://github.com/love530love/ComfyUI-HealthCheck/issues
- CSDN Blog: https://aicity.blog.csdn.net/article/details/156202270
License
MIT License
Languages
Python
100%