ScoopInstaller / Install

📥 Next-generation Scoop (un)installer
https://get.scoop.sh
The Unlicense
688 stars 88 forks source link

Enhance Scoop Installation for Chinese Users by Updating get.scoop.sh Redirect URL #56

Open StarsbySea opened 1 year ago

StarsbySea commented 1 year ago

Hello,

I'm not sure which member, team, or repository is responsible for controlling the redirect for get.scoop.sh, so I'm posting this issue here.

As you may know, the domain raw.githubusercontent.com is subject to DNS poisoning and SNI filtering in mainland China, which makes it difficult to install Scoop via get.scoop.sh. One could argue that users can specify a proxy, but that's not an ideal user experience, especially for system-level proxies or proxies that can only be used after Scoop is installed. It's worth noting that the main Github.com domain is not completely blocked.

To improve the installation experience for users in mainland China, I propose the following change: modify the behavior of get.scoop.sh, which currently redirects to https://raw.githubusercontent.com/scoopinstaller/install/master/install.ps1, to instead redirect to https://cdn.jsdelivr.net/gh/scoopinstaller/install/install.ps1. This alternative link provides the same content as the original link and has better connectivity in mainland China. This change should enhance the out-of-the-box installation experience for users in the region. No other modifications are necessary at this time.

Thank you for your attention to this matter.

WHYBBE commented 1 year ago

Even if the installation file is downloaded normally, the subsequent package installation/update is also a problem, so a stable "ladder" is needed.

rashil2000 commented 12 months ago

The resource pointed to by the get.scoop.sh URL is handled by Luke.

@lukesampson and @ScoopInstaller/maintainers, any thoughts on this?

chawyehsu commented 12 months ago

any thoughts on this?

I personally just don't like the idea. Yeah, changing it as said may/might help in some cases and I know exactly what it means cuz I'm suffering from the same gfw. However I also perceive that despite a different host it may still be unreachable^1 which did happen^3 before. Hence, my philosophy on this would be if you can't solve it perfectly just keep the way it is, and do not bother Luke to update/maintain the settings. There are many alternatives people can use to access when you have a desire to reach that.

Calinou commented 12 months ago

Can we point to both URLs with the JSDelivr URL specified as an alternative if you can't reach raw.githubusercontent.com?

This could be done either by specifying the full URL on the homepage, or creating a get-mirror.scoop.sh subdomain.

BingChunMoLi commented 4 months ago

If supporting the following actions can significantly improve my experience

  1. Provide an offline version of Scoop (older versions of the main library are acceptable)
  2. package before Windows OOBE Why is this happening?
    some bucket in china http://gitee.com, no proxy required
    or scoop install clash or v2ray and more
BingChunMoLi commented 4 months ago

I have a idea. build exe or msi install file, Convenient for beginners and ordinary users, even without the need for a proxy to complete the installation. After installation, you can run the command "set proxy" and "scoop update && scoop update *" Or input during installation "set proxy"