[![Test Status](https://github.com/monkeyWie/gopeed/workflows/test/badge.svg)](https://github.com/monkeyWie/gopeed/actions?query=workflow%3Atest) [![Codecov](https://codecov.io/gh/monkeyWie/gopeed/branch/master/graph/badge.svg)](https://codecov.io/gh/monkeyWie/gopeed) [![Release](https://img.shields.io/github/release/monkeyWie/gopeed.svg?style=flat-square)](https://github.com/monkeyWie/gopeed/releases) ## gopeed 支持多协议(HTTP、BitTorrent)下载的客户端,提供命令行、RESTful API、WebSocket、Go 类库方式来使用。 ## 安装 ```sh go install github.com/monkeyWie/gopeed ``` ## 示例 可以在本仓库的[\_examples](_examples)目录下查看 ## 命令行工具 ### 预览 ![](_docs/img/cli-demo.gif) ### 下载 前往[releases](https://github.com/monkeyWie/gopeed/releases)页面 ## TODO - [x] HTTP 下载实现 - [x] BitTorrent 下载实现 - [x] .torrent 文件解析 - [x] tracker 协议实现 - [x] peer wire protocol 协议实现 - [x] DHT 协议实现 - [x] 磁力链接支持 - [x] uTP 协议实现 - [x] 下载接口抽象(不关心具体协议) - [ ] 支持自定义配置 - [ ] 限速功能实现 - [x] 命令行工具提供 - [ ] RESTful 服务提供 ## 参与 由于项目目前还未定型,代码可能随时有大的调整,所以暂不接受 PR,当然如果有什么好的想法可以在 issue 区提出来。