IRC Text Saver
The two-input node that actually gets your IRC art into a file you can paste
- file_path
The IRC Text Saver is the most boring node in ComfyUI-Mircify and, once you're actually using IRC art, the one you'll reach for constantly. The IRC Art Converter hands you an irc_text string; this node writes it to a file so you can open it and paste it into a channel. That's the whole job, and it does it in about ten lines of code.
Two inputs, both required:
- irc_text - a STRING input; wire it from the converter's
irc_textoutput. - filename - defaults to
irc_art_{TIMESTAMP}.txt. The{TIMESTAMP}placeholder becomes aYYYYMMDD_HHMMSSstamp, and.txtgets appended if you leave it off.
One output: file_path, the absolute path to the file it wrote. Wire it into a text-display node if you like, or just read the status message - the node prints the full path in the UI too.
It writes to ComfyUI/output/irc_art/, relative to your ComfyUI install, creating the directory if it doesn't exist.
Real talk about what you'll see when you open the file in a normal editor: it looks like garbage. A wall of color codes and block characters. That's not a bug. IRC art is just text with formatting codes - the "image" only exists once a client renders it. Paste the contents into any modern IRC client and it snaps into the art. This trips up everyone on their first try, so consider yourself warned.
One limitation to know about: the saver takes exactly one text input - irc_text. If you want the ANSI terminal version saved too, don't go hunting for an ansi input on this node; the pack handles that through the IRC PNG Exporter's metadata instead. For quick terminal viewing, the README suggests cat on the file, or less -R to preserve the colors. The node only writes IRC text, so any ANSI output you want on disk has to ride along in a PNG.
Nothing heavy to install - it ships in the pack with no extra dependencies beyond the shared requirements.txt (torch, numpy, scikit-learn, Pillow). Install once for the whole pack via ComfyUI Manager (search "ComfyUI-Mircify"), or git clone https://github.com/birdneststream/ComfyUI-Mircify into custom_nodes, then pip install -r requirements.txt and restart ComfyUI. After that it's string in, file out, path returned - about as simple as a custom node gets.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| irc_text | STRING | — | |
| filename | STRING | irc_art_{TIMESTAMP}.txt | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| file_path | STRING | — |