Skip to content
Node packVerifiedExternal
Open source

ComfyUI-UsefulStuffNodes

Utility ComfyUI custom nodes that add some extra features for your workflows.

Maintainer@ArtemKo7vC · adoptiongrade

Package profile

Status
Verified
Publisher
@ArtemKo7v
Source
GitHub

README

ComfyUI-UsefulStuffNodes

Utility ComfyUI custom nodes that add a few small helpers for workflows.

Nodes

  • Empty String — returns an empty STRING.
  • Unix Timestamp — returns the current Unix timestamp as an INT. current is freshly generated on every execution. saved returns the value that was stored in the node before this execution; after execution, the new current value is written into last_value so it can be saved with the workflow.
  • Random Long INT — returns a large positive random INT in the signed 64-bit range. current is freshly generated on every execution. saved returns the value that was stored in the node before this execution; after execution, the new current value is written into last_value so it can be saved with the workflow.
  • Boolean Random — returns a random BOOLEAN: true or false. current is freshly generated on every execution. saved returns the value stored in the node before this execution; after execution, the new current value is written into last_value so it can be saved with the workflow.
  • String Match Switch — passes through the first connected option whose control string exactly equals match; otherwise it returns the required default input. Connecting an option adds the next option/control pair. Disconnected options never participate. The UI expands as needed, up to 63 selectable options.
  • Any Input Selector — selects one of up to 64 connected inputs. Modes: fixed (by index, starting at 1), random, and cycling increment / decrement. After execution, selected_index shows the selected input; editing it restarts the cycle from that position.
  • Any Match Router — sends one input value to the first any_out_N whose text_N exactly equals match. Filling the last text field adds the next text/output pair. If nothing matches, every output is None.
  • Any Switch — routes one input to output 1 when enabled is true, otherwise to output 2.
  • Any If Else — returns input 1 when condition is true, otherwise input 2.

The last_value widget is a read-only native value: INT for integer nodes and BOOLEAN for Boolean Random. On a newly created node, the initial saved value is 0 for integer nodes and false for Boolean Random.

Installation

Use ComfyUI Manager or copy this folder into ComfyUI/custom_nodes/ and restart ComfyUI. Reload the browser page after installing or updating the node pack so the frontend extension is loaded.

Nodes in this pack

10 nodes
  • ArtemKo7vUsefulStuffNodesAnyIfElse
  • ArtemKo7vUsefulStuffNodesAnyInputSelector
  • ArtemKo7vUsefulStuffNodesAnyMatchRouter
  • ArtemKo7vUsefulStuffNodesAnySwitch
  • ArtemKo7vUsefulStuffNodesEmptyString
  • ArtemKo7vUsefulStuffNodesImageTextPairSelector
  • ArtemKo7vUsefulStuffNodesRandomBoolean
  • ArtemKo7vUsefulStuffNodesRandomLongInt
  • ArtemKo7vUsefulStuffNodesStringMatchSwitch
  • ArtemKo7vUsefulStuffNodesUnixTimestamp

Sources

3 sources
GitHubPrimaryVersion main
github.com/ArtemKo7v/ComfyUI-UsefulStuffNodes

Verified Nov 5

GitHubSourceVersion c15b6e0916414a957371d62b8b844506d2622c78
github.com/ArtemKo7v/ComfyUI-UsefulStuffNodes

Verified Oct 3

Source excerpts

2 excerpts

Source context: Repo ArtemKo7v/ComfyUI-UsefulStuffNodes

Source context: Repo ArtemKo7v/ComfyUI-UsefulStuffNodes