CivArchive
    ← All articles
    Published August 21, 2025by duckmartians

    Duck Nodes for ComfyUI

    860 views1 reactions0 comments on CivitAI0 collected
    google doctool guidewordexcelgoogle sheetcomfyui-login

    Overview of Duck Nodes: Automation and Security

    Duck Nodes is built on two main pillars: Data Loading and Automation and Enterprise-grade Security.

    1. Data Loading Nodes

    This is the core group of nodes that helps automate your creative process. Instead of copy-pasting every prompt, you can manage them in familiar files.

    • The Nodes:

      • Duck - Load Google Sheet Row: Reads data row by row from a public Google Sheet.

      • Duck - Load Google Doc Line: Reads each line of text from a public Google Docs.

      • Duck - Load Excel Row: Reads data from an Excel file (.xlsx) on your computer.

      • Duck - Load Word Line: Reads each paragraph from a Word file (.docx) on your machine.

      • Duck - Load Prompt From File: Reads each line from a plain text file (.txt).

    • Key Strengths: This feature turns familiar text files and spreadsheets into a living, easy-to-manage prompt repository. When combined with the seed parameter and ComfyUI's batch mode, you can automatically run hundreds or thousands of different prompts without manual intervention.

    2. Login and Security System

    This is the most unique and valuable feature of Duck Nodes, transforming ComfyUI into a secure web service.

    • Functionality: Integrates a professional login page that requires authentication before accessing the ComfyUI interface. It supports multiple languages (English/Vietnamese), allows for password changes, and can be disabled if not needed.

    • Key Strengths:

      • Transforms ComfyUI into a Secure Service: It allows you to run ComfyUI on a remote server and access it over the network without worrying about unauthorized access. This is an enterprise-grade feature rarely found in community extensions.

    📦 Installation

    1. Download and place the extension

    Clone this repository into the custom_nodes directory of your ComfyUI:

    cd ComfyUI/custom_nodes
    git clone https://github.com/duckmartians/Duck_Nodes.git

    2. Install dependencies

    This node pack automatically checks and installs the necessary libraries when ComfyUI starts.

    However, you can install them manually with the following command in your ComfyUI environment:

    pip install -r requirements.txt

    requirements.txt includes:

    pandas
    requests
    openpyxl
    python-docx
    aiohttp_session
    bcrypt
    Jinja2

    How to Delete the Password (Reset)

    To completely delete the set password and return to the initial setup screen, you need to delete the file that stores the login information.

    Steps:

    1. Shut down ComfyUI: Ensure that ComfyUI is not running to avoid any errors.

    2. Navigate to the user directory: Open your ComfyUI installation folder and find the subdirectory named user. The path will look like this:

      • ComfyUI/user/

    3. Delete the configuration files: Inside the user directory, find and delete the file named PASSWORD.

      • (Optional) For a full reset, you can also delete the login_config.json file.

    4. Restart ComfyUI: Run ComfyUI again.

    After restarting, you will see the initial setup screen again. From here, you can create a new account and password, or press "Skip (Disable Login)" to turn off the login feature completely.

    In summary, Duck Nodes that not only adds functional nodes but also comprehensively improves the user experience, workflow efficiency, and especially, elevates the security for ComfyUI.