Extensions/ComfyUI-FileExplorer
ComfyUI Extension

ComfyUI-FileExplorer

File Explorer within ComfyUI with multiple file support

By OPAlkimist77·Created a day ago·Updated a day ago· 0
OPAlkimist77/ComfyUI-FileExplorer
Nodes—
On cloudLocal install
Stars0
Updateda day ago
Readme

ComfyUI-FileExplorer

Simple node made by ChatGPT.

Allows you to navigate through your directories, select multiple files of any type and output them.

Up to 9 files can be selected and directly retrieved from 'slot' outputs.

Extra selected files can be retrieved by connecting the 'selected_paths' output to the 'File Explorer (Get Path by Index)' node then connect that one to a node that loads that type of file by path.

'Slot' outputs will return a proper IMAGE, AUDIO, VIDEO or STRING based on the type of file - STRING will be for any non image/audio/video file and if its a '.txt' file then it will contain its contents, otherwise it will be the full path for that file.

The 'images' output is a List of all selected image tensors and to retrieve images from that you need to connect it to either the 'File Explorer (Image Splitter)' or 'File Explorer (Get Image by Index)' nodes.

For video thumbnails you need FFMPEG properly installed.

Using the operative system's file icons/thumbnails as thumbnails for miscellaneous file types is only possible on Windows.

You can add this node inside a subgraph and expose its main custom UI to the subgraph's widgets - it was designed with that in mind. Well, at least it works on a old version of comfyui-frontend-package (1.45.21) but after that version they added a bug that made such custom widgets impossible to expose and I'm not sure if its already fixed or if it ever will be (ComfyUI/issues/15189).

<img width="1871" height="947" alt="1" src="https://github.com/user-attachments/assets/85528b93-ebba-4f27-bb99-2d0e83561fb9" />