Nodes/ComfyUI-GU_Nodepack/GU Project Name
ComfyUI Node

GU Project Name

One text box that names every project folder you save into

By alexguryev·Created 4 months ago·Updated 23 days ago· 2
GU Project Name
    • name
    projectTEST

    GU Project Name is the smallest possible idea executed cleanly: one text field, one string output, and that string is your project codename. Wire it into GU Project Path and the seed file saver, and you get a single source of truth for "what project am I working on right now" that flows to every filename and folder in the graph. Change it once, and everything downstream renames itself.

    It looks almost too dumb to be a node, and that's the point - it exists to break a habit that causes real pain in long-running workflows.

    What it does

    • project - a text field, default TEST. Type your codename.
    • Output: name - the project string, sanitized.

    The sanitization is the quiet substance. The output runs through the pack's filename safety: it's cleaned to be a single safe folder-level name. The README is explicit that "the project name blocks any subfolder splitting" - a / in your project name gets replaced rather than creating nested directories. That's a deliberate safety choice, and it's exactly the kind of thing that keeps a careless project name from escaping your output folder.

    The project codes list is editable: the pack stores presets in ComfyUI-GU_Nodepack/web/proj_codes.txt, which the frontend loads. You can put your actual project names there and pick from them instead of typing.

    Why you'd reach for it

    The GU pack's file-naming philosophy is that every artifact should self-identify: project → date → name → tech → seed. GU Project Path builds those paths, and this node supplies the project component from one place. Without it, you'd hardcode the project name into every path builder, and the first time you switch from TEST to client_alpha you'd have to remember which widgets to edit. With it, one field update renames the whole output tree - (work)/TEST/ becomes (work)/client_alpha/ across the graph.

    It also feeds GU Seed List's project input, so your seed history files land in the same project folder as your images. The README recommends connecting it there explicitly.

    Install

    ComfyUI Manager → Custom Nodes Manager → search "GU Nodepack" → Install → restart, or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/alexguryev/ComfyUI-GU_Nodepack
    cd ComfyUI-GU_Nodepack
    pip install -r requirements.txt
    

    No model downloads. Deps: psutil, requests, gu-funclib>=1.9.0. Windows-tested, single-user design.

    The fine print

    Two things are worth knowing before you build around this. First, the sanitization means you can't use it to express a nested path - if you genuinely want (work)/client/projectB/ as folders, leave the project field empty on GU Project Path and use its custom path machinery instead. Second, the proj_codes.txt preset list loads on page refresh (it's a plain fetch of the pack's own static file), so edit the txt, refresh the browser, and the dropdown updates - no restart needed. Keep it as a preset and the "type it once per project" workflow becomes "click it once per project."

    CategoryGU_Nodepack

    Inputs (1)

    NameTypeDefaultDescription
    projectSTRINGTEST

    Outputs (1)

    NameTypeDescription
    nameSTRING