Set Up GitHub Proxy with Cloudflare Worker

Lately, on hax woiden, running a script from raw.githubusercontent s .com (the one with the S) errors out with "command not found" The symptom is as follows: /dev/fd/63: line 1: $'\347\275\221\347\253\231\347\273\264\346\212\244\343\200\202': command not found /dev/fd/63: line 1: 网站维护。: command not found I looked into it: this service is not an official GitHub one, and it is currently suspended. Source of the information: https://github.com/7ednet/yard/discussions/11 So we need to set up our own GitHub proxy.

使用Cloudflare Worker自建GitHub Proxy代理 解决raw.githubusercontents.com command not found问题

最近在hax woiden上访问带S的raw.githubusercontent s .com脚本会报错command not found 现象如下: /dev/fd/63: line 1: $'\347\275\221\347\253\231\347\273\264\346\212\244\343\200\202': command not found /dev/fd/63: line 1: 网站维护。: command not found 查了一下,这个服务并不是GitHub官方的,目前暂停了。 消息源: https://github.com/7ednet/yard/discussions/11 所以我们需要搭一个自己的GitHub代理。