Noodle Soup Pantry Export
Back up your word pantry — or hand it to a friend
- path
- terms
- entries
Noodle Soup Pantry Export writes your stored Noodle Soup Prompts terminology out as a JSON file. It's the "save my work" node of the suite's wildcard system: everything you've added to your word pantry - the animal lists, artist rosters, style words you've collected into terminologies - becomes a portable file you can back up, edit by hand, or send to someone running their own ComfyUI. The matching Noodle Soup Pantry Import reads that same file back, which is how the pantry survives a machine move or a shared workflow.
It's one of the terminology nodes in WAS Node Suite v3 (WAS Suite/Text/Terminology), the pack's answer to prompt wildcards - the README's own example: __animals__ in a prompt is replaced with a random word from the pantry, which holds around 17,500 words across 84 terminologies, stored in the suite's state database beside your config.yaml.
How it works
Three inputs, none of them heavy:
- root - which folder the file lands in: ComfyUI's own
outputortemp, or any folder you've added underpaths.allow_writein the suite'sconfig.yaml, each listed by name. - filename - the file name, default
nsp_pantry.json. You can add subfolders (terminology/backup.json), and there's a date token:terminology/[time(%Y-%m-%d)].jsonfiles each day's export under a dated name - the kind of thing you set once and forget until you need Tuesday's version back. - scope - the choice that actually matters.
the whole pantrywrites every terminology, published words included - the full backup.only what you addedwrites just the words you added from a node or brought in from a file - the portable copy of your own work, without the ~17,500 published words everyone already has. If the goal is sharing your additions, that's the one.
A file already at the name is replaced, no questions asked - so if you need history, the date-token filename is your friend.
Outputs are path (the full path of the written file - handy if you want to log it or show it), plus terms and entries counting how many terminologies and words went out.
Why you'd reach for it
The genuinely useful pattern is sharing additions without dragging the whole pantry along: export with only what you added, hand over the JSON, and your friend imports it with Noodle Soup Pantry Import in add mode. Their published pantry stays put and your words arrive on top. And because everything you import counts as yours, a later Pantry Refresh - which merges in the published list - never deletes your additions.
Installing it
Part of WAS Node Suite v3:
cd ComfyUI/custom_nodes
git clone https://github.com/WASasquatch/was-node-suite-comfyui.git
or ComfyUI Manager → "WAS Node Suite v3", restart. ComfyUI 0.14.0+, Python 3.10+. Writing files needs no network flag - that's only for Refresh.
Where people get burned
The main surprise is that this writes to the suite's stored pantry, not to a file you already pointed at - if you've never touched the terminology nodes, exporting gives you a file of whatever's currently in the stored pantry (which includes the published words if you've ever refreshed). Second, only what you added is the mode people mean when they say "share my list," but if you've never added anything, that export is an empty file - export the whole pantry first if you want to see data. And remember it overwrites silently, so pick a dated filename for anything you care about keeping.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| root | COMBO | Which folder the file lands in: ComfyUI's own 'output' or 'temp', or any folder added under paths.allow_write in config.yaml, listed by its own name. filename names the part below it. | |
| filename | STRING | nsp_pantry.json | Name of the file, and any folder below root to put it in. Eg: nsp_pantry.json, or terminology/[time(%Y-%m-%d)].json to file each day's under a dated name. |
| scope | COMBO | `the whole pantry` writes every terminology, published words included. `only what you added` writes just the words added from a node or brought in from a file, which is the portable copy of your own additions. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| path | STRING | The full path of the file that was written. |
| terms | INT | How many terminologies were written. |
| entries | INT | How many words were written, counting every terminology. |