# fgh

加速 clone github 项目,下载 github blob 文件

## Usage

* 服务端:

```
docker compose up -d
```

* 客户端:

编辑.env文件,填写服务端地址,执行:
```
# clone repo
fgh clone https://github.com/xx/yy.git
fgh push https://github.com/xx/yy.git

# download file
fgh wget https://ghproxy.org/https://github.com/microsoft/vscode/archive/refs/tags/1.84.2.zip
fgh wget https://ghproxy.org/https://raw.githubusercontent.com/microsoft/vscode/main/README.md

fgh curl -O https://ghproxy.org/https://github.com/microsoft/vscode/archive/refs/tags/1.84.2.zip
fgh curl -O https://ghproxy.org/https://raw.githubusercontent.com/microsoft/vscode/main/README.md
```

## Reference

- [git clone](https://git-scm.com/docs/git-clone)
- [hunshcn/gh-proxy](https://github.dev/hunshcn/gh-proxy)


## License

* 请遵守 Apache License 2.0 协议,参见 [LICENSE](LICENSE) 文件。
* 请合规使用,不得用于非法用途。