A lightweight extract from WAS Node Suite containing two text utility nodes for ComfyUI.
A simple multiline text input node. Any line beginning with # is treated as a comment and stripped from the output, making it easy to annotate your prompts without affecting generation.
Reads lines from a text file (or an inline multiline string) one at a time, with two selection modes:
- automatic - advances through lines sequentially across executions, wrapping back to the start when the end is reached.
- index - returns the line at a specific index on demand.
Progress is persisted to a local JSON database (was_suite_settings.json) so the position survives restarts. File paths are also recorded in a history database (was_history.json).
- Clone this repo into your ComfyUI
custom_nodesdirectory:cd ComfyUI/custom_nodes git clone https://github.com/RiverSide71/WAS-text-nodes - Restart ComfyUI. The nodes will appear under WAS Suite / Text in the node browser.
- ComfyUI (any recent version)
- No additional Python dependencies beyond the ComfyUI standard environment
Extracted from WAS Node Suite by WASasquatch. Original code is MIT licensed - see that repository for the full license text. "# WAS-text-nodes"