{"id":14989008,"url":"https://github.com/rc1844/fastgithub","last_synced_at":"2025-04-04T21:09:04.690Z","repository":{"id":41767401,"uuid":"244853632","full_name":"RC1844/FastGithub","owner":"RC1844","description":"快速跳转GitHub镜像网站、镜像克隆下载的猴油脚本","archived":false,"fork":false,"pushed_at":"2023-12-09T21:47:00.000Z","size":2637,"stargazers_count":555,"open_issues_count":3,"forks_count":68,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-04T21:08:58.756Z","etag":null,"topics":["github","tampermonkey","tampermonkey-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/RC1844.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://cdn.jsdelivr.net/gh/RC1844/Sponsor@master/Sponsor/Sponsor.png"]}},"created_at":"2020-03-04T09:03:32.000Z","updated_at":"2025-04-03T10:18:45.000Z","dependencies_parsed_at":"2024-09-25T00:34:22.226Z","dependency_job_id":null,"html_url":"https://github.com/RC1844/FastGithub","commit_stats":{"total_commits":89,"total_committers":3,"mean_commits":"29.666666666666668","dds":"0.022471910112359605","last_synced_commit":"30dd96209eb9008242bfba717eed11e06108fb07"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RC1844%2FFastGithub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RC1844%2FFastGithub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RC1844%2FFastGithub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RC1844%2FFastGithub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RC1844","download_url":"https://codeload.github.com/RC1844/FastGithub/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247249529,"owners_count":20908212,"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","tampermonkey","tampermonkey-script"],"created_at":"2024-09-24T14:17:34.093Z","updated_at":"2025-04-04T21:09:04.667Z","avatar_url":"https://github.com/RC1844.png","language":"JavaScript","readme":"# FastGithub\r\n\r\n快速跳转 GitHub 镜像网站的猴油脚本\r\n\r\n可以生成加速克隆命令和加速链接按钮\r\n\r\n## 请不要在镜像网站登录账号，若因此造成任何损失本人概不负责\r\n\r\n本人并不会 js(现在会一点点了)，所以只能改别人的代码\r\n\r\n该脚本在[GitHub 镜像加速下载-码酷博客-改](https://greasyfork.org/zh-CN/scripts/391911)基础上修改(已经面目全非了)。\r\n\r\n## [[预览效果]](REANDME/README.md)\r\n\r\n下载安装地址：\r\n\r\n\u003chttps://raw.githubusercontent.com/RC1844/FastGithub/master/FastGithub.js\u003e\r\n\r\n\u003chttps://raw.fastgit.org/RC1844/FastGithub/master/FastGithub.js\u003e(无法下载安装的请使用该链接)\r\n\r\n或：从[Greasyfork](https://greasyfork.org/zh-CN/scripts/397419)安装\r\n\r\n## 已知的 GitHub 镜像(含失效站点)\r\n\r\n|                    域名                    | https | 克隆加速 | zip 加速 | releases 加速 | 主机服务商 | 服务器所在地 |\r\n| :----------------------------------------: | :---: | :------: | :------: | :-----------: | :--------: | :----------: |\r\n|      \u003chttps://github.com.cnpmjs.org\u003e       |   ✓   |    ✓     |    ✗     |       ✗       |   dnspod   |     香港     |\r\n|  ~~\u003chttp://github-mirror.bugkiller.org\u003e~~  |   ✗   |    ✓     |    ✗     |       ✓       |     ?      |     日本     |\r\n| \u003chttps://github.wuyanzheshui.workers.dev\u003e  |   ✓   |    ✗     |    ✓     |       ✓       | Cloudflare |     美国     |\r\n|        \u003chttps://github.bajins.com\u003e         |   ✓   |    ✗     |    ?     |       ?       | Cloudflare |     美国     |\r\n|         \u003chttps://doc.fastgit.org\u003e          |   ✓   |    ✓     |    ✓     |       ✓       |  fastgit   |     香港     |\r\n|           \u003chttps://gitclone.com\u003e           |   ✓   |    ✓     |    ✗     |       ✗       |   Aliyun   |     杭州     |\r\n| ~~\u003chttps://github-speedup.laiczhang.com\u003e~~ |   ✓   |    ✓     |    ✓     |       ✓       | Quadranet  |     美国     |\r\n\r\n## 使用 Cloudflare 搭建 Github 镜像(实为代理)\r\n\r\n[基础教程](https://github.com/EtherDream/jsproxy/tree/master/cf-worker)\r\n\r\n只需要将[基础教程](https://github.com/EtherDream/jsproxy/tree/master/cf-worker)中[index.js](https://raw.githubusercontent.com/EtherDream/jsproxy/master/cf-worker/index.js)的代码：\r\n\r\n```js\r\nconst ASSET_URL = \"https://etherdream.github.io/jsproxy\";\r\n```\r\n\r\n改为\r\n\r\n```js\r\nconst ASSET_URL = \"https://github.com\";\r\n```\r\n\r\n即可\r\n\r\n## 相关网站、仓库\r\n\r\n[GitClone](https://gitclone.com/)\r\n\r\n[gh-proxy](https://github.com/hunshcn/gh-proxy)\r\n\r\n[Fast Git](https://fastgit.org/)\r\n\r\n[jsproxy](https://github.com/EtherDream/jsproxy)\r\n\r\n[zmirror](https://github.com/aploium/zmirror)\r\n\r\n## 更新日志\r\n\r\nv1.6.3\r\n\r\n1. 更新提示，增加其他站点\r\n\r\nv1.6.2\r\n\r\n1. 修复菜单按钮插入\r\n\r\nv1.6.0\r\n\r\n1. 修复上一版本写的 bug，菜单无法滚动问题\r\n\r\nv1.5.9\r\n\r\n1. 增加 releases 页下载按钮的样式(好认一点)\r\n2. 修复菜单双滚动条问题\r\n3. laiczhang 站点似乎已失效，现禁用，你可以手动编辑 xxxSet 添加\r\n\r\nv1.5.8\r\n\r\n1. 修复 commits 页 bug\r\n\r\nv1.5.7\r\n\r\n1. 修复 GitHub 网页变更产生的 bug\r\n2. 解决困扰已久的 releases 页样式对齐问题\r\n3. 增加一个 cf 站点(由[@Ecalose](https://github.com/Ecalose)提供；增加一些代下站点\r\n\r\nv1.5.5\r\n\r\n1. 增加站点 IAPK 工具箱:\u003chttps://iapk.cc/github\u003e,该站点由[酷友@QZrom 玩机](http://www.coolapk.com/u/2889405)提供，可使用镜像浏览与文件下载。\r\n\r\nv1.5.3-v1.5.4\r\n\r\n1. 所有按钮改为镜像站点的名字，部分有描述提示\r\n2. 效率性能进一步下降\r\n3. 增加站点:\u003chttps://cdn.staticaly.com\u003e\r\n4. 为手机端增加一些修饰，让网页更美观\r\n5. 修复部分 Raw 按钮失效问题\r\n6. 更换 addRawList()函数的结构\r\n7. 完善提示信息\r\n\r\nv1.5.2\r\n\r\n1. 从隔壁（Github 增强 - 高速下载）偷师使用\\$(document).on(）; 方法\r\n2. 由于上一点，所以代码结构又大改\r\n\r\nv1.5.1\r\n\r\n1. 增加站点 jsDelivr，更换自有站点域名(租期 1 年，不知道有没有加成)\r\n2. 为了添加 jsDelivr 而添加函数拖慢性能\r\n3. jsDelivr 支持度很差，将就用吧\r\n\r\nv1.5.0\r\n\r\n1. 增加对 Raw 按钮的镜像\r\n2. 缩减 HTML 代码，使用 js 拷贝\r\n3. 更换镜像网站按钮的插入位置\r\n4. 调整插入次序，速度快的在先\r\n\r\nv1.4.5-v1.4.7\r\n\r\n1. releases 页按钮终于对齐了，手机浏览更舒服\r\n2. 增加多个中转站点(由[@smileat2000](https://github.com/smileat2000)于[issues#5](https://github.com/RC1844/FastGithub/issues/5)提供)，增加一个全能站点\r\n3. 链接增加 title 属性，提示提供服务站点\r\n4. 缩减代码\r\n5. 修复手机端 releases 页面，部分插入失败问题\r\n\r\nv1.4.0-1.4.3\r\n\r\n1. 更换插入位置\r\n2. releases 页改为相对布局，不再为对齐而使用绝对布局\r\n3. 弹出页面再改版，支持手机浏览\r\n4. 适配 Github 新 UI 样式\r\n5. 修复插入失效\r\n6. 增加一个克隆站点，增加一些代下载站点\r\n\r\nv1.3.1\r\n\r\n1. 取消新提供的下载站点\r\n2. 增加自建站点:\u003chttps://github.rc1844.workers.dev\u003e ，与\u003chttps://github.wuyanzheshui.workers.dev\u003e 相同\r\n3. 自建方法请看下方\r\n\r\nv1.3.0\r\n\r\n1. 增加一个镜像浏览站点和一个下载站点(这是一个演示服务器，不可滥用，需手动开启)\r\n2. 修复插入失效\r\n3. 代码大改：修改生成插入的 HTML 代码的生成方式，方便以后增减站点\r\n\r\nv1.2.1-1.2.4\r\n\r\n1. 移除失效站点\r\n2. 添加警告（迟来的警告，希望没人遭受损失）\r\n3. 修复 release tag 页无法注入问题\r\n4. 修饰警告信息的显示\r\n5. 增加一组镜像站点，感谢[@KevinZonda](https://github.com/KevinZonda)提供的信息，具体请看[issues#1](https://github.com/RC1844/FastGithub/issues/1)\r\n\r\nv1.2.0\r\n\r\n1. 修复 Fast Download ZIP 无法注入的 bug\r\n2. 修复取消一个无效的下载按钮\r\n3. 增加克隆链接复制按钮\r\n4. 增加浏览镜像站点返回 GitHub 的按钮\r\n5. Html 代码全面回炉重造，增加修饰，按钮对齐，体验更佳\r\n\r\nv1.0-1.1.4\r\n\r\n1. 更换两个 GitHub 克隆镜像站点\r\n2. 改下载为跳转到镜像站点\r\n3. 提供 3 个可浏览镜像站点\r\n4. 增加 ZIP 镜像下载按钮\r\n5. (原有)releases 镜像下载按钮(releases Source code 的快速下载 1 是没有加速效果的)\r\n6. 在克隆地址处插入克隆命令，不需要的可以编辑代码禁用\r\n","funding_links":["https://cdn.jsdelivr.net/gh/RC1844/Sponsor@master/Sponsor/Sponsor.png"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frc1844%2Ffastgithub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frc1844%2Ffastgithub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frc1844%2Ffastgithub/lists"}