ComfyUI-Line-counter

ComfyUI-Line-counter
★ 2

文件计数行计数目录统计工作流优化
在 ComfyUI 中提供文本文件行计数与目录文件计数节点,快速统计行数与文件数量,便于审计与批量处理。
💡 快速统计日志或目录中文件数量用于审计与管理
🍴 3 Forks💻 JavaScript🔄 2025-03-12
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/a1f1f564f19c
📄 README

ComfyUI Line Counter 🎯

[](https://github.com/ChrisColeTech/ComfyUI-Line-counter/actions)

🚀 Overview

Welcome to ComfyUI Line Counter! This custom node package for ComfyUI is designed to streamline your workflow with powerful file-counting capabilities.

🔥 Features

  • 🎯 Text File Line Counter:
  • Count the number of lines in any text file with ease. Perfect for analyzing logs, scripts, and more.
  • 🎯 Directory File Counter:
  • Count the number of files in a directory. Ideal for managing and auditing file structures quickly.
  • 📸 Preview

    🎯 Text File Line Counter:

    🎯 Directory File Counter:

    📦 Installation

    Method 1: Clone Repository into custom_nodes Folder

  • Clone the Repository:
  • Open Command Prompt or PowerShell and run the following command to clone the repository into the custom_nodes directory of your ComfyUI setup:

    git clone https://github.com/ChrisColeTech/ComfyUI-Line-counter.git

    Replace path\to\comfyui with the actual path to your ComfyUI installation

  • Restart ComfyUI:
  • Restart your ComfyUI server to load the new nodes.

    Method 2: Install via ComfyUI Manager

  • Open ComfyUI Manager:
  • Launch the ComfyUI Manager application from your Start menu or desktop shortcut.

  • Search for ComfyUI-Line-counter:
  • In the ComfyUI Manager, go to the Node Manager and search for ComfyUI-Line-counter.

  • Install the Nodes:
  • Click on the Install button next to ComfyUI-Line-counter. The manager will handle the installation and setup process for you.

  • Restart ComfyUI:
  • After installation, restart your ComfyUI server to ensure that the new nodes are properly integrated.

    🛠️ Usage

    To get started with the ComfyUI Line Counter nodes, follow these steps:

  • Add the Nodes: Drag and drop the Text File Line Counter and Directory File Counter nodes into your workflow.
  • Configure: Set the necessary parameters like file paths and directories.
  • 🤝 Contributing

    We welcome contributions! If you have suggestions or find bugs, please create an issue or submit a pull request.