Update README.md; add Comfy Registry workflow
This commit is contained in:
@@ -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.
|
||||
@@ -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.
|
||||
|
||||

|
||||

|
||||
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user