Cloudflare Pages · 在线 · 边缘加速

GitHub 文件加速

通过 Cloudflare Pages 边缘节点中转 GitHub 资源,加速下载 release、raw、gist、codeload 等文件。
只需在原始 URL 前加上本服务地址即可。

用法

在任意 GitHub 文件 URL 前面加上 https://zk1688.pages.dev/ ,直接访问即可中转下载。

https://zk1688.pages.dev/https://github.com/user/repo/releases/download/v1.0/file.zip

支持的 URL 格式

Release 下载

https://zk1688.pages.dev/https://github.com/user/repo/releases/download/v1.0/file.zip

Raw 文件 / 分支文件

https://zk1688.pages.dev/https://raw.githubusercontent.com/user/repo/main/README.md

Gist

https://zk1688.pages.dev/https://gist.githubusercontent.com/user/id/raw/file.js

Codeload (仓库 zip/tar 包)

https://zk1688.pages.dev/https://codeload.github.com/user/repo/zip/refs/heads/main

任意 https 直链

https://zk1688.pages.dev/https://example.com/path/to/file.bin

git clone 加速

https://github.com/ 替换为 https://zk1688.pages.dev/https://github.com/ 即可:

git clone https://zk1688.pages.dev/https://github.com/user/repo.git

支持的子域

github.com raw.githubusercontent.com gist.githubusercontent.com codeload.github.com objects.githubusercontent.com github-releases.githubusercontent.com media.githubusercontent.com camo.githubusercontent.com 其他 https 直链

Range 请求(断点续传)、304 缓存、跳转跟随均已支持。