Extensions/ComfyUI CTR Monitor
ComfyUI Extension

ComfyUI CTR Monitor

Retro Compaq CRT monitor HUD for ComfyUI showing loaded/unloaded models, VRAM usage, and live sampling progress with mechanical typing sound.

By demon820308·Created 2 days ago·Updated 2 days ago· 0
demon820308/Comfyui-CTR-Monitor
Nodes—
On cloudLocal install
Stars0
Updated2 days ago
Readme

ComfyUI CTR Monitor (comfyui-ctr-monitor)

A compact retro COMPAQ CRT monitor HUD for ComfyUI that sits neatly above the bottom-right canvas toolbar (236px wide). It types out currently loaded models when idle, logs model load/unload events with VRAM usage, displays a live ASCII sampling progress percentage bar during execution, and includes synthesized mechanical keyboard typing sound effects and a Light/Dark casing switch.


Features

  • Live Model Load / Unload Tracking (Even When Idle):
    • Continuously monitors comfy.model_management.current_loaded_models via /crt_monitor/status.
    • Prints currently resident models and their VRAM usage (> LOADED: juggernautXL_v9 (6.4G)), newly loaded models (> +LOAD: ...), and freed/unloaded models (> -UNLOAD: ...).
  • Real-Time Sampling Progress:
    • Hooks into ComfyUI's native WebSocket progress and executing events to render a live phosphor ASCII progress bar ([████░░░░] 50% (10/20)).
  • Synthesized Mechanical Typing Sound (Zero External Audio Assets):
    • Uses browser-native Web Audio API to generate crisp retro terminal key clicks with subtle pitch variation. Toggle anytime with 🔊 SND / 🔇 MUTE.
  • Light & Dark Casing Mode:
    • Click the 🟢 PWR indicator on the monitor chin (or the LED on the minimized bar) to switch between classic Retro Beige and Dark Charcoal casing.
  • Minimize & Free Top/Bottom Rail Dragging:
    • Click _MIN to collapse the monitor into a 236px single-line CRT ticker bar right above the bottom-right toolbar.
    • Drag the minimized bar freely to any horizontal position along the Top or Bottom edge of the canvas. All positions, theme, and sound settings persist in localStorage.

Installation

Via Comfy CLI / Comfy Registry

comfy node install comfyui-ctr-monitor

Via ComfyUI-Manager

Search for ComfyUI CTR Monitor (comfyui-ctr-monitor) in ComfyUI-Manager and click Install.

Manual Git Clone

cd ComfyUI/custom_nodes
git clone https://github.com/demon820308/Comfyui-CTR-Monitor.git

(No additional pip dependencies required.)


中文说明

ComfyUI CTR Monitor 是一个专为 ComfyUI 设计的怀旧 COMPAQ(康柏)CRT 电脑显示器状态监控台(宽度 236px,默认停靠在画布右下角缩放/小地图工具栏正上方)。

核心功能

  1. 工作流未运行时实时显示驻留模型:
    • 自动检测并像敲代码一样逐字打印当前显存中已加载的模型文件名与显存占用(如 > LOADED: flux1-dev-fp8 (11.4G))。
  2. 模型加载与卸载即时提示:
    • 当新模型加载进显存或使用完被卸载/清理释放时,屏幕会实时敲出 > +LOAD: ... 或 > -UNLOAD: ...。
  3. 采样进度百分比:
    • 采样期间在屏幕底部与迷你条内实时刷新 [████░░░░] 50% (10/20)。
  4. 机械打字音效(可随时开关):
    • 纯浏览器原生 Web Audio API 合成复古按键音效,点击 🔊 SND 一键静音/开启。
  5. 深色/浅色机身切换:
    • 点击右下角 🟢 PWR 电源指示灯,即可在经典米白外壳与黑武士深色外壳之间切换。
  6. 一键缩小与顶部/底部自由拖拽:
    • 点击 _MIN 自动在底部工具栏上方缩小为单行 CRT 状态条;按住状态条可在画布顶部或底部的任意横向位置自由拖动并自动记忆位置。

Provenance & License

  • Original Engineering Plugin: Independently designed and implemented for ComfyUI without external third-party runtime dependencies.
  • License: MIT License