ComfyUI Extension: Lite Text to File Tools
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.
Lightweight and fast, text to and from file tools for ComfyUI, has some JSON capabilities as well, great for storing, reading, organizing, batching text and batch text operations.
Looking for a different extension?
Custom Nodes (9)
README
ComfyUI Lite Text-to-File
Simple and lightweight text file operations for ComfyUI workflows.
Features
- π Write and read text files
- π’ JSON array operations
- ποΈ JSON key-value storage
- π Append lines with timestamps
- πΎ Auto-saves to ComfyUI output directory
Installation
cd ComfyUI/custom_nodes/
git clone https://github.com/JasonHoku/comfyui-lite-text-to-file-tools
# Restart ComfyUI
Nodes
| Node | Description | |------|-------------| | Write To Text File | Write or append text files | | Load From Text File | Read text files | | Append Input To JSON Array File | Build JSON arrays progressively | | Load From JSON File | Read JSON with formatting options | | Save Text Into JSON | Store key-value pairs in JSON | | Load Text From JSON From Key | Retrieve values by key | | Append Line To Text File | Add timestamped log entries | | Clear JSON Array File | Reset JSON arrays |
Quick Example
Save Text Into JSON:
Very useful for batching a bunch of LLM VL outputs and saving them with the filename or path as a key for later use.
Save Text Into JSON
ββ key: "path/or/filename/or/any_string"
ββ value: "a beautiful sunset"
ββ file: "prompts/settings.json"
Load it back:
Load Text From JSON From Key
ββ key: "path/or/filename/or/any_string"
ββ file: "prompts/settings.json"
β outputs: "a beautiful sunset"
File Location
All files save to: ComfyUI/output/{your-path}
Example: text/data.json β ComfyUI/output/text/data.json
Use Cases
- π‘ Log all your prompts for review
- π― Save/load workflow configurations
- π Collect batch processing results
- π Debug workflows with timestamped logs
- π Build datasets from generation runs
License
MIT
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.