Add ComfyUI registry publishing and GitHub install URL
Some checks failed
Publish to Comfy registry / Publish Custom Node to registry (push) Has been cancelled
Some checks failed
Publish to Comfy registry / Publish Custom Node to registry (push) Has been cancelled
- Add pyproject.toml with registry metadata (publisher: ethanfel) - Add .github/workflows/publish.yml for auto-publish on version bump - Update README with GitHub clone URL and ComfyUI Manager install Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
20
.github/workflows/publish.yml
vendored
Normal file
20
.github/workflows/publish.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Publish to Comfy registry
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "pyproject.toml"
|
||||
|
||||
jobs:
|
||||
publish-node:
|
||||
name: Publish Custom Node to registry
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
- name: Publish Custom Node
|
||||
uses: Comfy-Org/publish-node-action@main
|
||||
with:
|
||||
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
|
||||
10
README.md
10
README.md
@@ -35,15 +35,19 @@ A single ComfyUI node that reads any JSON file and **automatically creates outpu
|
||||
|
||||
## Installation
|
||||
|
||||
### ComfyUI Manager
|
||||
Search for **JSON Dynamic Loader** in the ComfyUI Manager registry.
|
||||
|
||||
### Manual
|
||||
```bash
|
||||
cd ComfyUI/custom_nodes/
|
||||
git clone <this-repo> ComfyUI-JSON-Dynamic
|
||||
git clone https://github.com/ethanfel/ComfyUI-JSON-Dynamic.git
|
||||
# Restart ComfyUI
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
1. Add **JSON Loader (Dynamic)** node to your workflow
|
||||
1. Add **JSON Dynamic Loader** node to your workflow
|
||||
2. Enter a `json_path` and `sequence_number`
|
||||
3. Click **Refresh Outputs**
|
||||
4. Outputs appear named after your JSON keys with correct types
|
||||
@@ -60,7 +64,7 @@ git clone <this-repo> ComfyUI-JSON-Dynamic
|
||||
<rect x="20" y="10" width="240" height="220" rx="10" fill="url(#dynBg)" stroke="#2b9348" stroke-width="2" />
|
||||
<rect x="20" y="10" width="240" height="28" rx="10" fill="#2b9348" />
|
||||
<rect x="20" y="28" width="240" height="10" fill="#2b9348" />
|
||||
<text x="140" y="31" text-anchor="middle" fill="#fff" font-family="sans-serif" font-size="13" font-weight="bold">JSON Loader (Dynamic)</text>
|
||||
<text x="140" y="31" text-anchor="middle" fill="#fff" font-family="sans-serif" font-size="13" font-weight="bold">JSON Dynamic Loader</text>
|
||||
<text x="35" y="60" fill="#ccc" font-family="monospace" font-size="10">json_path: /data/prompt.json</text>
|
||||
<text x="35" y="78" fill="#ccc" font-family="monospace" font-size="10">sequence_number: 1</text>
|
||||
<rect x="45" y="88" width="190" height="24" rx="5" fill="#2b9348" opacity="0.3" stroke="#2b9348" stroke-width="1"/>
|
||||
|
||||
14
pyproject.toml
Normal file
14
pyproject.toml
Normal file
@@ -0,0 +1,14 @@
|
||||
[project]
|
||||
name = "comfyui-json-dynamic"
|
||||
version = "1.0.0"
|
||||
description = "A ComfyUI node that auto-discovers JSON keys and exposes them as typed output slots"
|
||||
license = { file = "LICENSE" }
|
||||
requires-python = ">=3.10"
|
||||
classifiers = ["Operating System :: OS Independent"]
|
||||
|
||||
[project.urls]
|
||||
Repository = "https://github.com/ethanfel/ComfyUI-JSON-Dynamic"
|
||||
|
||||
[tool.comfy]
|
||||
PublisherId = "ethanfel"
|
||||
DisplayName = "JSON Dynamic Loader"
|
||||
Reference in New Issue
Block a user