A command line tool for manipulating Shadowsocks URI and configuration.
$ go get github.com/vgxbj/ssuri/cmd/ssuri
Usage: ssuri [-h] [-i in_file] [-o out_file]
-dump-uri
dump shadowsocks URI
-generate-json-config
generate JSON configurations
-generate-qr
generate QR code
-i string
input file (default: "-" for stdin) (default "-")
-json
read JSON as input (default: off)
-legacy
dump shadowsocks URI in legacy mode (default: off)
-o string
output file (default: "-" for stdout) (default "-")
- Read shadowsocks URI, dump it, generate QR code and JSON configuration.
$ echo "ss://[email protected]:8888" | ssuri -dump-uri -generate-json-config -generate-qr
- Read JSON configuration, generate shadowsocks URI and QR code.
$ ssuri -json -i config.json -generate-qr -generate-uri
- Support SIP002 URI scheme and legacy base64 encoded URI scheme.
- Read JSON configuration or URI. Generate JSON configuration, URI or QR code.
- Support manipulating shadowsocksR URI or configuration.