diff --git a/plugins/ghproxy.js b/plugins/ghproxy.js new file mode 100644 index 00000000..575dd016 --- /dev/null +++ b/plugins/ghproxy.js @@ -0,0 +1,29 @@ +let ghproxy; +let proxys = [ + "https://ghproxy.net/", + "https://ghproxy.cc/", + "https://ghp.ci/", + "https://github.ednovas.xyz/", + "https://gh-proxy.com/", + "https://github.moeyy.xyz/", + "https://gh.api.99988866.xyz/", + "https://cf.ghproxy.cc/" +] +function shuffleArray(array) { + array.sort(() => Math.random() - 0.5); + return array; +} + +function getproxy(proxys) { + shuffleArray(proxys); + let url = 'https://raw.githubusercontent.com/src48597962/hk/refs/heads/master/require.js'; + for(let i=0;i