Comfy-Org / Comfy-Org/ComfyUI_frontend

[Feature Request] Advanced global & fuzzy search for models/LoRAs across all subfolders with duplicate detection

Open
#16,047 0 comments 0 reactions 0 assignees View on GitHub
area:models area:search enhancement
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

### What problem are you experiencing?

Is your feature request related to a problem? Please describe.Many users organize their LoRAs and models inside deeply nested custom subfolders (e.g., models\loras\Krea\, models\loras\LTX2_3\, etc.). Currently, finding a specific file through the standard node dropdown menus or search features requires knowing exactly which subfolder it is in, or typing the path correctly. This is very inefficient when managing thousands of files with complex names.Describe the solution you'd likeI would like to suggest a smarter, global, and recursive search system for all model-loading nodes (LoRAs, Checkpoints, etc.):Global Subfolder Scanning: The search should scan through all subfolders recursively. If I type a keyword like "fro09", it should instantly find and suggest ltx_2.3_22b_distilled_1.1_lora_dynamic_fro09_avg_rank_111_bf16.safetensors, no matter how deep it is hidden inside the loras\ folder.Duplicate Filtering: If the exact same file (same name and hash/size) exists in multiple subfolders, the interface should hide the duplicates and only list it once to avoid cluttering the dropdown list.Describe alternatives you've consideredRight now, users have to manually scroll through massive nested dropdown menus or rename all their folders perfectly, which defeats the purpose of custom folder organization.Additional contextImplementing a modern "fuzzy search" with duplicate protection in the ComfyUI frontend would drastically improve workflow speed for power users with large model libraries.

### When does this problem occur?

Every time I look for a specific LoRA or model that is stored inside deeply nested subfolders, or when the dropdown lists get cluttered because of duplicate model files across different folders.

### How often do you encounter this problem?

Multiple times per day

### How much does this problem affect your workflow?

Blocks me from completing tasks

### Current workarounds

_No response_

### Ideas for solutions (Optional)

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by tracing the ComfyUI frontend's existing model-loading node dropdowns and search features. Examine how model and LoRA paths are discovered and displayed, then define how recursive scanning, fuzzy matching, and duplicate identification should fit together. Done means relevant files are searchable across nested folders and identical files appear only once without breaking current selection behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.