🪠️ WWAA Advanced Text File Reader

WWAA_AdvancedTextFileReader

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.

Pack: WWAA-CustomNodes

custom_nodes.WWAA-CustomNodes

Inputs (7)

NameTypeRequired
file_pathSTRINGrequired
traversal_modeCOMBOrequired
skip_linesINTrequired
reset_counterBOOLEANrequired
reload_fileBOOLEANrequired
hold_current_textBOOLEANrequired
starting_indexINToptional

Outputs (4)

NameType
current_line_textSTRING
current_line_numberINT
total_linesINT
remaining_linesINT