Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qin2dim/tuic-installer
tuic 一键部署脚本
https://github.com/qin2dim/tuic-installer
quic tuic tuic-install tunic
Last synced: 2 months ago
JSON representation
tuic 一键部署脚本
- Host: GitHub
- URL: https://github.com/qin2dim/tuic-installer
- Owner: QIN2DIM
- License: apache-2.0
- Created: 2023-06-26T03:03:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-07T05:40:41.000Z (about 1 year ago)
- Last Synced: 2024-10-07T14:03:19.665Z (3 months ago)
- Topics: quic, tuic, tuic-install, tunic
- Language: Python
- Homepage:
- Size: 72.3 KB
- Stars: 15
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Tunic 用于快速部署 [tuic-server](https://github.com/EAimTY/tuic) 并输出客户端最佳实践配置。只需 15s 即可完成全自动部署,开箱即用!
## Prerequisites
- Python3.6+
- 在管理员权限下运行
- 提前为你的服务器解析一个域名 A 纪录## Get started
> 首次安装完毕后,你可以通过别名指令 `tunic` 调度脚本。
1. **一键部署**
在交互式引导下完成部署。脚本会在任务结束后打印代理客户端配置。
```shell
python3 <(curl -fsSL https://ros.services/tunic.py) install
```也可以直接指定域名参数「一步到胃」:
```shell
python3 <(curl -fsSL https://ros.services/tunic.py) install -d YOUR_DOMAIN
```2. **移除负载**
这个指令会移除与 `tuic-server` 有关的一切依赖。需要注意的是,你必须指明与 `tuic-server` 绑定的域名才能安全卸载证书。
```shell
python3 <(curl -fsSL https://ros.services/tunic.py) remove
```3. **常用操作**
默认情况下会打印所有客户端配置,你可以通过可选的 `output-filter` 过滤指令仅输出 `NekoRay` / `clash-meta` / `sing-box` 的客户端出站配置:
| Client | Command |
| ------------------------------------------------------------ | ------------------------------------------------------------ |
| [NekoRay](https://matsuridayo.github.io/n-extra_core/) | `python3 <(curl -fsSL https://ros.services/tunic.py) install --neko` |
| [Clash.Meta](https://wiki.metacubex.one/config/proxies/tuic/) | `python3 <(curl -fsSL https://ros.services/tunic.py) install --clash` |
| [sing-box](https://sing-box.sagernet.org/configuration/outbound/tuic/) | `python3 <(curl -fsSL https://ros.services/tunic.py) install --singbox` |你可以配合参数 `-d DOMAIN` 实现「一键输出」的效果,如:
```bash
python3 <(curl -fsSL https://ros.services/tunic.py) install --singbox -d YOUR_DOMAIN
```首次安装后,你还可以使用别名缩写 `tunic` 更新(覆盖)双端配置,如:
```bash
tunic install --singbox -d YOUR_DOMAIN
```所有出站配置已在 `install` 指令后生成,`output-filter` 仅影响输出到屏幕的信息,你可以用 `check` 命令去查看它们,如:
```bash
tunic check
```或搭配 `output-filter` 使用,效果和上文的一致:
```bash
tunic check --neko
```4. **Next steps**
查看 [项目 WiKi](https://github.com/QIN2DIM/tuic-installer/wiki/Usage) 以获取完整的技术文档🐧