[GH-ISSUE #893] [Feature request] Accelerating Network Access Using Mirror Sites #396

Closed
opened 2026-10-27 21:17:04 +00:00 by bsakaguchi · 4 comments
Owner

Originally created by @hben35096 on GitHub (Jul 21, 2024).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/893

I noticed that due to network issues in my region, using the Manager to install nodes often encounters instability. However, I can run the following command in advance:

git config --global url."https://mirror.ghproxy.com/https://github.com/".insteadOf https://github.com/

Then start ComfyUI, so that when using the Manager to install nodes, it uses the mirror site of Github for installation.
For example, installing:

https://github.com/ltdrdata/ComfyUI-Inspire-Pack
will become:
https://mirror.ghproxy.com/https://github.com/ltdrdata/ComfyUI-Inspire-Pack

achieving faster installation.


However, the node list and model list files of the Manager, such as:

https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json

I have no way to change them to:

https://mirror.ghproxy.com/https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
https://mirror.ghproxy.com/https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json

for network acceleration.


So, is there a way, such as a configuration file, where users can fill in some content themselves, like in a yaml file:

"https://github.com/": "https://mirror.ghproxy.com/https://github.com/"
"https://raw.githubusercontent.com/": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/"

Originally created by @hben35096 on GitHub (Jul 21, 2024). Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/893 I noticed that due to network issues in my region, using the Manager to install nodes often encounters instability. However, I can run the following command in advance: `git config --global url."https://mirror.ghproxy.com/https://github.com/".insteadOf https://github.com/` Then start ComfyUI, so that when using the Manager to install nodes, it uses the mirror site of Github for installation. For example, installing: `https://github.com/ltdrdata/ComfyUI-Inspire-Pack` will become: `https://mirror.ghproxy.com/https://github.com/ltdrdata/ComfyUI-Inspire-Pack` achieving faster installation. --- However, the node list and model list files of the Manager, such as: `https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json` `https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json` I have no way to change them to: `https://mirror.ghproxy.com/https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json` `https://mirror.ghproxy.com/https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json` for network acceleration. --- So, is there a way, such as a configuration file, where users can fill in some content themselves, like in a yaml file: `"https://github.com/": "https://mirror.ghproxy.com/https://github.com/"` `"https://raw.githubusercontent.com/": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/"`
Author
Owner

@planb788 commented on GitHub (Aug 6, 2024):

如果是能够自动下载模型的插件,你可以通过简单地在环境变量里面添加一个名为HF_ENDPOINT的环境变量来实现镜像加速,它的值需要设置为https://hf-mirror.com
If it's a plugin capable of automatically downloading models, you can achieve mirror acceleration by simply adding an environment variable named HF_ENDPOINT in your environment variables, with its value set to https://hf-mirror.com

<!-- gh-comment-id:2271580660 --> @planb788 commented on GitHub (Aug 6, 2024): 如果是能够自动下载模型的插件,你可以通过简单地在环境变量里面添加一个名为HF_ENDPOINT的环境变量来实现镜像加速,它的值需要设置为https://hf-mirror.com If it's a plugin capable of automatically downloading models, you can achieve mirror acceleration by simply adding an environment variable named HF_ENDPOINT in your environment variables, with its value set to https://hf-mirror.com
Author
Owner

@Leo-Mu commented on GitHub (Oct 21, 2024):

@planb788 Not working. 并不行,这样做在 ComfyUI-Manager 里并不会把模型下载地址切换到 hf-mirror

<!-- gh-comment-id:2426340965 --> @Leo-Mu commented on GitHub (Oct 21, 2024): @planb788 Not working. 并不行,这样做在 ComfyUI-Manager 里并不会把模型下载地址切换到 hf-mirror
Author
Owner

@ltdrdata commented on GitHub (Nov 18, 2024):

This will be handled in manager-core.

<!-- gh-comment-id:2481920324 --> @ltdrdata commented on GitHub (Nov 18, 2024): This will be handled in manager-core.
Author
Owner

@tianlinzx commented on GitHub (May 17, 2025):

@planb788 Not working. 并不行,这样做在 ComfyUI-Manager 里并不会把模型下载地址切换到 hf-mirror

+1

<!-- gh-comment-id:2887908932 --> @tianlinzx commented on GitHub (May 17, 2025): > [@planb788](https://github.com/planb788) Not working. 并不行,这样做在 ComfyUI-Manager 里并不会把模型下载地址切换到 hf-mirror +1
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
Comfy-Org/ComfyUI-Manager#396
No description provided.