File tree Expand file tree Collapse file tree 2 files changed +36
-5
lines changed Expand file tree Collapse file tree 2 files changed +36
-5
lines changed Original file line number Diff line number Diff line change
1
+ [ ![ ] ( https://goreportcard.com/badge/linuxsuren/http-downloader )] ( https://goreportcard.com/report/linuxsuren/github-go )
2
+ [ ![ ] ( http://img.shields.io/badge/godoc-reference-5272B4.svg?style=flat-square )] ( https://godoc.org/github.com/linuxsuren/http-downloader )
3
+ [ ![ Contributors] ( https://img.shields.io/github/contributors/linuxsuren/http-downloader.svg )] ( https://github.com/linuxsuren/github-go/graphs/contributors )
4
+ [ ![ GitHub release] ( https://img.shields.io/github/release/linuxsuren/http-downloader.svg?label=release )] ( https://github.com/linuxsuren/github-go/releases/latest )
5
+ ![ GitHub All Releases] ( https://img.shields.io/github/downloads/linuxsuren/http-downloader/total )
6
+
7
+ # 入门
8
+
9
+ ` hd ` 是一个基于 HTTP 协议的下载工具。
10
+
11
+ 通过命令:` brew install linuxsuren/linuxsuren/hd ` 来安装
12
+
13
+ # 用法
14
+
15
+ ```
16
+ hd https://github.com/jenkins-zh/jenkins-cli/releases/latest/download/jcli-linux-amd64.tar.gz -o jcli.tar.gz --thread 10
17
+ ```
18
+
19
+ # 功能
20
+
21
+ * 基于 HTTP 协议下载文件的 Golang 工具库
22
+ * 多线程
23
+ * 断点续传 (TODO)
24
+ * 对 GitHub release 文件下载友好 (TODO)
Original file line number Diff line number Diff line change 6
6
7
7
# Get started
8
8
9
- You can use this template repository via the following command:
9
+ ` hd ` is a HTTP download tool.
10
10
11
- ` gh repo create --public -p linuxsuren/http-downloader -y <project-name> `
11
+ Install it via: ` brew install linuxsuren/linuxsuren/hd `
12
12
13
- # Clean
13
+ # Usage
14
14
15
- Please run the following command, after you created your project base on this template repository:
15
+ ```
16
+ hd https://github.com/jenkins-zh/jenkins-cli/releases/latest/download/jcli-linux-amd64.tar.gz -o jcli.tar.gz --thread 10
17
+ ```
16
18
17
- ` ./hack/init.sh <project-name> `
19
+ # Features
20
+
21
+ * go library for HTTP
22
+ * multi-thread
23
+ * continuously (TODO)
24
+ * GitHub release asset friendly (TODO)
You can’t perform that action at this time.
0 commit comments