{"id":15107289,"url":"https://github.com/chaneyzorn/ss-quick","last_synced_at":"2026-02-20T05:00:27.237Z","repository":{"id":43191901,"uuid":"133231437","full_name":"chaneyzorn/ss-quick","owner":"chaneyzorn","description":"为 ss-local 加载 gui-config.json","archived":false,"fork":false,"pushed_at":"2022-03-14T10:34:31.000Z","size":160,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-29T17:18:59.470Z","etag":null,"topics":["shadowsocks","shadowsocks-libev"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chaneyzorn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-13T11:37:33.000Z","updated_at":"2024-07-26T07:13:19.000Z","dependencies_parsed_at":"2022-09-26T17:40:39.733Z","dependency_job_id":null,"html_url":"https://github.com/chaneyzorn/ss-quick","commit_stats":null,"previous_names":["campanula/ss-quick"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chaneyzorn/ss-quick","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaneyzorn%2Fss-quick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaneyzorn%2Fss-quick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaneyzorn%2Fss-quick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaneyzorn%2Fss-quick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chaneyzorn","download_url":"https://codeload.github.com/chaneyzorn/ss-quick/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaneyzorn%2Fss-quick/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29641926,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T03:21:14.183Z","status":"ssl_error","status_checked_at":"2026-02-20T03:18:24.455Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["shadowsocks","shadowsocks-libev"],"created_at":"2024-09-25T21:22:45.691Z","updated_at":"2026-02-20T05:00:27.180Z","avatar_url":"https://github.com/chaneyzorn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ss-quick\n\nss-quick 是一个为 [`ss-local`](https://github.com/shadowsocks/shadowsocks-libev) 自动加载 `gui-config.json` 的工具。\n\n它通过测试多个服务器的连接延迟，自动选择延迟最低的服务器，并输出为 `ss-local` 的选项。\n\n你也可以直接指定要使用的服务器配置。\n\n![screenshot](screenshot.gif)\n\n# USAGE\n\n```\nss-quick -h\nusage: ss-quick [-h] [-c CONFIG_FILE] [-n N]\n\nA tool to load gui-config.json for ss-local.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -c CONFIG_FILE, --config-file CONFIG_FILE\n                        path to gui-config.json\n  -n N                  choose (1-n)th config to start ss-local.\n  --uri                 print config in the form of uri to stdout.\n  --debug               print debug information.\n```\n\n查看测试延迟：\n```\nss-quick -c /path/to/gui-config.json\n\n12-26 21:42:39 INFO: Loading config file from /path/to/gui-config.json\n12-26 21:42:39 INFO: Start Connection Latency Test\n[1] unreachable         test1.host:test1线路\n[2] server not know     test3.host:test2线路\n[3] 89.28 ms            test4.host:test3线路\n[4] timeout             test5.host:test4线路\n\n-s test3.host -p 1234 -k passwwwwwd -m aes-256-cfb\n```\n\n直接输出 flags 作为 ss-local 的启动参数：\n```\nss-local -v -l 1080 `ss-quick -c /path/to/gui-config.json`\n```\n\n选择第2个服务器：\n```\nss-local -v -l 1080 `ss-quick -c /path/to/gui-config.json -n2`\n```\n\n输出指定配置为 `ss://` 形式的 uri :\n```\nss-quick -c /path/to/gui-config.json -n2 --uri\n```\n\n配合 [qrcode](https://github.com/lincolnloop/python-qrcode) 输出为二维码：\n```\nqr `ss-quick -c /path/to/gui-config.json --uri`\n```\n\n# BUG\n\n1. 如果线路列表过长，滚出终端显示范围的部分，测试延迟的结果将不会得到刷新。\n\n# License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaneyzorn%2Fss-quick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaneyzorn%2Fss-quick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaneyzorn%2Fss-quick/lists"}