Nodes/WWAA-CustomNodes/🪠️ WWAA Advanced Text File Reader
ComfyUI Node

🪠️ WWAA Advanced Text File Reader

Reads text files like those produced by LLM Prompt to Text File and outputs them as strings for Clip Text Encoders. Supports multiple traversal modes (forward, reverse, random) with line skipping and hold functionality. Can output individual lines with tracking of current position and remaining lines.

By hgabha·Created 2 years ago·Updated 5 months ago· 36
🪠️ WWAA Advanced Text File Reader
    • current_line_text
    • current_line_number
    • total_lines
    • remaining_lines
    file_path
    traversal_modeforward
    skip_lines0
    reset_counterfalse
    reload_filefalse
    hold_current_textfalse
    starting_index0
    Category🪠️ WWAA/String

    Inputs (7)

    NameTypeDefaultDescription
    file_pathSTRING
    traversal_modeCOMBOforward3 options: forward, reverse, random
    skip_linesINT00–10
    reset_counterBOOLEANfalse
    reload_fileBOOLEANfalse
    hold_current_textBOOLEANfalse
    starting_indexoptINT0

    Outputs (4)

    NameTypeDescription
    current_line_textSTRING
    current_line_numberINT
    total_linesINT
    remaining_linesINT