Skip to main content

A tool loading gui-config.json for ss-local

Project description


ss-quick 是一个为 ss-local 自动加载 gui-config.json 的工具。

它通过测试多个服务器的连接延迟,自动选择延迟最低的服务器,并输出为 ss-local 的选项。




ss-quick -h
usage: ss-quick [-h] [-c CONFIG_FILE] [-n N]

A tool to load gui-config.json for ss-local.

optional arguments:
  -h, --help            show this help message and exit
  -c CONFIG_FILE, --config-file CONFIG_FILE
                        path to gui-config.json
  -n N                  choose (1-n)th config to start ss-local.
  --uri                 print config in the form of uri to stdout.
  --debug               print debug information.


ss-quick -c /path/to/gui-config.json

12-26 21:42:39 INFO: Loading config file from /path/to/gui-config.json
12-26 21:42:39 INFO: Start Connection Latency Test
[1] unreachable线路
[2] server not know线路
[3] 89.28 ms  线路
[4] timeout   线路

-s -p 1234 -k passwwwwwd -m aes-256-cfb

直接输出 flags 作为 ss-local 的启动参数:

ss-local -v -l 1080 `ss-quick -c /path/to/gui-config.json`


ss-local -v -l 1080 `ss-quick -c /path/to/gui-config.json -n2`

输出指定配置为 ss:// 形式的 uri :

ss-quick -c /path/to/gui-config.json -n2 --uri

配合 qrcode 输出为二维码:

qr `ss-quick -c /path/to/gui-config.json --uri`


  1. 如果线路列表过长,滚出终端显示范围的部分,测试延迟的结果将不会得到刷新。



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ss-quick, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size ss_quick-0.0.2-py3-none-any.whl (6.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ss-quick-0.0.2.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page