comfy-org/comfy-cli

comfy-custom-nodes-frontend

Packaged fallback for shipping browser-side assets from a custom-node pack.

ソースを見る

使い方

  1. インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
  2. 必要なツール、認証情報、対応環境を原文で確認します。
  3. 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/comfy-org/comfy-cli --skill comfy-custom-nodes-frontend

開始前の確認

  • 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
  • スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
リポジトリの原文

見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。

Frontend extension fallback

Two declarations expose a pack's browser-side directory, and both write into one registry keyed by name: module-level WEB_DIRECTORY in the pack's __init__.py, keyed by the pack's directory name, and [tool.comfy].web in pyproject.toml, keyed by project.name. Either is honored only when the directory exists on disk; a wrong relative path is skipped with no error, so "my script never loads" is usually a path. [tool.comfy].web also requires that the runtime can read pyproject.toml and is skipped with only a log warning otherwise, so WEB_DIRECTORY has fewer preconditions.

Declare one. Declaring both resolves by name rather than merging: equal names — the common case — mean WEB_DIRECTORY applies second and silently drops the pyproject.toml entry; differing names serve both prefixes and the second registration of one name raises.

Files are served at /extensions/<name>/…, and the listing the frontend loads enumerates **/*.js only, so build TypeScript or JSX to .js. An extension's name must be unique; registering it twice raises.

Treat frontend state as presentation only. Every non-secret value the Python node reads must live in the persisted widget value, because the browser layer is absent for an API-submitted prompt. Never put credentials in widget values — read secrets from the environment or the runtime's secret mechanism.

タスクに関連する項目

同じリポジトリから

関連する Skills

すべての Skills
comfy-org
コミュニティ

comfy

Generate images, videos, audio, and 3D via ComfyUI — CLI surface, workflow creation hierarchy (template → fragment → raw JSON), domain gotchas, cloud auth, multi-stage orchestration.

導入数
2
GitHub Stars
1022
更新日
10月20日
comfy-org
コミュニティ

comfy-agent-permissions

Use when a permission blocks the local comfy agent — a folder it cannot read or write, a host a download was refused for, a shell it does not have — to know what the agent may reach by default, how a request is recorded (requestpath, requesthost) and how only the user approves it (the agent panel or the in-chat card), the start-time settings, and what can never be granted.

導入数
2
GitHub Stars
1022
更新日
10月20日
comfy-org
コミュニティ

comfy-build

Build a custom ComfyUI environment on the Comfy developer platform with comfy-cli: turn a local install, a ComfyUI Desktop snapshot, a workflow JSON, or nothing but a Dockerfile, a Modal script or a sentence into a committed comfy-build.yaml and a green release. Use whenever the user wants to package, build, pin, or reproduce a ComfyUI environment, decide the dependency pins before the first cut, or read a failed build's log. Stops at a green release; comfy-deploy takes it from there.

導入数
2
GitHub Stars
1022
更新日
10月20日
comfy-org
コミュニティ

comfy-build-authoring

Reference skill cited by comfy-build. Read it with comfy skills show comfy-build-authoring when authoring a comfy-build.yaml definition by hand — the user has no ComfyUI install to scan, or you are editing a spec's models and customNodes directly. Covers searching the node registry, resolving model filenames to public sources, choosing the directory a weight lands in, and every field of the definition schema.

導入数
2
GitHub Stars
1022
更新日
10月20日