-
Couldn't load subscription status.
- Fork 156
Labels
enhancementNew feature or requestNew feature or requeststaleIssue has not had recent activity or appears to be solved. Stale issues will be automatically closedIssue has not had recent activity or appears to be solved. Stale issues will be automatically closed
Description
Prerequisites
- I have searched the existing issues and checked the recent builds/commits
- I have read the documentation and this feature is not already available
- This is a single feature request (not multiple features combined)
Problem Statement
Desktop should can be able to open by comfy:// protocol, this enables web pages providing one-click feature to quickly import-comfy-workflows/install custom nodes/insert-customnode-into-current-workflow, it makes browser and comfyui-electron work together seamlessly
Ref: https://www.electronjs.org/docs/latest/api/protocol
Proposed Solution
- learn how to add protocol to system by https://www.electronjs.org/docs/latest/api/protocol
- Register the comfy:// to system, (also remove the protocol when uninstall)
- When ComfyUI launch, parse the URI args startsWith "comfy://"
- When comfy://install-custom-node/:nodeId is called, call comfyui-manager module to install the customNode by :nodeId param
- When comfy://import/:nodeId is called, call comfyui-manager module to install the customNode by :nodeId param
Potential workflow
- Go to registry.comfy.org or any website that hosts CustomNode/workflows/media-resources (e.g. github)
- Press "Install This Node" button, or "Import This Workflow" button
- and ComfyUI will be launched and prompt user to install/import that customnode/workflow/resources
Impact Level
Low (Minor enhancement)
Alternatives Considered
No response
Additional information
In registry, the install-button will be make in is this PR
┆Issue is synchronized with this Notion page by Unito
Copilot
Metadata
Metadata
Labels
enhancementNew feature or requestNew feature or requeststaleIssue has not had recent activity or appears to be solved. Stale issues will be automatically closedIssue has not had recent activity or appears to be solved. Stale issues will be automatically closed