ComfyUI Extension: comfyui-lora-tag-hash-metadata
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.
ComfyUI node that converts lora:name:weight tags into Civitai-friendly Name:HASH:Weight metadata strings.
Looking for a different extension?
Custom Nodes (0)
README
ComfyUI LoRA Tag Hash Metadata
ComfyUI custom node that converts <lora:name:weight> text into Name:HASH:Weight
metadata strings for downstream nodes such as Civitai-aware metadata savers.
Created with comfyui-custom-node-template
Primary use case:
- feed
loaded_lorasfrom LoRA Manager intoLoRA Tags To Hash Metadata - connect
additional_hashesintoImage Saver Metadata.additional_hashes - preserve LoRA hash metadata so downstream nodes can resolve Civitai model info
The node is generic on purpose. Any node that outputs <lora:name:weight> text can
feed it, and any downstream node that expects Name:HASH:Weight strings can consume
the result.
Install
ComfyUI Manager
- Open Manager in ComfyUI
- Click Install Custom Nodes
- Search for
LoRA Tag Hash Metadataorcomfyui-lora-tag-hash-metadata - Click Install
- Restart ComfyUI if Manager prompts you to do so
If you use the ComfyUI CLI instead of the Manager UI:
comfy node install comfyui-lora-tag-hash-metadata
Node
- Node id:
LoraTagsToHashMetadata - Display name:
LoRA Tags To Hash Metadata - Category:
utils/metadata
Inputs:
loaded_loras: multiline string containing one or more<lora:name:weight>tags
Outputs:
additional_hashes: comma-separatedName:HASH:Weightstringresolved_loras: comma-separated list of successfully resolved LoRA namesmissing_loras: comma-separated list of unresolved or incompatible names
Behavior:
- supports
<lora:name>and defaults weight to1.0 - resolves path-qualified names before basename fallback
- treats dotted version suffixes such as
my_lora_v0.23as part of the LoRA name unless a known model extension is present - computes SHA256 locally and emits the first 10 uppercase hex characters
- deduplicates repeated tags with last occurrence winning
- reports comma-bearing names in
missing_lorasinstead of silently dropping them
Local Development
- Clone/symlink this folder into ComfyUI's
custom_nodes/directory - Run
pnpm install - Run
pnpm devto watch for changes and rebuilddist/
Python Test Workflow
Use uv for Python-side tooling:
uv sync
uv run pytest
pnpm install # Install dependencies
pnpm dev # Watch mode - rebuilds dist/ on change
pnpm build # Build for production
pnpm test # Run tests
Note: Reload ComfyUI frontend (browser refresh) for JS changes. Restart ComfyUI server for Python changes.
LoRA Tag Hash Metadata
Typical wiring:
Lora Loader (LoraManager).loaded_loras
-> LoRA Tags To Hash Metadata.loaded_loras
-> Image Saver Metadata.additional_hashes
You can also feed any other text source that emits the same tag syntax.
Publishing to ComfyUI Registry
- Ensure all fields in
pyproject.tomlare correct - Add
REGISTRY_ACCESS_TOKENsecret to your repo (from ComfyUI registry) - Go to Actions → "Publish to Comfy registry" → Run workflow
- Select version bump type (patch/minor/major)
License
MIT
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.