gitwtfhub

wtf is comfyui-loratags?

iitzmyung/comfyui-loratags — explained in plain English

Analysis updated 2026-05-18

4JavaScriptAudience · vibe coderComplexity · 2/5LicenseSetup · easy

TL;DR

A ComfyUI custom node that lets you stack multiple LoRA models in one place and auto-fetches their trigger words from Civitai.

Mindmap

mindmap
  root((ComfyUI-LoraTags))
    What it does
      Stacks multiple LoRAs
      Replaces default loader
    Civitai integration
      Hash lookup
      Fetches trigger words
      Preview images
    Tag management
      Master JSON database
      Locked vs custom tags
    Prompting
      Auto-Tags text encoder
      Clipboard copy
    Audience
      Stable Diffusion users
      ComfyUI creators

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Stack several LoRA models in one node instead of chaining separate LoRA loaders together.

REASON 2

Automatically fetch a LoRA's official name, trigger words, and preview images from Civitai.

REASON 3

Auto-append saved trigger words into a prompt using the companion Auto Tags text encoder node.

What's in the stack?

JavaScriptComfyUIHTML5 Canvas

How it stacks up

iitzmyung/comfyui-loratagsanil-matcha/open-poe-aiarata-ae/purupurupngtuber
Stars444
LanguageJavaScriptJavaScriptJavaScript
Last pushed2026-06-25
MaintenanceActive
Setup difficultyeasymoderatemoderate
Complexity2/53/53/5
Audiencevibe coderdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 5min

Requires an existing ComfyUI installation, git clone into the custom_nodes folder and restart.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

Wtf does this do

ComfyUI-LoraTags is a custom node extension for ComfyUI, a visual tool used to build AI image generation workflows with Stable Diffusion style models. It replaces the standard way of loading LoRA files, which are small add-on models that adjust an image generator's style or subject, with a single node that can stack many LoRAs at once instead of chaining together separate loader nodes one after another. A key feature is automatic tag fetching from Civitai, a popular site for sharing these LoRA models. The plugin calculates a hash of your LoRA file and looks it up on Civitai to pull down the model's official name, its trigger words, a handful of preview images, and a link back to its page. Those trigger words, the specific phrases a LoRA expects in a prompt to work properly, get saved into a single JSON file inside the plugin folder rather than scattered across separate text files, and are organized based on your existing folder structure for LoRAs. Tags can be either automatically retrieved from Civitai or typed in by hand, and they are shown as small bubble icons on the canvas. There is also a companion node called CLIP Text Encode with Auto Tags, which automatically appends the active trigger words from your stacked LoRAs into your prompt, so you do not have to copy and paste them manually. If you prefer manual control, there is also a one click button to copy the trigger words to your clipboard. The interface is built with a custom canvas rendering approach rather than the default ComfyUI widget style, aiming for a cleaner, more modern look. Installation is done by cloning the repository into ComfyUI's custom_nodes folder and restarting the application. The project is released under the MIT license.

Yoink these prompts

Prompt 1
Explain how the automatic Civitai tag fetching works in this ComfyUI plugin.
Prompt 2
Help me connect the LoRA Loader node to the CLIP Text Encode Auto-Tags node in my workflow.
Prompt 3
Walk me through installing this custom node into my ComfyUI custom_nodes folder.
Prompt 4
Describe how the lora_master_tags.json file organizes tags by folder structure.

Frequently asked questions

wtf is comfyui-loratags?

A ComfyUI custom node that lets you stack multiple LoRA models in one place and auto-fetches their trigger words from Civitai.

What language is comfyui-loratags written in?

Mainly JavaScript. The stack also includes JavaScript, ComfyUI, HTML5 Canvas.

What license does comfyui-loratags use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is comfyui-loratags to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is comfyui-loratags for?

Mainly vibe coder.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.