{"id":30366807,"url":"https://github.com/eric183/ComfyUI-Only","last_synced_at":"2025-08-19T23:04:12.273Z","repository":{"id":309053738,"uuid":"992518549","full_name":"eric183/ComfyUI-Only","owner":"eric183","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-09T14:08:48.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-09T15:30:28.052Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eric183.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-29T09:33:30.000Z","updated_at":"2025-08-09T14:08:51.000Z","dependencies_parsed_at":"2025-08-09T15:30:29.600Z","dependency_job_id":"91519f03-f40e-4884-aa40-cf349ab5ce13","html_url":"https://github.com/eric183/ComfyUI-Only","commit_stats":null,"previous_names":["eric183/comfyui-only"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/eric183/ComfyUI-Only","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eric183%2FComfyUI-Only","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eric183%2FComfyUI-Only/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eric183%2FComfyUI-Only/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eric183%2FComfyUI-Only/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eric183","download_url":"https://codeload.github.com/eric183/ComfyUI-Only/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eric183%2FComfyUI-Only/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271236280,"owners_count":24723978,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-19T23:02:49.855Z","updated_at":"2025-08-19T23:04:12.254Z","avatar_url":"https://github.com/eric183.png","language":"Python","funding_links":[],"categories":["Workflows (3395) sorted by GitHub Stars"],"sub_categories":[],"readme":"[Read this document in Chinese (简体中文)](./docs/zh-CN.md)\n\n# ComfyUI-Only\n\nA collection of custom nodes for ComfyUI, initially focused on workflow parsing, now expanded to provide advanced file loading features designed to enhance your workflow efficiency and experience.\n\n## 🌟 Key Features\n\n### 1. Load Latent (Advanced) ⭐ Core Feature\n- 📤 **Upload from Anywhere**: Select `.latent` files from anywhere on your computer using the \"Upload Latent\" button, eliminating the need to place them in the `input` folder.\n- ✨ **Drag and Drop**: Upload `.latent` files by simply dragging them from your file manager onto the node.\n- 🤖 **Intelligent Structure Parsing**: Automatically parses various internal latent structures, whether it's the standard `samples` key, the non-standard `latent_tensor` key, or even a raw tensor.\n- 🔢 **Smart Dimension Handling**: Automatically processes 3D (image), 4D (batched images), and 5D (video) latent tensors to ensure compatibility with downstream nodes like VAEDecode.\n\n### 2. WorkflowImageFileLoader\n- 📁 **Direct File Loading**: Load image files directly from your file system.\n- 🔍 **Auto-Parse Metadata**: Automatically parses workflow metadata from the image.\n- 🎯 **Smart Prompt Extraction**: Intelligently extracts positive and negative prompts.\n- 🏷️ **Smart Model Extraction**: Extracts the model name from the CheckpointLoaderSimple node.\n- ✅ **Solves a Core Problem**: Addresses the issue where the native `IMAGE` type does not contain metadata, making workflow reuse difficult.\n\n---\n\n*(Older node descriptions have been collapsed for brevity.)*\n\n## 🚀 Installation \u0026 Setup\n\n### Recommended Method: Install via ComfyUI Manager\n1.  **Install ComfyUI Manager**: If you haven't already, install it by following the [official ComfyUI Manager instructions](https://github.com/ltdrdata/ComfyUI-Manager).\n2.  **Search for the Node**:\n    -   Launch ComfyUI.\n    -   Click the \"Manager\" button in the sidebar.\n    -   Click \"Install Custom Nodes\".\n    -   Type `ComfyUI-Only` or `eric183` in the search bar.\n3.  **Install Node**: Find this extension in the search results and click the \"Install\" button.\n4.  **Restart ComfyUI**: After installation, restart ComfyUI.\n\n### Alternative Method: Manual Installation (Git Clone)\n1.  **Navigate to Directory**: Open a terminal and navigate to the `custom_nodes` directory within your ComfyUI installation.\n    ```bash\n    cd path/to/your/ComfyUI/custom_nodes\n    ```\n2.  **Clone the Repository**: Use the `git clone` command to clone this repository.\n    ```bash\n    git clone https://github.com/eric183/ComfyUI-Only.git\n    ```\n3.  **Restart ComfyUI**: Restart ComfyUI to load the new nodes.\n\n## 📖 How to Use\n\n#### ⭐ Loading Latent Files (Recommended)\n1. Add the `Load Latent (Advanced)` node from the menu (under the `ComfyUI-Only/Latent` category).\n2. Click the `Upload Latent` button to select a `.latent` file from your computer.\n3. Alternatively, drag and drop the `.latent` file directly onto the node.\n4. The node will automatically handle the upload, parsing, and formatting, then connect the `LATENT` output to the next node (e.g., `VAEDecode`).\n\n#### Parsing Workflows from Images\n1. Add the `WorkflowImageFileLoader` node (under the `ComfyUI-Only/Image` category).\n2. Select the image file you want to parse from the `image_file` dropdown menu.\n3. The `positive_prompt`, `negative_prompt`, and `checkpoint_name` will be automatically extracted.\n\n## 📁 Project Structure\n```\n.\n├── __init__.py           \u003c-- Main entry point, registers nodes and JS extensions\n├── js/\n│   └── latent_loader.js  \u003c-- Frontend UI logic for the advanced latent loader\n├── nodes/\n│   ├── image_processing_nodes.py\n│   └── latent_nodes.py\n├── LICENSE\n└── README.md\n```\n\n## ⚙️ Requirements\n- Python 3.8+\n- ComfyUI\n- PyTorch\n## 📝 Changelog\n\n### v2.1.0 - Integration \u0026 Simplification (Codename: Orion)\n- 🎉 **Integration**: The project has been successfully added to the official **ComfyUI Manager** list for one-click installation.\n- 🚀 **Simplification**: **Highly recommended** to install via ComfyUI Manager for a streamlined user experience.\n- 🧹 **Refactor**: Removed `requirements.txt`. Dependencies are now managed by ComfyUI or the user as needed, making the project more lightweight.\n- 📚 **Documentation**: Completely rewrote `README.md` with updated installation instructions, project structure, and dependency information for clarity and accuracy.\n\n### v2.0.0 - Advanced Loader Edition (Codename: Phoenix)\n- 🔥 **New**: Released the `Load Latent (Advanced)` node with support for uploading and dragging-and-dropping latent files from any location.\n- ✨ **Added**: Developed a standalone frontend JS extension for the new node, providing a native-level UI experience.\n- 🧹 **Refactor**: Restructured the project, adding a `js` directory and `requirements.txt`.\n- 📚 **Documentation**: Overhauled `README.md` to focus on new features and simplify older descriptions.\n\n### v1.2.0\n- ✅ Added: Checkpoint model name extraction from CheckpointLoaderSimple nodes.\n- ✅ All nodes now have a `checkpoint_name` output.\n\n*(Older logs have been omitted.)*\n\n## 🤝 Contributing\n\nIssues and Pull Requests are welcome!\n\n## 📄 License\n\nMIT License - See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feric183%2FComfyUI-Only","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feric183%2FComfyUI-Only","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feric183%2FComfyUI-Only/lists"}