Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
233boy committed May 13, 2023
0 parents commit c676e48
Show file tree
Hide file tree
Showing 12 changed files with 3,411 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Main

on: push

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: get ver
run: |
echo "$(cat xray.sh | grep ver=)" >> $GITHUB_ENV
echo "old=$(git tag | tail -n1)" >> $GITHUB_ENV
# - name: test
# if: env.is_sh_ver == env.old
# run: |
# echo not found new version.
# exit 1
- name: zip
run: zip -9vr code.zip . -x .\*
- name: release
uses: softprops/action-gh-release@v1
with:
files: code.zip
tag_name: ${{ env.is_sh_ver }}
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

106 changes: 106 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
# 介绍

最好用的 Xray 一键安装脚本 & 管理脚本

# 特点

- 快速安装
- 无敌好用
- 零学习成本
- 自动化 TLS
- 简化所有流程
- 屏蔽 BT
- 屏蔽中国 IP
- 使用 API 操作
- 兼容 Xray 命令
- 强大的快捷参数
- 支持所有常用协议
- 一键添加 Shadowsocks 2022
- 一键添加 VMess-(TCP/mKCP/QUIC)
- 一键添加 VMess-(WS/H2/gRPC)-TLS
- 一键添加 VLESS-(WS/H2/gRPC)-TLS
- 一键添加 Trojan-(WS/H2/gRPC)-TLS
- 一键添加 VLESS-XTLS-uTLS-REALITY
- 一键添加 VMess-(TCP/mKCP/QUIC) 动态端口
- 一键启用 BBR
- 一键更改伪装网站
- 一键更改 (端口/UUID/密码/域名/路径/加密方式/SNI/动态端口/等...)
- 还有更多...

# 文档

安装及使用:https://233boy.com/xray/xray-script/

# 帮助

使用:`xray help`

```
Xray script v1.0 by 233boy
Usage: xray [options]... [args]...
基本:
v, version 显示当前版本
ip 返回当前主机的 IP
pbk 同等于 xray x25519
get-port 返回一个可用的端口
ss2022 返回一个可用于 Shadowsocks 2022 的密码
一般:
a, add [protocol] [args... | auto] 添加配置
c, change [name] [option] [args... | auto] 更改配置
d, del [name] 删除配置**
i, info [name] 查看配置
qr [name] 二维码信息
url [name] URL 信息
log 查看日志
logerr 查看错误日志
更改:
dp, dynamicport [name] [start | auto] [end] 更改动态端口
full [name] [...] 更改多个参数
id [name] [uuid | auto] 更改 UUID
host [name] [domain] 更改域名
port [name] [port | auto] 更改端口
path [name] [path | auto] 更改路径
passwd [name] [password | auto] 更改密码
key [name] [Private key | atuo] [Public key] 更改密钥
type [name] [type | auto] 更改伪装类型
method [name] [method | auto] 更改加密方式
sni [name] [ ip | domain] 更改 serverName
seed [name] [seed | auto] 更改 mKCP seed
new [name] [...] 更改协议
web [name] [domain] 更改伪装网站
进阶:
dd, ddel [name...] 删除多个配置**
fix [name] 修复一个配置
fix-all 修复全部配置
fix-config.json 修复 config.json
管理:
un, uninstall 卸载
u, update [core | sh | caddy] [ver] 更新
U, update.sh 更新脚本
s, status 运行状态
start, stop, restart [caddy] 启动, 停止, 重启
t, test 测试运行
reinstall 重装脚本
测试:
client, genc [name] 显示用于客户端 JOSN, 仅供参考
debug [name] 显示一些 debug 信息, 仅供参考
gen [...] 同等于 add, 但只显示 JSON 内容, 不创建文件, 测试使用
no-auto-tls [...] 同等于 add, 但禁止自动配置 TLS, 可用于 *TLS 相关协议
xapi [...] 同等于 xray api, 但 API 后端使用当前运行的 Xray 服务
其他:
bbr 启用 BBR, 如果支持
bin [...] 运行 Xray 命令, 例如: xray bin help
api, x25519, tls, run, uuid [...] 兼容 Xray 命令
h, help 显示此帮助界面
谨慎使用 del, ddel, 此选项会直接删除配置; 无需确认
反馈问题) https://github.com/233boy/xray/issues
文档(doc) https://233boy.com/xray/xray-script/
```
Loading

0 comments on commit c676e48

Please sign in to comment.