This reverts commit 95bbc669efb1aa0c23b94be6f0a5e7a188f1c019. The real issue was shields.io GitHub API token pool exhaustion (intermittent), not the &logo=github parameter. All 3 badges (Discord, Release, Release Date) were affected at various times due to the same root cause: shields.io temporarily unable to query GitHub API.
ComfyUI LoRA Manager
Revolutionize your workflow with the ultimate LoRA companion for ComfyUI!
A comprehensive toolset that streamlines organizing, downloading, and applying LoRA models in ComfyUI. With powerful features like recipe management, checkpoint organization, and one-click workflow integration, working with models becomes faster, smoother, and significantly easier. Access the interface at: http://localhost:8188/loras
📺 Tutorial: One-Click LoRA Integration
Watch this quick tutorial to learn how to use the new one-click LoRA integration feature:
🌐 Browser Extension
Enhance your Civitai browsing experience with our companion browser extension! See which models you already have, download new ones with a single click, and manage your downloads efficiently.
📚 Learn More: Complete Tutorial
🤝 Supporter Recognition
I'm incredibly grateful to everyone who has supported the development of this project. Seeing so many people value my work is the best motivation I could ask for. Your trust and support have played a vital role in shaping this tool into what it is today, and I want to personally recognize those who have helped make it possible.
🌟 Special Thanks
dispenser, EbonEagle, DanielMagPizza, Scott R
💖 Supporters (818)
Click to view all awesome supporters
megakirbs, Brennok, Insomnia Art Designs, 2018cfh, Arlecchino Shion, Rob Williams, W+K+White, $MetaSamsara, wackop, Phil, Carl G., Charles Blakemore, stone9k, itismyelement, Mozzel, Gingko Biloba, Kiba, onesecondinosaur, Christian Byrne, DM, Sen314, Estragon, Rosenthal, ClockDaemon, Francisco Tatis, Tobi_Swagg, SG, jmack, Andrew Wilson, Greybush, Ricky Carter, JongWon Han, VantAI, レプサイ, Michael Wong, runte3221, Illrigger, Tom Corrigan, JackieWang, FreelancerZ, fnkylove, Echo, Lilleman, Robert Stacey, PM, Edgar Tejeda, Fraser Cross, Liam MacDougal, Polymorphic Indeterminate, Sterilized, JORGE+LUIZ+HUSSNI+MESSIAS, Marc Whiffen, Skalabananen, Birdy, quarz, Reno Lam, JSST, sig, J\B/ 8r0wns0n, Snaggwort, Takkan, Matt+J, Baekdoosixt, Jonathan Ross, KD, Omnidex, Nazono_hito, Melville Parrish, daniel dove, Lustre, Tyler Trebuchon, Release Cabrakan, JW Sin, Alex, carozzz, Marlon Daniels, James Dooley, zenbound, Buzzard, Adam Shaw, Mark Corneglio, SarcasticHashtag, Anthony Rizzo, iamresist, RedrockVP, Wolffen, James Todd, Wicked Choices by ASLPro3D, FinalyFree, Steven Pfeiffer, Timmy, Johnny, Tak, Lisster, Big Red, whudunit, Luc Job, dl0901dm, corde, Nick Walker, Yushio, Vik71it, Bishoujoker, Todd Keck, Briton Heilbrun, Tori, wildnut, Aleksander Wujczyk, AM Kuro, BadassArabianMofo, Pascal Dahle, Greg, Akira_HentAI, lmsupporter, andrew.tappan, Greenmoustache, zounic, wfpearl, Eldithor, Jack B Nimble, JaxMax, contrite831, bh, Jwk0205, Starkselle, Olive, Aaron Bleuer, LacesOut!, greebles, Some Guy Named Barry, M Postkasse, Gooohokrbe, OldBones, Jacob Hoehler, Matt Wenzel, Weasyl, Lex Song, Cory Paza, Gonzalo Andre Allendes Lopez, Zach Gonser, Serge Bekenkamp, Jimmy Ledbetter, Philip Hempel, dan, aai, otaku fra, jean jahren, MiraiKuriyamaSy, Ran C, ViperC, Penfore, Sangheili460, MagnaInsomnia, Karl P., Gordon Cole, Adam Taylor, AbstractAss, Weird_With_A_Beard, N/A, The Spawn, graysock, Pozadine1, Qarob, AIGooner, Luc, ProtonPrince, DiffDuck, Jackthemind, fancypants, Joboshy, Digital, takyamtom, Bohemian Corporal, Dan, Bro Xie, yer fey, batblue, carey6409, 太郎 ゲーム, Roslynd, jinxedx, Cosmosis, AELOX, Dankin, Nicfit23, FloPro4Sho, Cristian Vazquez, wamekukyouzin, drum matthieu, Dogmaster, Frank Nitty, Magic Noob, Christopher Michel, DougPeterson, LeoZero, Antonio Pontes, ApathyJones, Bruce, Julian V, Steven Owens, nahinahi9, Kevin John Duck, Dustin Chen, Blackfish95, Mouthlessman, Paul Kroll, Bas Imagineer, John Statham, yuxz69, esthe, decoy, elu3199, Hasturkun, Jon Sandman, Ubivis, CloudValley, thesoftwaredruid, wundershark, mr_dinosaur, Tyrswood, Ray Wing, Ranzitho, Gus, MJG, David LaVallee, linnfrey, IamAyam, skaterb949, Josef Lanzl, Nerezza, sanborondon, confiscated Zyra, Error_Rule34_Not_found, Taylor Funk, aezin, jcay015, Gerald Welly, Erik Lopez, Mateo Curić, Tee Gee, Geolog, tarek helmi, Neco28, Eris3D, Max Marklund, David Ortega, Pronredn, a _, Jeff, lh qwe, James Coleman, conner, Kevin Christopher, Chad Idk, dd, Princess Bright Eyes, Dušan Ryban, Felipe dos Santos, Sam, sjon kreutz, Douglas Gaspar, Metryman55, AlexDuKaNa, George, dw, 地獄の禄, ae, Tr4shP4nda, Gamalonia, WRL_SPR, capn, Joseph, Mirko Katzula, dan, Piccio08, kumakichi, cppbel, Moon Knight, 몽타주, Kland, Hailshem, kudari, Naomi Hale Danchi, epicgamer0020690, Joshua Porrata, SuBu, Richard, 奚明 刘, Andrew, Brian M, Robert Wegemund, Littlehuggy, 준희 김, Brian Buie, Thought2Form, Kevin Picco, Sadlip, Tomohiro Baba, m, Noora, Pierce McBride, Joshua Gray, Mattssn, Mikko Hemilä, Jacob McDaniel, Jamie Ogletree, Temikus, Artokun, Michael Taylor, Martial, Michael Anthony Scott, Emil Andersson, Ouro Boros, Atilla Berke Pekduyar, Steam Steam, CryptoTraderJK, Decx , Yuji Kaneko, Davaitamin, Rops Alot, tedcor, Fotek Design, Ace Ventura, 四糸凜音, Nihongasuki, LarsesFPC, MadSpin, inbijiburu, Nick “Loadstone” D, momokai, starbugx, dc7431, ken, Crocket, keemun, RedPIXel, Wind, Nexus, Ramneek“Guy”Ashok, squid_actually, Nat_20, Edward Weeks, kyoumei, RadStorm04, JohnDoe42054, BillyHill, emyth, chriphost, KitKatM, socrasteeze, OrganicArtifact, ResidentDeviant, MudkipMedkitz, deanbrian, Alex Wortman, Cody, emadsultan, InformedViewz, CHKeeho80, Bubbafett, leaf, Vir, Skyfire83, Adam Rinehart, gzmzmvp, Gregory Kozhemiak, Draven T, mrjuan, Eric Whitney, Joey Callahan, Aquatic Coffee, Ivan Tadic, Mike Simone, John J Linehan, ethanfel, Elliot E, Morgandel, Theerat Jiramate, Focuschannel, Noah, X, Sloan Steddy, hexxish, Derek Baker, Anthony Faxlandez, battu, Nathan, NICHOLAS BAXLEY, Pat Hen, Xeeosat, Ed Wang, Jordan Shaw, g unit, Srdb, JC, Prompt Pirate, uwutismxd, FrxzenSnxw, zenobeus, ryoma, Stryker, Ginnie, Raku, smart.edge5178, Menard, Pitpe11, TheD1rtyD03, moonpetal, SomeDude, g9p0o, Pkrsky, TheHolySheep, raf8osz, Monte Won, SpringBootisTrash, carsten, ikok, quantenmecha, Jason+Nash, DarkRoast, letzte, Nasty+Hobbit, Sora+Yori, lrdchs2, Duk3+Rand0m, Nathen+Choi, T, cocona, ElitaSSJ4, David Schenck, Wolfe7D1, blikkies, Chris, Time Valentine, elleshar666, Shock Shockor, ACTUALLY_the_Real_Willem_Dafoe, Михал Михалыч, Goldwaters, Kauffy, Zude, Kyler, Edward Kennedy, Justin Blaylock, aRtFuL_DodGeR, Nick Kage, Vane Holzer, psytrax, Cyrus Fett, Xenon Xue, notedfakes, Billy Gladky, Michael Scott, Probis, Solixer, Wes Sims, ItsGeneralButtNaked, Donor4115, Distortik, Filippo Ferrari, Youguang, Saya, andrewzpong, BossGame, lrdchs, Tree Tagger, Inversity, AIVORY3D, Kevinj, Mitchell Robson, Whitepinetrader, POPPIN, nanana, Alex, Karru, ChaChanoKo, ghoulars, null, Beau, redcarrot, powerbot99, Fthehappy, g, J, Alan+Cano, FeralOpticsAI, Pavlaki, Doug+Rintoul, Noor, Yorunai, BillyBoy84, Buecyb99, Welkor, John Martin, Ink Temptation, JBsuede, moranqianlong, Kalli Core, Christian Schäfer, りん あめ, Matt, Locrospiel, Frogmilk, SPJ, Kor, Joseph Hanson, Kyron Mahan, Bryan Rutkowski, TBitz33, Anonym dkjglfleeoeldldldlkf, Ezokewn, SendingRavens, JackJohnnyJim, TenaciousD, Dmitry Ryzhov, Khánh Đặng, Edward Ten Eyck, Michael Docherty, Jimmy Borup, Paul Hartsuyker, elitassj, Pete Pain, Jacob Winter, Ryan Presley Ng, jinksta187, RHopkirk, Andrew Wilkinson, Manu Thetug, Karlanx, Lyavph, Maxim, David, Meilo, operationancut, shinonomeiro, Snille, MaartenAlbers, khanh duy, xybrightsummer, jreedatchison, PhilW, Marcus thronico, Janik, Cruel, MRBlack, Kiyoe, humptynutz, michael.isaza, Kalnei, Scott, Muratoraccio, D, nickname, Sildoren, Darv, Seon+Song, 2turbo, Somebody, Balut+Omelette, Dmitry+Viznesenskiy, tanjin90, sternenkrieger, eriick, Patrick+Bryan, Pascalou, lighthawke, Lev+Lanevskiy, low9, Winged, YassineKhaled, Y, MatteKey, Flob, ShiroSenpai, Inkognito, G, Tan+Huynh, D, Dark_Pest, Jacky+Ho, generic404, abattoirblues, zounik, 4IXplr0r3r, hayden, ahoystan, Bob Barker, edk, Tú Nguyễn Lý Hoàng, shira1011, Ben D, G, Ronan Delevacq, ja s, Leslie Andrew Ridings, Doug Mason, Jeremy Townsend, Dave Abraham, Joaquin Hierrezuelo, Sean voets, Owen Gwosdz, Jarrid Lee, Poophead27 Blyat, John Rednoulf, Spire, AZ Party Oasis, Boba Smith, Devil Lude, David Murcko, MR.Bear, Jack Dole, matt, somethingtosay8, ivistorm, max blo, Sauv, Steven, CptNeo, Maso, Ted Cart, Sage Himeros, Eric Ketchum, Kevin Wallace, David Spearing, ChicRic, Tigon, BastardSama, mercur, SkibidiRizzler, Tania Nayelli Fernandez, Draconach, Yavizu3d, Yves Poezevara, Teriak47, Just me, Raf Stahelin, Вячеслав Маринин, Marcos Tortosa Carmona, Dkommander22, Cola Matthew, OniNoKen, Iain Wisely, Zertens, NOHOW, Apo, nekotxt, choowkee, Clusters, ibrahim, Highlandrise, philcoraz, mztn, ImagineerNL, MrAcrtosSursus, al300680, pixl, Robin, chahknoir, nd, keno94d, James Melzer, Bartleby, Renvertere, Rahuy, Hermann003, D, Foolish, RevyHiep, Captain_Swag, obkircher, gwyar, ResidentDeviant, D, edgecase, Neoxena, mrmhalo, dg, Maarten Harms, Israel, SelfishMedic, adderleighn, EnragedAntelope, bakeliteboy, TequiTequi, Homero+Banda, Nick, Jim, Monix, Trolinka, IshouI;;, PredragR, Clauzmak, Nerick, JoL, Gold_miner_ego, SundayRage, YoruHime, matter, SRCRCOSS, imer, Akkas+Haque, Kachac, tyrant2811, Kevin, Rune+Osnes, jcx29, cloudghost, Yongkwan+Lee, PoorStudent, lucites, Alex+Zaw, Mobius2020, ExLightSaber, YaboiRay, Drizzly, Nebuleux, Join+Chun, GDS+DEV, 4rt+r3d, you+halo9, Somebody, Somebody, Crescent~San, AiGirlTS, datasl4ve, Somebody, koopa990, The+Forgetful+Dev, Mateusz+Kosela, Bula, KUJYAKU, Coeur+de+cochon, Obsidian.Studios, han b, Zomba Mann, Aquaneo, Nico, Maximilian Krischan, Banana Joe, _ G3n, Donovan Jenkins, Hans Meier, sicarius, Michael Eid, Wolf and Fox Legends, beersandbacon, Neko Desco, Bob barker, Ninja Tom, karim ben brik, Vinarus, Josh Snyder, Michael Zhu, Nemisu, Seraphy, 雨の心 落, AllTimeNoobie, jumpd, John C, Rim, Room Light, Jairus Knudsen, Xan Dionysus, Patryk Serious, Nathan lee, lylepaul, Middo, Forbidden Atelier, Thomas Sankowski, DrB, Adictedtohumping, Snorklebort, vinter, Towelie, TheFusion, Jean-françois SEMA, 3zS4QNQ4, Terminuz, Kurt, Matt M., Ivan Imes, J M, Bouya shaka, Faburizu, Jack Lawfield, jimyjomson, Borte, JaeHyun Jang, Homero Banda, Chase Kwon, yyuvuvu, Inyoshu, Chad Barnes, Person Y, Nomki, inusanorthcape, James Ming, vanditking, kripitonga, Rizzi, nimin, OMAR LUCIANO, Somebody, CoffeeMage, Ken+Suzuki, hannibal, Jo+Example, BrentBertram, eumelzocker, dxjaymz, L C, Dude, Somebody, CK
⚠ Important Note: To use the CivitAI download feature, you'll need to:
- Get your CivitAI API key from your profile settings
- Add it to the LoRA Manager settings page
- Save the settings
Key Features
-
🚀 High Performance
- Fast model loading and browsing
- Smooth scrolling through large collections
-
🌐 Rich Model Integration
- Direct download from CivitAI
- Preview images and videos
- Model descriptions and version selection
- Trigger words at a glance
- One-click workflow integration with preset values
-
🔄 Checkpoint Management
- Scan and organize checkpoint models
- Filter and search your collection
- View and edit metadata
- Clean up and manage disk space
-
🧩 LoRA Recipes
- Save and share favorite LoRA combinations
- Preserve generation parameters for future reference
- Quick application to workflows
- Import/export functionality for community sharing
-
💻 User Friendly
- One-click access from ComfyUI menu
- Context menu for quick actions
- Custom notes and usage tips
- Multi-folder support
- Configurable mature blur threshold (
PG13/R/X/XXX, defaultR+)- Example: setting threshold to
PG13blursPG13,R,X, andXXXpreviews when blur is enabled
- Example: setting threshold to
- Visual progress indicators during initialization
Installation
Option 1: ComfyUI Manager (Recommended for ComfyUI users)
- Open ComfyUI.
- Go to Manager > Custom Node Manager.
- Search for
lora-manager. - Click Install.
Option 2: Portable Standalone Edition (No ComfyUI required)
- Download the Portable Package
- Copy the provided
settings.json.examplefile to create a new file namedsettings.jsonincomfyui-lora-managerfolder. - Edit the new
settings.jsonto include your correct model folder paths and CivitAI API key- Set
"use_portable_settings": trueif you want the configuration to remain inside the repository folder instead of your user settings directory.
- Set
- Run run.bat
- To change the startup port, edit
run.batand modify the parameter (e.g.--port 9001)
- To change the startup port, edit
Option 3: Manual Installation
git clone https://github.com/willmiao/ComfyUI-Lora-Manager.git
cd ComfyUI-Lora-Manager
pip install -r requirements.txt
Usage
- There are two ways to access the LoRA manager:
- Click the "Launch LoRA Manager" button in the ComfyUI menu
- Visit http://localhost:8188/loras directly
- From the interface, you can:
- Browse and organize your LoRA models
- Download models directly from CivitAI
- Automatically fetch or manually set preview images
- View and copy trigger words associated with each LoRA
- Add personal notes and usage tips
- To use LoRAs in your workflow:
- Add the "Lora Loader (LoraManager)" node to your workflow
- Select a LoRA in the manager interface
- Click copy button or use right-click menu "Copy LoRA syntax"
- Paste into the Lora Loader node's text input
- The node will automatically apply preset strength and trigger words
Wildcards for TextLM / PromptLM
Text (LoraManager) and Prompt (LoraManager) support /wildcard autocomplete plus runtime wildcard expansion.
- Wildcard files live in
{settings folder}/wildcards/ - When you type
/wildcardand no wildcard files exist yet, the autocomplete dropdown shows the exact folder path and lets you open it - Supported formats:
.txt,.yaml,.yml,.json
Format rules:
wildcards/animals/cat.txtbecomes__animals/cat__.txtfiles use one option per line- YAML / JSON files use nested keys that end in string arrays
Examples:
# wildcards/color.txt
red
blue
green
Use it as __color__.
# wildcards/colors.yaml
palette:
warm:
- red
- orange
Use it as __palette/warm__.
Filename Format Patterns for Save Image Node
The Save Image Node supports dynamic filename generation using pattern codes. You can customize how your images are named using the following format patterns:
Available Pattern Codes
Cross-Node Placeholders (ComfyUI Standard)
%NodeTitle.WidgetName%- Reference any widget value from any node in your workflow, for example:%KSampler.seed%- The seed from a KSampler node%Empty Latent Image.width%- The width from an Empty Latent Image node%KSampler.steps%- The steps value from a KSampler node- Nodes are matched by their "Node name for S&R" property, then by their title
Generation Metadata Placeholders (LoRA Manager)
%seed%- Inserts the generation seed number%width%- Inserts the image width%height%- Inserts the image height%pprompt:N%- Inserts the positive prompt (limited to N characters)%nprompt:N%- Inserts the negative prompt (limited to N characters)%model:N%- Inserts the model/checkpoint name (limited to N characters)
Date/Time Placeholders
%date%- Inserts current date/time as "yyyyMMddhhmmss"%date:FORMAT%- Inserts date using custom format with:yyyy- 4-digit yearyy- 2-digit yearMM- 2-digit monthdd- 2-digit dayhh- 2-digit hourmm- 2-digit minutess- 2-digit second
Examples
image_%seed%→image_1234567890gen_%width%x%height%→gen_512x768%model:10%_%seed%→dreamshape_1234567890%date:yyyy-MM-dd%→2025-04-28%pprompt:20%_%seed%→beautiful landscape_1234567890%model%_%date:yyMMdd%_%seed%→dreamshaper_v8_250428_1234567890%KSampler.seed%→1234567890(resolved from the KSampler node's widget)%Empty Latent Image.width%x%Empty Latent Image.height%→512x768%KSampler.seed%_%KSampler.steps%→1234567890_25
You can combine multiple patterns to create detailed, organized filenames for your generated images. Cross-node and metadata placeholders can be mixed freely — for example: %KSampler.seed%_%model%_%date:yyyyMMdd%.
Organizing Images into Subdirectories
Including a path separator (/ on all platforms) in the filename prefix creates subdirectories automatically, which is especially powerful when combined with placeholders:
| Pattern | Result |
|---|---|
%date:yyyy-MM-dd%/%seed% |
Saves to 2025-04-28/1234567890.png |
%model%/%date:yyMMdd%_%seed% |
Saves to dreamshaper_v8/250428_1234567890.png |
%KSampler.seed%/%model% |
Saves to 1234567890/dreamshaper_v8.png |
%date:yyyy/MM/dd%/%seed% |
Saves to 2025/04/28/1234567890.png (nested year/month/day) |
%model%/training/%seed% |
Saves to dreamshaper_v8/training/1234567890.png |
Note
: The subdirectory is created relative to your ComfyUI output directory (configurable via
--output-directory). Characters invalid for folder names are automatically replaced with underscores.
Standalone Mode
You can now run LoRA Manager independently from ComfyUI:
-
For ComfyUI users:
- Launch ComfyUI with LoRA Manager at least once to initialize the necessary path information in the
settings.jsonfile located in your user settings folder (see paths above). - Make sure dependencies are installed:
pip install -r requirements.txt - From your ComfyUI root directory, run:
python custom_nodes\comfyui-lora-manager\standalone.py - Access the interface at:
http://localhost:8188/loras - You can specify a different host or port with arguments:
python custom_nodes\comfyui-lora-manager\standalone.py --host 127.0.0.1 --port 9000
- Launch ComfyUI with LoRA Manager at least once to initialize the necessary path information in the
-
For non-ComfyUI users:
- Copy the provided
settings.json.examplefile to create a new file namedsettings.json. Update the API key, optional language, and folder paths only—the library registry is created automatically when LoRA Manager starts. - Edit
settings.jsonto include your correct model folder paths and CivitAI API key (you can leave the defaults until ready to configure them) - Enable portable mode by setting
"use_portable_settings": trueif you prefer LoRA Manager to read and write thesettings.jsonlocated in the project directory. - Install required dependencies:
pip install -r requirements.txt - Run standalone mode:
python standalone.py - Access the interface through your browser at:
http://localhost:8188/loras
Note: Existing installations automatically migrate the legacy
settings.jsonfrom the plugin folder to the user settings directory the first time you launch this version. - Copy the provided
This standalone mode provides a lightweight option for managing your model and recipe collection without needing to run the full ComfyUI environment, making it useful even for users who primarily use other stable diffusion interfaces.
Testing & Coverage
Backend
Install the development dependencies and run pytest with coverage reports:
pip install -r requirements-dev.txt
COVERAGE_FILE=coverage/backend/.coverage pytest \
--cov=py \
--cov=standalone \
--cov-report=term-missing \
--cov-report=html:coverage/backend/html \
--cov-report=xml:coverage/backend/coverage.xml \
--cov-report=json:coverage/backend/coverage.json
HTML, XML, and JSON artifacts are stored under coverage/backend/ so you can inspect hot spots locally or from CI artifacts.
Frontend
Run the Vitest coverage suite to analyze widget hot spots:
npm run test:coverage
Documentation
- metadata.json Schema Documentation — Complete reference for the
.metadata.jsonsidecar file format, including all fields, types, and examples for LoRA, Checkpoint, and Embedding models.
Contributing
Thank you for your interest in contributing to ComfyUI LoRA Manager! As this project is currently in its early stages and undergoing rapid development and refactoring, we are temporarily not accepting pull requests.
However, your feedback and ideas are extremely valuable to us:
- Please feel free to open issues for any bugs you encounter
- Submit feature requests through GitHub issues
- Share your suggestions for improvements
We appreciate your understanding and look forward to potentially accepting code contributions once the project architecture stabilizes.
Credits
This project has been inspired by and benefited from other excellent ComfyUI extensions:
- ComfyUI-QwenImageLoraLoader - For the experimental Nunchaku Qwen-Image LoRA support
- ComfyUI-SaveImageWithMetaData - For the image metadata functionality
- rgthree-comfy - For the lora loader functionality
☕ Support
If you find this project helpful, consider supporting its development:
WeChat: Click to view QR code
💬 Community
Join our Discord community for support, discussions, and updates: Discord Server

