Skip to content

Commit 8e3265a

Browse files
committed
up
0 parents  commit 8e3265a

14 files changed

+3537
-0
lines changed

.github/workflows/release.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Main
2+
3+
on: push
4+
5+
permissions:
6+
contents: write
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: checkout
13+
uses: actions/checkout@v3
14+
with:
15+
fetch-depth: 0
16+
- name: get ver
17+
run: |
18+
echo "$(cat *.sh | grep is_sh_ver=)" >> $GITHUB_ENV
19+
echo "old=$(git tag | tail -n1)" >> $GITHUB_ENV
20+
# - name: test
21+
# if: env.is_sh_ver == env.old
22+
# run: |
23+
# echo not found new version.
24+
# exit 1
25+
- name: tar
26+
run: tar zcvf code.tar.gz ./*
27+
- name: release
28+
uses: softprops/action-gh-release@v1
29+
with:
30+
files: code.tar.gz
31+
tag_name: ${{ env.is_sh_ver }}

LICENSE

+674
Large diffs are not rendered by default.

README.md

+114
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
# 介绍
2+
3+
最好用的 sing-box 一键安装脚本 & 管理脚本
4+
5+
# 特点
6+
7+
- 快速安装
8+
- 无敌好用
9+
- 零学习成本
10+
- 自动化 TLS
11+
- 简化所有流程
12+
- 兼容 sing-box 命令
13+
- 强大的快捷参数
14+
- 支持所有常用协议
15+
- 一键添加 VLESS-REALITY (默认)
16+
- 一键添加 TUIC
17+
- 一键添加 Trojan
18+
- 一键添加 Hysteria2
19+
- 一键添加 Shadowsocks 2022
20+
- 一键添加 VMess-(TCP/HTTP/QUIC)
21+
- 一键添加 VMess-(WS/H2/HTTPUpgrade)-TLS
22+
- 一键添加 VLESS-(WS/H2/HTTPUpgrade)-TLS
23+
- 一键添加 Trojan-(WS/H2/HTTPUpgrade)-TLS
24+
- 一键启用 BBR
25+
- 一键更改伪装网站
26+
- 一键更改 (端口/UUID/密码/域名/路径/加密方式/SNI/等...)
27+
- 还有更多...
28+
29+
# 设计理念
30+
31+
设计理念为:**高效率,超快速,极易用**
32+
33+
脚本基于作者的自身使用需求,以 **多配置同时运行** 为核心设计
34+
35+
并且专门优化了,添加、更改、查看、删除、这四项常用功能
36+
37+
你只需要一条命令即可完成 添加、更改、查看、删除、等操作
38+
39+
例如,添加一个配置仅需不到 1 秒!瞬间完成添加!其他操作亦是如此!
40+
41+
脚本的参数非常高效率并且超级易用,请掌握参数的使用
42+
43+
# 文档
44+
45+
安装及使用:https://233boy.com/sing-box/sing-box-script/
46+
47+
# 帮助
48+
49+
使用:`sing-box help`
50+
51+
```
52+
sing-box script v1.0 by 233boy
53+
Usage: sing-box [options]... [args]...
54+
55+
基本:
56+
v, version 显示当前版本
57+
ip 返回当前主机的 IP
58+
pbk 同等于 sing-box generate reality-keypair
59+
get-port 返回一个可用的端口
60+
ss2022 返回一个可用于 Shadowsocks 2022 的密码
61+
62+
一般:
63+
a, add [protocol] [args... | auto] 添加配置
64+
c, change [name] [option] [args... | auto] 更改配置
65+
d, del [name] 删除配置**
66+
i, info [name] 查看配置
67+
qr [name] 二维码信息
68+
url [name] URL 信息
69+
log 查看日志
70+
更改:
71+
full [name] [...] 更改多个参数
72+
id [name] [uuid | auto] 更改 UUID
73+
host [name] [domain] 更改域名
74+
port [name] [port | auto] 更改端口
75+
path [name] [path | auto] 更改路径
76+
passwd [name] [password | auto] 更改密码
77+
key [name] [Private key | atuo] [Public key] 更改密钥
78+
method [name] [method | auto] 更改加密方式
79+
sni [name] [ ip | domain] 更改 serverName
80+
new [name] [...] 更改协议
81+
web [name] [domain] 更改伪装网站
82+
83+
进阶:
84+
dns [...] 设置 DNS
85+
dd, ddel [name...] 删除多个配置**
86+
fix [name] 修复一个配置
87+
fix-all 修复全部配置
88+
fix-caddyfile 修复 Caddyfile
89+
fix-config.json 修复 config.json
90+
import 导入 sing-box/v2ray 脚本配置
91+
92+
管理:
93+
un, uninstall 卸载
94+
u, update [core | sh | caddy] [ver] 更新
95+
U, update.sh 更新脚本
96+
s, status 运行状态
97+
start, stop, restart [caddy] 启动, 停止, 重启
98+
t, test 测试运行
99+
reinstall 重装脚本
100+
101+
测试:
102+
debug [name] 显示一些 debug 信息, 仅供参考
103+
gen [...] 同等于 add, 但只显示 JSON 内容, 不创建文件, 测试使用
104+
no-auto-tls [...] 同等于 add, 但禁止自动配置 TLS, 可用于 *TLS 相关协议
105+
其他:
106+
bbr 启用 BBR, 如果支持
107+
bin [...] 运行 sing-box 命令, 例如: sing-box bin help
108+
[...] [...] 兼容绝大多数的 sing-box 命令, 例如: sing-box generate uuid
109+
h, help 显示此帮助界面
110+
111+
谨慎使用 del, ddel, 此选项会直接删除配置; 无需确认
112+
反馈问题) https://github.com/233boy/sing-box/issues
113+
文档(doc) https://233boy.com/sing-box/sing-box-script/
114+
```

0 commit comments

Comments
 (0)