{"id":14989050,"url":"https://github.com/lzwme/vm-gh-proxy-cn","last_synced_at":"2025-04-12T00:51:43.810Z","repository":{"id":158033300,"uuid":"607974049","full_name":"lzwme/vm-gh-proxy-cn","owner":"lzwme","description":"GitHub 访问代理助手。一个适合中国大陆用户使用的浏览器油猴脚本。","archived":false,"fork":false,"pushed_at":"2025-02-10T07:24:03.000Z","size":58,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-12T00:51:39.676Z","etag":null,"topics":["github-proxy","proxy","violentmonkey","violentmonkey-script"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lzwme.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-01T03:36:28.000Z","updated_at":"2025-03-31T01:31:59.000Z","dependencies_parsed_at":"2024-02-29T07:42:44.065Z","dependency_job_id":null,"html_url":"https://github.com/lzwme/vm-gh-proxy-cn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lzwme%2Fvm-gh-proxy-cn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lzwme%2Fvm-gh-proxy-cn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lzwme%2Fvm-gh-proxy-cn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lzwme%2Fvm-gh-proxy-cn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lzwme","download_url":"https://codeload.github.com/lzwme/vm-gh-proxy-cn/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248501890,"owners_count":21114681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github-proxy","proxy","violentmonkey","violentmonkey-script"],"created_at":"2024-09-24T14:17:37.879Z","updated_at":"2025-04-12T00:51:43.772Z","avatar_url":"https://github.com/lzwme.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vm-gh-proxy-cn\r\n\r\nGitHub 访问代理助手。一个适合中国大陆用户使用的浏览器油猴脚本。\r\n\r\n## 注意：请不要在镜像网站登录账号，若因此造成任何损失本人概不负责\r\n\r\n## 主要功能\r\n\r\n- 为`源码文件、release附件`添加加速代理链接浮动按钮\r\n- 为仓库生成加速 `clone` 地址的可选项\r\n- 为 `raw`、`release` 附件生成加速下载的链接可选项\r\n- more...\r\n\r\n## 安装\r\n\r\n首先，你应确保浏览器已安装油猴扩展 [violentmonkey](https://violentmonkey.github.io/get-it/)。\r\n\r\n然后在浏览器地址栏输入如下地址，应当会被油猴插件检测到并跳转到安装确认界面（若未检测到，可手动复制其内容，在油猴插件中新建脚本并填入）：\r\n\r\n```txt\r\nhttps://mirror.ghproxy.com/https://raw.githubusercontent.com/lzwme/vm-gh-proxy-cn/main/gh-proxy.user.js\r\n```\r\n\r\n## 关于 Github 代理访问体验提升的几种策略\r\n\r\n当前主要有以下几种策略，其核心是基于开源免费的 CDN 网站或代理网站地址，对要访问的 GitHub 资源地址支持代理、重定向、或镜像服务，以实现加速访问或下载。\r\n\r\n低频率简单使用：\r\n\r\n- `host绑定`：DNS 测速获取 host、host 绑定软件定时更新\r\n  - `host 切换管理软件 SwitchHosts`: \u003cbrew|scoop\u003e install switchhosts\r\n  - `host定时更新`：https://gitlab.cn/ineo6/hosts/-/raw/master/next-hosts\r\n  - `host定时更新`：https://mirror.ghproxy.com/https://raw.githubusercontent.com/521xueweihan/GitHub520/main/hosts\r\n- `浏览器插件网页助手`\r\n  - [violentmonkey(油猴插件)](https://violentmonkey.github.io/get-it/)\r\n  - [Git Master 插件](https://github.com/ineo6/git-master)\r\n- `免费的代理资源站（raw/archive/release 下载、git clone）、mirror镜像`\r\n  - [https://ghproxy.com](https://ghproxy.com)\r\n  - [https://fastgit.org](https://fastgit.org)\r\n  - [CF workers 免费代理站（域名污染，已基本失效）](https://dash.cloudflare.com)\r\n  - [https://cdn.jsdelivr.net/gh](https://cdn.jsdelivr.net/gh) 50MB 限制\r\n  - [https://cdn.staticaly.com/gh](https://cdn.staticaly.com/gh) 图片与源码文件，30MB 限制\r\n  - more...\r\n- `代理软件：`拦截请求，重定向、代理、SNI\r\n  - 本地起 nginx 等 webserver 服务，设置为本地代理，配置代理、重定向、SNI 配置等规则\r\n  - [https://github.com/docmirror/dev-sidecar](https://github.com/docmirror/dev-sidecar)\r\n  - more...\r\n- `仓库镜像`：使用国内开源站查找或自行建立定时同步镜像\r\n  - [gitee mirrors](https://gitee.com/organizations/mirrors/projects)\r\n  - [gitlab.cn](https://gitlab.cn)\r\n  - [gitcode.net/mirrors](https://gitcode.net/mirrors)\r\n\r\n高频逛 `GitHub` 的重度用户：\r\n\r\n- 买 VPN 服务\r\n- 买外网 VPS 服务器自建代理\r\n- More...\r\n\r\n**提示：请注意风险，应仅以为学习研究提供便利为唯一目的，切勿触及道德与法律底线。**\r\n\r\n## 相关参考\r\n\r\n感谢以下开源仓库的工作。本脚本参考了其中部分仓库的相关逻辑。\r\n\r\n- [https://github.com/du33169/gh-proxy-buttons](https://github.com/du33169/gh-proxy-buttons)\r\n- [https://github.com/RC1844/FastGithub](https://github.com/RC1844/FastGithub)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flzwme%2Fvm-gh-proxy-cn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flzwme%2Fvm-gh-proxy-cn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flzwme%2Fvm-gh-proxy-cn/lists"}