File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 1717
1818## 使用方法
1919### 图形化界面
20- 到 [ Releases] ( https://github.com/Licoy/fetch-github-hosts/releases )
21- 或 [ FastGit镜像] ( https://hub.fastgit.xyz/Licoy/fetch-github-hosts/releases ) 中下载您的系统版本(目前支持` Windows ` /` Linux ` /` MacOS `
20+ 到 [ Releases] ( https://github.com/Licoy/fetch-github-hosts/releases ) 中下载您的系统版本(目前支持` Windows ` /` Linux ` /` MacOS `
2221)
2322
2423下载完成解压` tar.gz ` 压缩包,运行对应平台的执行文件即可运行( ⚠️ 注意:Linux下需要用` sudo ` 进行启动,Windows和MacOS会自动进行提权操作。)
4039
4140### 命令行终端
4241
43- 到 [ Releases] ( https://github.com/Licoy/fetch-github-hosts/releases )
44- 或 [ FastGit镜像] ( https://hub.fastgit.xyz/Licoy/fetch-github-hosts/releases ) 中下载您的系统版本(目前支持` Windows ` /` Linux ` /` MacOS `
42+ 到 [ Releases] ( https://github.com/Licoy/fetch-github-hosts/releases ) 中下载您的系统版本(目前支持` Windows ` /` Linux ` /` MacOS `
4543)
4644
4745#### 参数
5250| ` interval ` | ` i ` | 60 | 否 | 获取记录值间隔(分钟) |
5351| ` port ` | ` p ` | 9898 | 否 | 服务模式监听端口以访问HTTP服务 |
5452| ` url ` | ` u ` | ` https://hosts.gitcdn.top/hosts.txt ` | 否 | 客户端模式远程hosts获取链接 |
53+ | ` lang ` | ` l ` | ` zh-CN ` | 否 | 界面语言 |
5554
5655#### 启动客户端:
5756
@@ -139,8 +138,7 @@ sed -i "/# fetch-github-hosts begin/Q" /etc/hosts && curl https://hosts.gitcdn.t
139138
140139## 私有部署
141140
142- 下载最新的发行版(到 [ Releases] ( https://github.com/Licoy/fetch-github-hosts/releases )
143- 或 [ FastGit镜像] ( https://hub.fastgit.xyz/Licoy/fetch-github-hosts/releases ) 进行下载)
141+ 下载最新的发行版(到 [ Releases] ( https://github.com/Licoy/fetch-github-hosts/releases ) 进行下载)
144142,并选择您的系统对应版本,直接以服务模式运行即可:` fetch-github-hosts -m=server -p=9898 ` ,会自动监听` 0.0.0.0:9898 ` ,您可以直接浏览器访问 ` http://127.0.0.1:9898 `
145143以访问您自定义服务。
146144(具体方法可参见【启动服务端】小节详细说明)
You can’t perform that action at this time.
0 commit comments