Visit ComfyUI Online for ready-to-use ComfyUI environment
Dir Gir is a ComfyUI extension featuring directory automation utility nodes. It includes Directory Get-It-Right, which offers a GUI directory browser and a smart directory loop node with regex, file extension filtering, and sorting capabilities.
Welcome to ComfyUI-DirGir, an extension designed to enhance your experience with ComfyUI by providing utility nodes that simplify directory management. This extension is particularly useful for AI artists who need to handle large numbers of files efficiently. ComfyUI-DirGir allows you to select directories, loop through files, and manage file indices seamlessly, ensuring that you can focus on your creative work without getting bogged down by technical details. Whether you're working with images or other file types, ComfyUI-DirGir helps automate repetitive tasks, making your workflow smoother and more efficient.
ComfyUI-DirGir operates by introducing utility nodes that manage directories and file indices. Imagine having a virtual assistant that keeps track of your files, automatically looping through them and resetting indices when needed. This extension uses a graphical user interface (GUI) to let you select directories easily, and it remembers your selections even after restarting the server. By automating the process of looping through files, ComfyUI-DirGir ensures that you never have to manually reset indices or worry about exceeding the number of available files.
The GIR Directory Picker node provides a user-friendly interface for selecting directories. It uses tkinker
to open a GUI file browser, allowing you to choose a directory with ease. Once selected, the directory path is saved persistently, meaning it remains available even after server restarts. This feature is perfect for artists who frequently switch between different projects or file sets.
The GIR Loopy Dir node automates the process of looping through files in a directory. It increments the file index automatically and resets it to zero once all files have been processed. You can filter files by extension or use regular expressions to refine your selection. This node is ideal for batch processing tasks, ensuring that you can queue files without worrying about manually managing indices.
The GIR Image Nabber node simplifies the process of loading images from a specified path. It works seamlessly with the results from the Loopy Dir node, allowing you to focus on your creative tasks without needing additional directory filtering logic. This feature is particularly useful for artists who need to work with specific image sets.
Currently, ComfyUI-DirGir does not include different models. The extension focuses on providing utility nodes that enhance directory management and file handling within ComfyUI.
The latest updates to ComfyUI-DirGir have focused on improving user experience and functionality. The extension now offers enhanced directory selection capabilities and more robust file looping mechanisms. These improvements ensure that AI artists can work more efficiently, with fewer interruptions and a more streamlined workflow.
If you encounter issues while using ComfyUI-DirGir, here are some common problems and solutions:
tkinker
is installed correctly. If the automatic installation fails, refer to the TKinker Installation Guide (https://tkdocs.com/tutorial/install.html) for manual setup.To further explore the capabilities of ComfyUI-DirGir, consider visiting the ComfyUI Craftsman for guidance and support. This resource offers insights into real ComfyUI implementations and can help answer any questions you may have. Additionally, engaging with community forums and tutorials can provide valuable tips and tricks to enhance your workflow with ComfyUI-DirGir.
RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.