Update README.md; add Comfy Registry workflow

This commit is contained in:
Jordan Thompson
2025-12-29 23:15:29 -08:00
parent 615bc21aef
commit 367b6fd463
2 changed files with 36 additions and 12 deletions
+24
View File
@@ -0,0 +1,24 @@
name: Publish to Comfy registry
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "pyproject.toml"
permissions:
issues: write
jobs:
publish-node:
name: Publish Custom Node to registry
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'WASasquatch' }}
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Publish Custom Node
uses: Comfy-Org/publish-node-action@v1
with:
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} ## Add your own personal access token to your Github Repository secrets and reference it here.
+12 -12
View File
@@ -1,10 +1,10 @@
# ComfyUI Content Viewer
A versatile ComfyUI custom node that renders HTML, SVG, Markdown, and code content in a secure embedded iframe viewer with full editing, download, and list support.
![Content Viewer](https://img.shields.io/badge/ComfyUI-Content_Viewer-blue)
![License](https://img.shields.io/badge/License-MIT-green)
A versatile ComfyUI custom node that renders HTML, SVG, Markdown, and code content in a secure embedded iframe viewer with full editing, download, and list support.
## Features
### Content Rendering
@@ -38,20 +38,20 @@ A versatile ComfyUI custom node that renders HTML, SVG, Markdown, and code conte
- **Sandboxed iframe** - Content runs in isolated sandbox without access to parent page
- **No same-origin** - Iframe cannot access ComfyUI's JavaScript context or localStorage
## Installation
### Via ComfyUI Manager
Search for "Content Viewer" in ComfyUI Manager and install.
- **Option A (git clone)**
- Clone this repo into:
- `ComfyUI/custom_nodes/ComfyUI_Viewer`
### Manual Installation
Clone this repository into your ComfyUI `custom_nodes` folder:
- **Option B (Manager)**
- Open Manager and install **ComfyUI_Viewer**
```bash
cd ComfyUI/custom_nodes
git clone https://github.com/WASasquatch/ComfyUI_Viewer
```
Restart ComfyUI.
- **Option C (zip)**
- Download the repo as a zip.
- Extract it to:
- `ComfyUI/custom_nodes/ComfyUI_Viewer`
## Usage