Language sync and add back some contents (#575)

* Force syncing contents to Russian documents

* Add NFT note to front page

* Update Histories

* Update command usage
This commit is contained in:
Kobe Arthur Scofield
2024-09-12 19:54:45 +08:00
committed by GitHub
parent 2954e2fd79
commit cf9f72b1d5
10 changed files with 595 additions and 305 deletions
+53
View File
@@ -103,6 +103,59 @@ xray api <command> [arguments]
rmo Remove outbounds
```
### xray convert
Convert config to protobuf, or convert typedMessage to JSON
usage:
```
xray convert <command> [arguments]
The commands are:
pb Convert multiple json configs to protobuf
json Convert typedMessage to json
```
Sub-command `pb`
```bash
# Usage: xray convert pb [-debug] [-type] [json file] [json file] ...
# mix three config files to mix.pb
xray convert pb c1.json c2.json c3.json > mix.pb
# Use -debug option to view the content of mix.pb
xray convert pb -debug mix.pb
# Start Xray-core with mix.pb
xray -c mix.pb
# Detailed usage
xray help convert pb
```
Sub-command JSON
```bash
# Usage: xray convert json [-type] [stdin:] [typedMessage file]
tmsg='{
"type": "xray.proxy.shadowsocks.Account",
"value": "CgMxMTEQBg=="
}'
echo ${tmsg} | xray convert json stdin:
# Outputs from above:
'{
"cipherType": "AES_256_GCM",
"password": "111"
}'
# Detailed usage
xray help convert json
```
### xray tls
Инструменты для работы с TLS.