☕️ ComfyUI Workspace Manager - Comfyspace
A ComfyUI workflow management extension to organize and manage all your workflows and generated images in one place. Seamlessly switch between workflows, track version history and image generation history within a single workspace. We are reimagining the way to manage all your resources as a whole, workflows, models and custom nodes.
If you have questions or suggestions, please join our Discord!
Installation
[Option 1] via ComfyUI Manager (Preferred)
Simply search for “ComfyUI Workspace Manager”, install, and restart ComfyUI.
[Option 2] via git
Like any other custom node installation, in your ComfyUI root folder
cd custom_nodes && git clone https://github.com/11cafe/comfyui-workspace-manager.git
and restart your ComfyUI.
It is recommended to do git clone than downloading zip folder, because you can get latest updates by git pull!
Features
📣Update 01/03/2024 - Gallery and cover images
Every image/video you generate will be saved in the gallery of the current workflow. You can set any image in the gallery as the cover photo of the workflow
📣Update 12/29/2023 - Manual save, version history
Manually save your workflow by either click the 💾 floppy disk icon button or Shift+S shortcut (customize this shortcut in Settings) Everytime you save, it will create a new record in Version History. You can go back and switch versions in version history like git.
- 🔁Effortlessly switch between different workflows in your workspace.
- 🤏Drag and drop to insert subworkflows into current flow.
- Create and name workflows
- 🗂️Organize workflows with folders, 🏷️tags
- 📂Saves all your workflows in a single folder (by default under
/ComfyUI/my_workflows), customize this location in Settings - 🖼️Gallery and cover images: Every image/video you generate will be saved in the gallery of the current workflow. You can set any image in the gallery as the cover photo of the workflow
- 🕛Version control of workflow, never lose any changes (Everytime you press save, it will log a new version in history. you can easily revert back to any versions like git)
- Bulk import workflows into your workspace
- 📑Quickly duplicate flow in right-click menu
- cloud sync & backup workspace so you will never lose your data (Upcoming!)
- One-click share workflow (Upcoming!)
Where are my workflow and workspace data stored?
🍺 All your workflows are now output to a folder in /ComfyUI/my_workflows ⚠️Note: this is a ONE-WAY sync folder by default, that will only reflect changes made from your ComfyUI workspace browser; If you add some files manually using your OS file system (e.g. Finder in MacOS, File Explorer in Windows), workspace manager will not be able to pickup those changes. You need to use the "Import" button in files side bar to add new files to workspace manager.
Our internal db data is stored in your disk under /ComfyUI/custom_nodes/comfyui-workspace-manager/db/ We also store a backup copy of your db data in your browser cache in case you lose your workspace data when deleting comfyui-workspace-manager and reinstall. Press F12 or Inspect in right click browser menu, go to Application -> IndexedDB -> WorkspaceDB to see your data
switch between flows:
🤏drag and drop to insert sub-workflow:
Choose the folder location where you want to save your workflows .json files in Settings:
Bulk import flows:
add tags to flow:
Workflow operations: Manual Save, Download, Discard unsaved changes:
Version history:
duplicate flow by right click menu option:
Looking for colaborators and coworkers to develop this ComfyUI project management tool. If you know React, Python or ML model deployment, please reach out to weixuanfu01@gmail.com We want to make it easy to manage, share and deploy ComfyUI project.
Upcoming Features
-
1-Click Install Models Often when you import a json workflow from online, it will show lots of missing nodes or models errors, we will provide easy one-click install for missing models from Hugging face and Civiti
-
Modular Modern software development project are all modularized, the whole system is broken down into different modules. In ComfyUI each custom node is a module and should be self contained and easy to install and depend on from other modules. So that the modules (custom nodes) can be easily reused across projects. ➡️ We need something like web bundler, e.g. webpack, vite. This will make each custom node self contained and has a clear definition of its dependency.
-
Multi workflow project Now you can only work on one workflow at a time, this limits the potential to build large scale workflows that consists multiple sub-workflows parts. Each workflow can be seen as a custom node. You should be able to easily convert one workflow into one custom node. You can reuse workflow/custom node across your project. ➡️ We need a cross workflow, project management tool, like VSCode editor
-
Cloud running / easy deployment Right now you need to have python and GPU server up to run ComfyUI or Automatic111, that’s really painful for people who do not own a GPU. You should be able to run UI independently without paying for GPU💰. ➡️ Share and deploy your workflow to cloud in 1click and other people can easily run in browser using cloud GPU with no setup. It should be as easy as running Google Docs or Figma.
Credits
ComfyUI: https://github.com/comfyanonymous/ComfyUI
ComfyUI Browser: https://github.com/talesofai/comfyui-browser (Media display code for reference) And thanks to all custom node creators building the community!
Dev
- Clone ComfyUI
git clone https://github.com/comfyanonymous/ComfyUIfollow the install and setup instructions of ComfyUI README - Clone Workspace Manager in /ComfyUI folder
cd custom_nodes && git clone https://github.com/11cafe/comfyui-workspace-manager.git
- npm install
inside
/ComfyUI/custom_nodes/comfyui-workspace-managerdocd ui && npm installthis will install all node dependencies - build and run
inside
/ComfyUI/custom_nodes/comfyui-workspace-manager/uinpm run build --watchthis command will watch for your file changes and automatically rebuild, you just need to refresh to see your changes in browser everyting you change some code - run ComfyUI server
inside
/ComfyUIdopython main.pyorpython3 main.pydepending on your version