Aller au contenu
Node packVérifiéExterne
Ouvrir la source

ComfyUI-EnvVariable

Minimal ComfyUI custom node that reads an environment variable by key and outputs it as a string.

Mainteneur@wteslerUnratedClasse

Profil du package

Statut
Vérifié
Éditeur
@wtesler
Source
GitHub

LIREMOI

ComfyUI-EnvVariable

Minimal ComfyUI custom node that reads an environment variable by key and outputs it as a string.

Node

  • Name: Environment Variable
  • Input: key (STRING)
  • Output: value (STRING)

Behavior:

  • Returns os.environ[key] when present.
  • Raises KeyError when the key is missing.

Install

Option 1. Clone into ComfyUI/custom_nodes/:

git clone https://github.com/wtesler/ComfyUI-EnvVariable.git

There are no additional requirements to install.

Option 2. Search and download "ComfyUI-EnvVariable" from Custom Nodes Manager.

Environment Variable Setup

Set the variable either in System Environment Variables or in your ComfyUI launch script (set MY_KEY=...). Then fully close and relaunch ComfyUI so the process receives updated environment values.

Nœuds dans ce pack

Nœud 1
  • Environment Variable

Sources

3 sources
GitHubSourceVersion 2af6b6424f40df4fdf0b1c7e3ed35e8de211ec3f
github.com/wtesler/ComfyUI-EnvVariable

Vérifié 10 oct.

GitHubSource
github.com/wtesler/ComfyUI-EnvVariable

Vérifié 7 oct.

Extraits de sources

1 extrait

Source context: Repo wtesler/ComfyUI-EnvVariable