4 Commits
Author SHA1 Message Date
snomiao 3c89f48916 chore(publish): update publish action workflow with permissions and version check 2025-04-03 17:50:28 +08:00
Gremlation b4ab896e38 Add warning about case-sensitivity 2025-01-10 19:04:44 +08:00
Gremlation b10151879f Update installation instructions
This node is in the registry now, so it can be installed normally via
the Manager or CLI.
2025-01-10 19:03:51 +08:00
Gremlation 65688807ec Fix stylesheet URLs 2025-01-08 00:43:40 +08:00
4 changed files with 21 additions and 9 deletions
+5 -1
View File
@@ -2,14 +2,18 @@ name: Publish to ComfyUI registry
on:
workflow_dispatch:
permissions:
issues: write
jobs:
publish-node:
name: Publish custom node to registry
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'gremlation' }}
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Publish Custom Node
uses: Comfy-Org/publish-node-action@main
uses: Comfy-Org/publish-node-action@v1
with:
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
+12 -4
View File
@@ -8,11 +8,16 @@ A ComfyUI node that displays the type and contents of whatever is connected to t
### ComfyUI-Manager
- Open the manager
- Pick "Install via Git URL"
- Enter `https://github.com/Gremlation/ComfyUI-ViewData`
- Open the Manager
- Pick "Custom Nodes Manager"
- Search for "ComfyUI-ViewData"
- Install the latest version
- Restart ComfyUI
You may need to edit `custom_nodes/ComfyUI-Manager/config.ini` and set `security_level = normal-` first.
### Comfy-Cli
- Run `comfy node install comfyui-viewdata`
- Restart ComfyUI
### Manual
@@ -25,6 +30,9 @@ git clone https://github.com/Gremlation/ComfyUI-ViewData
Then restart ComfyUI.
Note that due to an issue with case-sensitivity, you may have to rename the `ComfyUI-ViewData` directory to the
lowercase `comfyui-viewdata` before styles and syntax highlighting work.
## Options
You can change the indentation level for dictionaries by going to Settings > View Data ~🅖
+3 -3
View File
@@ -59,12 +59,12 @@ class ViewDataExtension extends LGraphNode {
configureStylesheets() {
addColorSchemeReactiveStylesheets({
light: 'extensions/ComfyUI-ViewData/prism/light.css',
dark: 'extensions/ComfyUI-ViewData/prism/dark.css',
light: 'extensions/comfyui-viewdata/prism/light.css',
dark: 'extensions/comfyui-viewdata/prism/dark.css',
})
const extensionStylesheet = document.createElement('link');
extensionStylesheet.rel = 'stylesheet';
extensionStylesheet.href = 'extensions/ComfyUI-ViewData/ViewData.css';
extensionStylesheet.href = 'extensions/comfyui-viewdata/ViewData.css';
document.head.appendChild(extensionStylesheet);
}
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "comfyui-viewdata"
description = "A ComfyUI node that displays the type and contents of whatever is connected to the input"
version = "1.0.0"
version = "1.0.1"
license = {file = "LICENSE"}
dependencies = ["torch"]
requires-python = ">= 3.8"