[GH-ISSUE #310] [QUESTION] Any plans for ComfyUI node? #216

Closed
opened 2026-10-30 21:21:08 +00:00 by bsakaguchi · 8 comments
Owner

Originally created by @Bercraft on GitHub (Jan 2, 2025).
Original GitHub issue: https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/issues/310

As from title, there ar eno plans to implement it for comfyUI?
Thank you.

Originally created by @Bercraft on GitHub (Jan 2, 2025). Original GitHub issue: https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/issues/310 As from title, there ar eno plans to implement it for comfyUI? Thank you.
bsakaguchi 2026-10-30 21:21:08 +00:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@DominikDoom commented on GitHub (Jan 2, 2025):

Not in the foreseeable future. The way this extension is written relies pretty heavily on webui internals and its GUI. To make it compatible with comfy would require a complete rewrite or separate project, which I don't have the time for currently.

There are some other autocomplete extensions as parts of ComfyUI custom node / script packages, while they are less feature-rich compared to this one (at least those I know of), basic tag and embedding name completion works fine.
For example, https://github.com/pythongosssss/ComfyUI-Custom-Scripts#autocomplete is one I use myself.

<!-- gh-comment-id:2567729435 --> @DominikDoom commented on GitHub (Jan 2, 2025): Not in the foreseeable future. The way this extension is written relies pretty heavily on webui internals and its GUI. To make it compatible with comfy would require a complete rewrite or separate project, which I don't have the time for currently. There are some other autocomplete extensions as parts of ComfyUI custom node / script packages, while they are less feature-rich compared to this one (at least those I know of), basic tag and embedding name completion works fine. For example, https://github.com/pythongosssss/ComfyUI-Custom-Scripts#autocomplete is one I use myself.
Author
Owner

@Bercraft commented on GitHub (Jan 2, 2025):

ok ok i understand. Just to let you know here there are always up to date tags file https://github.com/DraconicDragon/dbr-e621-lists-archive, maybe they are useful to you too.

<!-- gh-comment-id:2568227016 --> @Bercraft commented on GitHub (Jan 2, 2025): ok ok i understand. Just to let you know here there are always up to date tags file [https://github.com/DraconicDragon/dbr-e621-lists-archive](url), maybe they are useful to you too.
Author
Owner

@DominikDoom commented on GitHub (Jan 3, 2025):

Thanks for the link, those do seem really useful as they're already in the format I use 👍

<!-- gh-comment-id:2569167484 --> @DominikDoom commented on GitHub (Jan 3, 2025): Thanks for the link, those do seem really useful as they're already in the format I use 👍
Author
Owner

@Bercraft commented on GitHub (Jan 3, 2025):

Sorry to bother, there is a way using https://github.com/pythongosssss/ComfyUI-Custom-Scripts#autocomplete to load txt files? sice we can export csv to txt? since it would be awesome to abe able to load them like in your extension, maybe changing the url to point to local storage?

<!-- gh-comment-id:2569286490 --> @Bercraft commented on GitHub (Jan 3, 2025): Sorry to bother, there is a way using [ https://github.com/pythongosssss/ComfyUI-Custom-Scripts#autocomplete](url) to load txt files? sice we can export csv to txt? since it would be awesome to abe able to load them like in your extension, maybe changing the url to point to local storage?
Author
Owner

@DominikDoom commented on GitHub (Jan 3, 2025):

I don't think it's possible to load the local files directly there due to browser security limitations, but what will work is to load the raw CSV as a URL from GitHub. It will work as-is with aliases etc, no need to remove columns or convert it to txt.

If you navigate to and click on a tag CSV file here in this github repo or in one of the lists made by DraconicDragon, the file will have a "Raw" button on the right, and due to its size also this info text:

image

If you click on "View raw" or the raw button in the header, it will open the file directly in a new page. Since that is a direct link to the content, you can copy that URL into the custom words settings menu for pythongosssss/ComfyUI-Custom-Scripts similar to the gist.github.com URL that is there by default.

The big limitation here is that you have to copy-paste the URL each time you want to switch, there's no easy built-in way as far as I'm aware to keep a collection of lists ready to choose from on the fly.

Edit: Of course, another option would just be to copy the entire file contents from the local file and paste it in the settings list below the URL, no need to use the online version in that case. Loading the URL does pretty much the same thing after all.

<!-- gh-comment-id:2569327585 --> @DominikDoom commented on GitHub (Jan 3, 2025): I don't think it's possible to load the local files directly there due to browser security limitations, but what will work is to load the raw CSV as a URL from GitHub. It will work as-is with aliases etc, no need to remove columns or convert it to txt. If you navigate to and click on a tag CSV file here in this github repo or in one of the lists made by DraconicDragon, the file will have a "Raw" button on the right, and due to its size also this info text: ![image](https://github.com/user-attachments/assets/c9963318-26b5-4efc-b668-89df1ce1cd65) If you click on "View raw" or the raw button in the header, it will open the file directly in a new page. Since that is a direct link to the content, you can copy that URL into the custom words settings menu for pythongosssss/ComfyUI-Custom-Scripts similar to the gist.github.com URL that is there by default. The big limitation here is that you have to copy-paste the URL each time you want to switch, there's no easy built-in way as far as I'm aware to keep a collection of lists ready to choose from on the fly. Edit: Of course, another option would just be to copy the entire file contents from the local file and paste it in the settings list below the URL, no need to use the online version in that case. Loading the URL does pretty much the same thing after all.
Author
Owner

@thijsi123 commented on GitHub (Jan 4, 2025):

Not in the foreseeable future. The way this extension is written relies pretty heavily on webui internals and its GUI. To make it compatible with comfy would require a complete rewrite or separate project, which I don't have the time for currently.

There are some other autocomplete extensions as parts of ComfyUI custom node / script packages, while they are less feature-rich compared to this one (at least those I know of), basic tag and embedding name completion works fine. For example, https://github.com/pythongosssss/ComfyUI-Custom-Scripts#autocomplete is one I use myself.

Would this be possible/may I request for swarmui? (Not the comfyui side of it but the main generation tab)

<!-- gh-comment-id:2571394130 --> @thijsi123 commented on GitHub (Jan 4, 2025): > Not in the foreseeable future. The way this extension is written relies pretty heavily on webui internals and its GUI. To make it compatible with comfy would require a complete rewrite or separate project, which I don't have the time for currently. > > There are some other autocomplete extensions as parts of ComfyUI custom node / script packages, while they are less feature-rich compared to this one (at least those I know of), basic tag and embedding name completion works fine. For example, https://github.com/pythongosssss/ComfyUI-Custom-Scripts#autocomplete is one I use myself. Would this be possible/may I request for [swarmui](https://github.com/mcmonkeyprojects/SwarmUI)? (Not the comfyui side of it but the main generation tab)
Author
Owner

@DominikDoom commented on GitHub (Jan 4, 2025):

@thijsi123 Swarm would be even more work than ComfyUI as its extension system works completely different and even uses a different programming language, meaning I could reuse less of the existing extension. So it's pretty unrealistic, sorry. Same goes for pretty much all non-webui-derived frontends. This extension is pretty inflexible in that regard as the UI part and backend both rely on webui specific features, settings, etc.

<!-- gh-comment-id:2571399567 --> @DominikDoom commented on GitHub (Jan 4, 2025): @thijsi123 Swarm would be even more work than ComfyUI as its extension system works completely different and even uses a different programming language, meaning I could reuse less of the existing extension. So it's pretty unrealistic, sorry. Same goes for pretty much all non-webui-derived frontends. This extension is pretty inflexible in that regard as the UI part and backend both rely on webui specific features, settings, etc.
Author
Owner

@Bercraft commented on GitHub (Jan 16, 2025):

@DominikDoom i updated the code of pythongosssss autocomplete to auto load lists locally or from https://github.com/DraconicDragon/dbr-e621-lists-archive , if you want to have a look https://github.com/pythongosssss/ComfyUI-Custom-Scripts/issues/424

<!-- gh-comment-id:2595001512 --> @Bercraft commented on GitHub (Jan 16, 2025): @DominikDoom i updated the code of pythongosssss autocomplete to auto load lists locally or from [https://github.com/DraconicDragon/dbr-e621-lists-archive](url) , if you want to have a look [https://github.com/pythongosssss/ComfyUI-Custom-Scripts/issues/424](url)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DominikDoom/a1111-sd-webui-tagcomplete#216
No description provided.