Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
StarsbySea opened this issue May 5, 2023 · 6 comments

Comments

@StarsbySea
Copy link

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.

@StarsbySea StarsbySea changed the title Improve Scoop Installation Experience for Users in China by Changing get.scoop.sh Redirect Enhance Scoop Installation for Chinese Users by Updating get.scoop.sh Redirect URL May 5, 2023
@WHYBBE
Copy link
Contributor

WHYBBE commented Jun 23, 2023

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

@rashil2000
Copy link
Member

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

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

@chawyehsu
Copy link
Member

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 unreachable12 which did happen3 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.

Footnotes

  1. https://linustechtips.com/topic/1515725-i-need-help-with-cdnjsdelivrnet-blocked-in-egypt/

  2. https://twitter.com/m_saleh_eg/status/1673248480351879168

  3. https://github.com/jsdelivr/jsdelivr/issues/18392

@Calinou
Copy link

Calinou commented Jul 8, 2023

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
Copy link

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
Copy link

BingChunMoLi commented Feb 8, 2024

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants