Skip to content
Node packVerifiedExternal
Open source

kaytool

一个为 ComfyUI 开发的自定义节点实用工具包 A custom node utility package developed for ComfyUI

Maintainer@kk8bitCgrade

Package profile

Status
Verified
Publisher
@kk8bit
Source
GitHub
Stars
398

README

KayTool

更新日志 (CHANGELOG)

这是一个为 ComfyUI 开发的自定义节点实用工具包,起初只是为了自己用方便,在未来我会陆续为它增加功能。

This is a custom node utility package developed for ComfyUI. Initially created for personal convenience, I will continue adding features in the future.

最新更新 / Last Update

[0.71.3] - 2026-09-22

  • GuLuLu 的像素点击判定增加图片加载保护:图片未就绪、加载失败或被替换成无法加载的文件时不再抛错,也不会把小人误判为「整只透明、点不到」(思路来自 EndoTheDev 的 PR #22)
  • GuLuLu's pixel hit-testing now guards against the image not being ready, failing to load or being replaced with an unloadable file: no more exceptions, and the sprite no longer becomes unclickable (approach from EndoTheDev's PR #22)
  • 资源监视器面板改为独立合成层(will-change: transform),它每帧重绘时不再连带重绘被它盖住的那块主画布
  • The resource monitor panel now gets its own compositor layer (will-change: transform), so its per-frame redraw no longer forces the main canvas region beneath it to repaint
  • 资源监视器的数据行和顶部的工作流进度条改为只创建一次:条形每帧用 transform 平滑跟随曲线(不触发布局),文字每 100ms 更新。此前每帧重写整块 innerHTML 并新建 canvas 量字宽,每秒数百次 DOM 重建,是拖动画布时掉帧的来源之一;现在单次开销降到 0.01ms 以下
  • The resource monitor's data rows and the workflow progress bar are now built once: bars follow the curves every frame via transform (no layout), text updates every 100ms. Previously every frame rewrote the whole innerHTML and created a canvas per row to measure text — hundreds of DOM rebuilds a second and one cause of dropped frames while panning; each update now costs under 0.01ms

[0.71.2] - 2026-09-21

  • 修正 Registry 元数据里的仓库地址大小写,使 ComfyUI-Manager 能把 Registry 条目与列表条目合并显示(此前会显示为两个包,其中一个无版本号、无星数、排序垫底)
  • Aligned the repository URL in the registry metadata with ComfyUI-Manager's list entry so Manager merges them into one (they showed as two packs, one without a version or stars, sorted to the bottom)
  • 修复资源监视器的内存已用量与百分比口径不一致的问题(macOS 上会显示成「10.1/24GB (68%)」这种自相矛盾的数值);现在两者都按「总量 − 可用」计算,与活动监视器一致
  • Fixed the resource monitor's RAM figure disagreeing with its own percentage (on macOS it could read "10.1/24GB (68%)"); both now derive from total − available, matching Activity Monitor

[0.71.1] - 2026-09-20

  • 移除 AIO / Tencent / Baidu 三个翻译节点,改为独立仓库 ComfyUI-kaytool-translate(Git 安装,节点标识不变,旧工作流装上即恢复)。原因:Registry 安全扫描会把任何网络请求标记为需人工审核,翻译节点无法避免;拆出后核心包不再被卡。核心包同时不再依赖 requests
  • Removed the AIO / Tencent / Baidu translation nodes into a separate repository, ComfyUI-kaytool-translate (installed from Git; node identifiers unchanged, so existing workflows recover once it is installed). The Registry's security scan flags any network request for manual review, which translation cannot avoid; splitting them out keeps the core package from being held up. The core package no longer depends on requests
  • 资源监视器改为前端按需轮询(0.5–2 秒自适应),不再由后端常驻任务推送:面板关闭或标签页在后台时后端完全不采集;多标签页共享 200ms 缓存
  • The resource monitor now polls on demand from the frontend (adaptive 0.5–2s) instead of a resident backend task pushing over WebSocket: nothing is collected while the panel is closed or the tab is in the background; multiple tabs share a 200ms cache
  • RemBG 模型不再强制下载到插件目录,改由 rembg 自行管理(默认 ~/.rembg/models/,可用 REMBG_HOME 环境变量更改)。此前的做法会修改整个进程的环境变量,影响同一 ComfyUI 内其他使用 rembg 的插件。升级后首次使用会重新下载模型,原插件目录下 models/RemBG/ 里的文件可删除或移动过去
  • RemBG models are no longer forced into the plugin folder; rembg manages them itself (default ~/.rembg/models/, configurable via REMBG_HOME). The old approach modified the process-wide environment and affected other rembg-based plugins in the same ComfyUI. Models will be re-downloaded once after upgrading; files under the plugin's models/RemBG/ can be deleted or moved over
  • 资源监视器的曲线在高分屏上不再模糊:画布按 devicePixelRatio 配置后备缓冲,去掉了导致纵向压扁的写死高度;面板最小高度提高到 150,缩到最小也能完整显示底部数据行
  • The resource monitor chart is no longer blurry on HiDPI displays: the canvas backing store now follows devicePixelRatio and the hardcoded height that squashed it vertically is gone; the panel's minimum height is now

Nodes in this pack

24 nodes
  • AB_Images
  • Abc_Math
  • Color_Adjustment
  • Custom_Save_Image
  • Display_Any
  • Image_Composer
  • Image_Cropper
  • Image_Mask_Composer
  • Image_Resizer
  • Image_Size_Extractor
  • Kay_BiRefNet_Loader
  • Load_Image_Folder
  • Mask_Blur_Plus
  • Mask_Filler
  • Preview_Mask
  • Preview_Mask_Plus
  • RemBG_Loader
  • Remove_BG
  • Slider_10
  • Slider_100
  • Slider_1000
  • Strong_Prompt
  • Text
  • To_Int

Related resources

6 connections

Sources

3 sources
GitHubSourceVersion 0ec744cc02c372546412d220ced3f830d3e59ec0
github.com/kk8bit/kaytool

Verified Oct 16

GitHubSource
github.com/kk8bit/KayTool

Verified Oct 11

Source excerpts

1 excerpt

Source context: Repo kk8bit/kaytool