π± Artha Project Setup
Tell ComfyUI What Project You're Working On β and Get a Folder
- project_folder
If you generate in bulk, your output folder is probably a wasteland. ArthaProjectSetup exists to fix the organization side of that: it's a single node that says "I'm working on project X, category Y, type Z" and computes the output folder path where those files should live. It's the context-setting half of a two-node system - its sibling, ArthaProjectPrefix, uses the same project values to build readable filenames.
It ships in ComfyUI-Artha-Nodes, Cyrostar's general-purpose grab-bag pack. No API key, no models, nothing to download - this one is pure string building plus a side effect.
How it works
Three text inputs define the project:
project_name(default "Youtube") - the top-level folder.project_category(default "Shorts") - second level; leave empty to skip.project_type(default "Fun") - third level; leave empty to skip.
Those defaults aren't random - they read like the author builds a lot of short-form video content, and you'll probably replace them with your own. Every value gets run through a filename sanitizer (spaces to underscores, non-alphanumerics stripped), so My Awesome Project becomes My_Awesome_Project. The single output, project_folder, is your ComfyUI output directory with those folders appended, e.g.:
C:\ComfyUI\output\Youtube\Shorts\Fun
The side effect is the part that matters for the rest of the pack: whenever this node runs, it writes the three values into a shared in-memory dictionary that ArthaProjectPrefix reads to build its filename prefixes. So ProjectSetup is the "declare the project once" node, and everything downstream that cares about the project name gets it from here rather than from per-node widgets you'd have to edit by hand.
Where it fits
Add it at the top of a workflow - it doesn't need to connect to anything, so it works fine floating - run it once, and the whole session knows what project you're in. The project_folder string can feed save nodes or just serve as a label so you know what's what. Paired with ArthaProjectPrefix, you get the full scheme: everything for a project lands under output/<project>/<category>/<type>/ with readable names.
Installing it
Same pack as all the Artha nodes:
cd ComfyUI/custom_nodes
git clone https://github.com/Cyrostar/ComfyUI-Artha-Nodes
cd ComfyUI-Artha-Nodes
pip install -r requirements.txt
# Windows portable: python_embeded\python.exe -m pip install -r requirements.txt
or install via ComfyUI Manager by searching "ComfyUI-Artha-Nodes", then restart ComfyUI. Keep ComfyUI reasonably current - the pack registers through the newer extension API.
Gotchas
Three things to know. First, it doesn't create the folder - it just returns a path string; whether the directories exist depends on your save node. Second, the path uses backslash separators, so on Linux/macOS the output can look odd and may need adjusting before you feed it to something path-sensitive. Third, the shared project values are session-scoped and only update when the node runs - if you edit a value and don't rerun the graph, downstream nodes keep using the old one. Change it, run it, move on.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| project_name | STRING | Youtube | β |
| project_category | STRING | Shorts | β |
| project_type | STRING | Fun | β |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| project_folder | STRING | β |