Extensions/workflow-manager
ComfyUI Extension

workflow-manager

Browse, share, and version-control ComfyUI workflows via TealPug

By TealPug·Created about a month ago·Updated about a month ago· 0
TealPug/workflow-manager
Nodes
On cloudLocal install
Stars0
Updatedabout a month ago
Readme

TealPug Workflow Manager

A ComfyUI custom node pack that adds workflow browsing, sharing, and version control via TealPug.

Install it like any other ComfyUI extension, paste your TealPug API key, and you can:

  • Save the current workflow to TealPug (creates a new workflow or pushes a new version)
  • Browse public workflows and import them with one click
  • Fork someone else's workflow to your account and start editing

Install

Clone into your ComfyUI/custom_nodes/ directory:

cd ComfyUI/custom_nodes
git clone https://github.com/TealPug/workflow-manager tealpug-workflow-manager

Restart ComfyUI.

Setup

  1. Log in to tealp.ug and visit /settings/keys
  2. Generate an API key, copy it
  3. Open the TealPug sidebar tab in ComfyUI
  4. Paste the API key, click Save

The key is stored in config.json inside this extension's directory (gitignored, mode 0600). It's never sent to the browser.

Development

The extension always talks to the production service. For development and testing, set TEALPUG_ENV on the ComfyUI process before starting it:

| TEALPUG_ENV | Service | |---------------|------------------------------------------------------| | production | https://tealp.ug (default) | | staging | https://staging.tealp.ug | | dev | http://127.0.0.1:3000 (override with TEALPUG_DEV_URL) |

TEALPUG_ENV=staging python main.py

The sidebar shows an environment badge in Settings when not on production. The service URL is never user-configurable from the UI.

How it works

The extension is split into two halves:

  • Python side (server.py, client.py) — registers /tealpug/* routes on ComfyUI's aiohttp server. These routes hold the API key and proxy to the TealPug REST API.
  • Frontend side (web/tealpug.js) — registers a sidebar tab in the ComfyUI UI. Talks only to the local /tealpug/* routes, never to TealPug directly.

License

MIT