{"id":13510992,"url":"https://github.com/pythongosssss/ComfyUI-Custom-Scripts","last_synced_at":"2025-03-30T19:30:37.558Z","repository":{"id":149946936,"uuid":"610439120","full_name":"pythongosssss/ComfyUI-Custom-Scripts","owner":"pythongosssss","description":"Enhancements \u0026 experiments for ComfyUI, mostly focusing on UI features","archived":false,"fork":false,"pushed_at":"2025-03-16T13:01:51.000Z","size":488,"stargazers_count":2272,"open_issues_count":149,"forks_count":174,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-03-28T13:01:37.271Z","etag":null,"topics":["comfyui"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pythongosssss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-06T19:23:24.000Z","updated_at":"2025-03-28T12:44:28.000Z","dependencies_parsed_at":"2024-02-10T16:27:34.037Z","dependency_job_id":"57c29800-5482-4c8e-95f7-0a1912619c88","html_url":"https://github.com/pythongosssss/ComfyUI-Custom-Scripts","commit_stats":{"total_commits":395,"total_committers":41,"mean_commits":9.634146341463415,"dds":"0.20759493670886076","last_synced_commit":"19a82e29fddc506cae2e654ef5dd9f81d1f4a4ba"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythongosssss%2FComfyUI-Custom-Scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythongosssss%2FComfyUI-Custom-Scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythongosssss%2FComfyUI-Custom-Scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythongosssss%2FComfyUI-Custom-Scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pythongosssss","download_url":"https://codeload.github.com/pythongosssss/ComfyUI-Custom-Scripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246368608,"owners_count":20766053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["comfyui"],"created_at":"2024-08-01T03:00:28.571Z","updated_at":"2025-03-30T19:30:37.266Z","avatar_url":"https://github.com/pythongosssss.png","language":"JavaScript","funding_links":[],"categories":["Custom Nodes and Plugins","Workflows (3395) sorted by GitHub Stars","All Workflows Sorted by GitHub Stars"],"sub_categories":[],"readme":"# ComfyUI-Custom-Scripts\n\n### ⚠️ While these extensions work for the most part, i'm very busy at the moment and so unable to keep on top of everything here, thanks for your patience!\n\n# Installation\n\n1. Clone the repository:\n`git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts.git`  \nto your ComfyUI `custom_nodes` directory\n\n   The script will then automatically install all custom scripts and nodes.  \n   It will attempt to use symlinks and junctions to prevent having to copy files and keep them up to date.\n\n- For uninstallation:\n  - Delete the cloned repo in `custom_nodes`\n  - Ensure `web/extensions/pysssss/CustomScripts` has also been removed\n\n# Update\n1. Navigate to the cloned repo e.g. `custom_nodes/ComfyUI-Custom-Scripts`\n2. `git pull`\n\n# Features\n\n## Autocomplete\n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/b5971135-414f-4f4e-a6cf-2650dc01085f)  \nProvides embedding and custom word autocomplete. You can view embedding details by clicking on the info icon on the list.  \nDefine your list of custom words via the settings.  \n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/160ef61c-7d7e-49d0-b60f-5a1501b74c9d)  \nYou can quickly default to danbooru tags using the Load button, or load/manage other custom word lists.  \n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/cc180b35-5f45-442f-9285-3ddf3fa320d0)\n\n## Auto Arrange Graph\n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/04b06081-ca6f-4c0f-8584-d0a157c36747)  \nAdds a menu option to auto arrange the graph in order of execution, this makes very wide graphs!\n\n## Always Snap to Grid\n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/66f36d1f-e579-4959-9880-9a9624922e3a)  \nAdds a setting to make moving nodes always snap to grid.\n\n## [Testing] \"Better\" Loader Lists\n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/664caa71-f25f-4a96-a04a-1466d6b2b8b4)  \nAdds custom Lora and Checkpoint loader nodes, these have the ability to show preview images, just place a png or jpg next to the file and it'll display in the list on hover (e.g. sdxl.safetensors and sdxl.png).  \nOptionally enable subfolders via the settings:  \n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/e15b5e83-4f9d-4d57-8324-742bedf75439)   \nAdds an \"examples\" widget to load sample prompts, triggerwords, etc:  \n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/ad1751e4-4c85-42e7-9490-e94fb1cbc8e7)  \nThese should be stored in a folder matching the name of the model, e.g. if it is `loras/add_detail.safetensors` put your files in as  `loras/add_detail/*.txt`  \nTo quickly save a generated image as the preview to use for the model, you can right click on an image on a node, and select Save as Preview and choose the model to save the preview for:  \n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/9fa8e9db-27b3-45cb-85c2-0860a238fd3a)\n\n## Checkpoint/LoRA/Embedding Info\n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/6b67bf40-ee17-4fa6-a0c1-7947066bafc2)\n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/32405df6-b367-404f-a5df-2d4347089a9e)  \nAdds \"View Info\" menu option to view details about the selected LoRA or Checkpoint. To view embedding details, click the info button when using embedding autocomplete.\n\n## Constrain Image\nAdds a node for resizing an image to a max \u0026 min size optionally cropping if required.\n\n## Custom Colors\n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/fa7883f3-f81c-49f6-9ab6-9526e4debab6)  \nAdds a custom color picker to nodes \u0026 groups\n\n## Favicon Status\n![image](https://user-images.githubusercontent.com/125205205/230171227-31f061a6-6324-4976-bed9-723a87500cf3.png)\n![image](https://user-images.githubusercontent.com/125205205/230171445-c7202a45-b511-4d69-87fa-945ad44c063f.png)  \nAdds a favicon and title to the window, favicon changes color while generating and the window title includes the number of prompts in the queue\n\n## Image Feed\n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/caea0d48-85b9-4ca9-9771-5c795db35fbc)\nAdds a panel showing images that have been generated in the current session, you can control the direction that images are added and the position of the panel via the ComfyUI settings screen and the size of the panel and the images via the sliders at the top of the panel.  \n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/ca093d38-41a3-4647-9223-5bd0b9ee4f1e)\n\n## KSampler (Advanced) denoise helper\nProvides a simple method to set custom denoise on the advanced sampler  \n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/42946bd8-0078-4c7a-bfe9-7adb1382b5e2)\n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/7cfccb22-f155-4848-934b-a2b2a6efe16f)\n\n## Math Expression\nAllows for evaluating complex expressions using values from the graph. You can input `INT`, `FLOAT`, `IMAGE` and `LATENT` values.  \n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/1593edde-67b8-45d8-88cb-e75f52dba039)  \nOther nodes values can be referenced via the `Node name for S\u0026R` via the `Properties` menu item on a node, or the node title.  \nSupported operators: `+ - * /` (basic ops) `//` (floor division) `**` (power) `^` (xor) `%` (mod)  \nSupported functions `floor(num, dp?)` `floor(num)` `ceil(num)` `randomint(min,max)`  \nIf using a `LATENT` or `IMAGE` you can get the dimensions using `a.width` or `a.height` where `a` is the input name.\n\n## Node Finder\n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/177d2b67-acbc-4ec3-ab31-7c295a98c194)  \nAdds a menu item for following/jumping to the executing node, and a menu to quickly go to a node of a specific type.\n\n## Preset Text\n![image](https://user-images.githubusercontent.com/125205205/230173939-08459efc-785b-46da-93d1-b02f0300c6f4.png)  \nAdds a node that lets you save and use text presets (e.g. for your 'normal' negatives)\n\n## Quick Nodes\n![image](https://user-images.githubusercontent.com/125205205/230174266-5232831a-a03b-4bf7-bc8b-c45466a0bc64.png)  \nAdds various menu items to some nodes for quickly setting up common parts of graphs\n\n## Play Sound\n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/9bcf9fb3-5898-4432-a974-fb1e17d3b7e8)  \nPlays a sound when the node is executed, either after each prompt or only when the queue is empty for queuing multiple prompts.  \nYou can customize the sound by replacing the mp3 file `ComfyUI/custom_nodes/ComfyUI-Custom-Scripts/web/js/assets/notify.mp3`\n\n## System Notification\n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/30354775/993fd783-5cd6-4779-aa97-173bc06cc405)\n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/30354775/e45227fb-5714-4f45-b96b-6601902ef6e2)\n\nSends a system notification via the browser when the node is executed, either after each prompt or only when the queue is empty for queuing multiple prompts.\n\n## [WIP] Repeater\n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/ec0dac25-14e4-4d44-b975-52193656709d)\nNode allows you to either create a list of N repeats of the input node, or create N outputs from the input node.  \nYou can optionally decide if you want to reuse the input node, or create a new instance each time (e.g. a Checkpoint Loader would want to be re-used, but a random number would want to be unique)\nTODO: Type safety on the wildcard outputs to require match with input\n\n## Show Text\n![image](https://user-images.githubusercontent.com/125205205/230174888-c004fd48-da78-4de9-81c2-93a866fcfcd1.png)  \nTakes input from a node that produces a string and displays it, useful for things like interrogator, prompt generators, etc.\n\n## Show Image on Menu\n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/b6ab58f2-583b-448c-bcfc-f93f5cdab0fc)  \nShows the current generating image on the menu at the bottom, you can disable this via the settings menu.\n\n## String Function\n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/01107137-8a93-4765-bae0-fcc110a09091)  \nSupports appending and replacing text  \n`tidy_tags` will add commas between parts when in `append` mode.  \n`replace` mode supports regex replace by using `/your regex here/` and you can reference capturing groups using `\\number` e.g. `\\1`\n\n## Touch Support\nProvides basic support for touch screen devices, its not perfect but better than nothing\n\n## Widget Defaults\n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/3d675032-2b19-4da8-a7d7-fa2d7c555daa)  \nAllows you to specify default values for widgets when adding new nodes, the values are configured via the settings menu  \n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/7b57a3d8-98d3-46e9-9b33-6645c0da41e7)\n\n## Workflows\nAdds options to the menu for saving + loading workflows:  \n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/7b5a3012-4c59-47c6-8eea-85cf534403ea)\n\n## Workflow Images\n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/06453fd2-c020-46ee-a7db-2b8bf5bcba7e)  \nAdds menu options for importing/exporting the graph as SVG and PNG showing a view of the nodes\n\n## (Testing) Reroute Primitive\n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/8b870eef-d572-43f9-b394-cfa7abbd2f98)  Provides a node that allows rerouting primitives.  \nThe node can also be collapsed to a single point that you can drag around.  \n![image](https://github.com/pythongosssss/ComfyUI-Custom-Scripts/assets/125205205/a9bd0112-cf8f-44f3-af6d-f9a8fed152a7)  \nWarning: Don't use normal reroutes or primitives with these nodes, it isn't tested and this node replaces their functionality.\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n## WD14 Tagger\nMoved to: https://github.com/pythongosssss/ComfyUI-WD14-Tagger\n\n## ~~Lock Nodes \u0026 Groups~~\nThis is now a standard feature of ComfyUI  \n~~Adds a lock option to nodes \u0026 groups that prevents you from moving them until unlocked~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythongosssss%2FComfyUI-Custom-Scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpythongosssss%2FComfyUI-Custom-Scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythongosssss%2FComfyUI-Custom-Scripts/lists"}