[GH-ISSUE #450] [Feature Request]: Facing the situation where Chinese users are unable to use Git, Huggingface, and Pipy normally. I hope to add proxy functionality. #117

Closed
opened 2026-10-31 22:08:59 +00:00 by bsakaguchi · 11 comments
Owner

Originally created by @Ryden-kai on GitHub (Dec 7, 2024).
Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/450

Prerequisites

  • I have searched the existing issues and checked the recent builds/commits
  • I have read the documentation and this feature is not already available
  • This is a single feature request (not multiple features combined)

Problem StatementPain points for Chinese users:

  1. I hope only ComfyUI can use the proxy. Other programs on the computer are using the Chinese network normally.
  2. Environment variables cannot be changed. Changing environment roll variables can be done using a mirrored URL.

Proposed SolutionYou can choose the following ways to implement it:

  1. Add an environment variable setting function, allowing users to freely set environment variables. Give ComfyUI a higher degree of freedom.
  2. Use the terminal to run the agent. For example: ComfyUI.exe -- proxy http://127.0.0.1:7890
    image ( https://github.com/user-attachments/assets/3526cb86-5a30-44ae-8ec5-0c04f44e5a9e )
  3. Add a proxy button and proxy link to the ComfyUI interface, and remind users to restart ComfyUI after enabling or disabling the proxy button to have an effect.

Potential workflow

  1. Determine proxy link
  2. Enable or disable proxy

Impact LevelCritical (Blocking my work)

Alternatives ConsideredNo response

Additional informationNo response

┆Issue is synchronized with this Notion page by Unito

Originally created by @Ryden-kai on GitHub (Dec 7, 2024). Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/450 Prerequisites * I have searched the existing issues and checked the recent builds/commits * I have read the documentation and this feature is not already available * This is a single feature request (not multiple features combined) Problem StatementPain points for Chinese users: 1. I hope only ComfyUI can use the proxy. Other programs on the computer are using the Chinese network normally. 2. Environment variables cannot be changed. Changing environment roll variables can be done using a mirrored URL. Proposed SolutionYou can choose the following ways to implement it: 1. Add an environment variable setting function, allowing users to freely set environment variables. Give ComfyUI a higher degree of freedom. 2. Use the terminal to run the agent. For example: ComfyUI.exe -- proxy http://127.0.0.1:7890 image ( https://github.com/user-attachments/assets/3526cb86-5a30-44ae-8ec5-0c04f44e5a9e ) 3. Add a proxy button and proxy link to the ComfyUI interface, and remind users to restart ComfyUI after enabling or disabling the proxy button to have an effect. Potential workflow 1. Determine proxy link 2. Enable or disable proxy Impact LevelCritical (Blocking my work) Alternatives ConsideredNo response Additional informationNo response ┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-1961-Feature-Request-Facing-the-situation-where-Chinese-users-are-unable-to-use-Git-Hug-15f6d73d365081eca7c5dec94ec2bcad) by [Unito](https://www.unito.io)
bsakaguchi 2026-10-31 22:08:59 +00:00
Author
Owner

@robinjhuang commented on GitHub (Dec 12, 2024):

Makes sense! We are planning to add this. Are there any other features that would be helpful for users in China? Mirror urls etc?

<!-- gh-comment-id:2540042701 --> @robinjhuang commented on GitHub (Dec 12, 2024): Makes sense! We are planning to add this. Are there any other features that would be helpful for users in China? Mirror urls etc?
Author
Owner

@LiJT commented on GitHub (Dec 15, 2024):

Yes need this function so bad

<!-- gh-comment-id:2543422992 --> @LiJT commented on GitHub (Dec 15, 2024): Yes need this function so bad
Author
Owner

@zhaoqi571436204 commented on GitHub (Dec 15, 2024):

It is very important. In China, installation is a problem without mirrors.

<!-- gh-comment-id:2543432997 --> @zhaoqi571436204 commented on GitHub (Dec 15, 2024): It is very important. In China, installation is a problem without mirrors.
Author
Owner

@teward commented on GitHub (Dec 15, 2024):

Makes sense! We are planning to add this. Are there any other features that would be helpful for users in China? Mirror urls etc?

I'm curious, wouldn't setting system proxy be sufficient? Is there a direct need to code the proxy functionality into Comfy?

<!-- gh-comment-id:2543434717 --> @teward commented on GitHub (Dec 15, 2024): > Makes sense! We are planning to add this. Are there any other features that would be helpful for users in China? Mirror urls etc? I'm curious, wouldn't setting system proxy be sufficient? Is there a direct need to code the proxy functionality into Comfy?
Author
Owner

@Ryden-kai commented on GitHub (Dec 17, 2024):

Makes sense! We are planning to add this. Are there any other features that would be helpful for users in China? Mirror urls etc?
Sure, on behalf of Chinese users, I would like to thank the developers of Comfy Org/desktop.
The following are the relevant mirror source websites in China
1 huggingface: https://hf-mirror.com/
2 pip : https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
Others hope that Chinese users can see and help supplement it

<!-- gh-comment-id:2547613949 --> @Ryden-kai commented on GitHub (Dec 17, 2024): > Makes sense! We are planning to add this. Are there any other features that would be helpful for users in China? Mirror urls etc? Sure, on behalf of Chinese users, I would like to thank the developers of Comfy Org/desktop. The following are the relevant mirror source websites in China 1 huggingface: https://hf-mirror.com/ 2 pip : https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple Others hope that Chinese users can see and help supplement it
Author
Owner

@Ryden-kai commented on GitHub (Dec 17, 2024):

Makes sense! We are planning to add this. Are there any other features that would be helpful for users in China? Mirror urls etc?

I'm curious, wouldn't setting system proxy be sufficient? Is there a direct need to code the proxy functionality into Comfy?
I hope that only Comfyui uses a proxy network, while the system and other software use the Chinese network. Some other software cannot use networks outside of China

<!-- gh-comment-id:2547616623 --> @Ryden-kai commented on GitHub (Dec 17, 2024): > > Makes sense! We are planning to add this. Are there any other features that would be helpful for users in China? Mirror urls etc? > > I'm curious, wouldn't setting system proxy be sufficient? Is there a direct need to code the proxy functionality into Comfy? I hope that only Comfyui uses a proxy network, while the system and other software use the Chinese network. Some other software cannot use networks outside of China
Author
Owner

@robinjhuang commented on GitHub (Dec 27, 2024):

@Ryden-kai @zhaoqi571436204 @LiJT Tracking this issue here:

https://github.com/Comfy-Org/desktop/issues/573

<!-- gh-comment-id:2563193445 --> @robinjhuang commented on GitHub (Dec 27, 2024): @Ryden-kai @zhaoqi571436204 @LiJT Tracking this issue here: https://github.com/Comfy-Org/desktop/issues/573
Author
Owner

@robinjhuang commented on GitHub (Dec 27, 2024):

Are you aware of any mirror sites that contain Github Releases? https://gitcode.com/indygreg/python-build-standalone This does not contain the actual Github Releases artifacts which we need to install Python

<!-- gh-comment-id:2563193895 --> @robinjhuang commented on GitHub (Dec 27, 2024): Are you aware of any mirror sites that contain Github Releases? https://gitcode.com/indygreg/python-build-standalone This does not contain the actual Github Releases artifacts which we need to install Python
Author
Owner

@Ryden-kai commented on GitHub (Dec 28, 2024):

Are you aware of any mirror sites that contain Github Releases? https://gitcode.com/indygreg/python-build-standalone This does not contain the actual Github Releases artifacts which we need to install Python

Github releases currently do not have mirror sites in China

<!-- gh-comment-id:2564277050 --> @Ryden-kai commented on GitHub (Dec 28, 2024): > Are you aware of any mirror sites that contain Github Releases? https://gitcode.com/indygreg/python-build-standalone This does not contain the actual Github Releases artifacts which we need to install Python Github releases currently do not have mirror sites in China
Author
Owner

@Ryden-kai commented on GitHub (Dec 28, 2024):

Are you aware of any mirror sites that contain Github Releases? https://gitcode.com/indygreg/python-build-standalone This does not contain the actual Github Releases artifacts which we need to install Python

You can try downloading and installing Python from this mirror site. https://mirrors.aliyun.com/python-release/

<!-- gh-comment-id:2564277916 --> @Ryden-kai commented on GitHub (Dec 28, 2024): > Are you aware of any mirror sites that contain Github Releases? https://gitcode.com/indygreg/python-build-standalone This does not contain the actual Github Releases artifacts which we need to install Python You can try downloading and installing Python from this mirror site. https://mirrors.aliyun.com/python-release/
Author
Owner

@webfiltered commented on GitHub (Feb 2, 2025):

Mirror site options have been added, which should allow everyone to choose their own mirror. They are configured near the end of the install wizard, before your downloads start. If this feature does not work for you for any reason, please let us know.

Announcement:
https://blog.comfy.org/p/easy-installation-in-desktop

<!-- gh-comment-id:2629496501 --> @webfiltered commented on GitHub (Feb 2, 2025): Mirror site options have been added, which should allow everyone to choose their own mirror. They are configured near the end of the install wizard, before your downloads start. If this feature does not work for you for any reason, please let us know. Announcement: https://blog.comfy.org/p/easy-installation-in-desktop
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/desktop#117
No description provided.