SSRSpeed
ShadowsocksR Batch Speed Tool
中文文档请查看 Readme_ZH_CN
Important Hint
- For the copyright issue, the "msyh.ttc" font will not be provided in the repository. When using the Linux operating system, please extract the font to the root directory of the program to export the resulting image.
- SpeedTestNet is no longer supported and will be removed soon.
Features
-
Support SpeedTestNet, Fast.com and socket download.
-
Support for exporting result as json and png.
-
Support batch import of SSR configuration from ShadowsocksR-CSharp configuration file and SSPanel-v2, v3 subscription link.
-
Support for importing data from any Json export file and re-exporting files of the specified format.
Requirements
-
Python >= 3.6
-
pillow
-
requests
-
pysocks
Platform Support
-
Windows 10 x64
-
Ubuntu 18.04 LTS
Getting started
pip install -r requirements.txt or pip3 install -r requirements.txt
python .\main.py
Usage: main.py [options] arg1 arg2...
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-c GUICONFIG, --config=GUICONFIG
Load config generated by shadowsocksr-csharp.
-u URL, --url=URL Load ssr config from subscription url.
-m TEST_METHOD, --method=TEST_METHOD
Select test method in [speedtestnet,fast,socket].
-M TEST_MODE, --mode=TEST_MODE
Select test mode in [all,pingonly].
--include Filter nodes by group and remarks using keyword.
--include-remark Filter nodes by remarks using keyword.
--include-group Filter nodes by group name using keyword.
--exclude Exclude nodes by group and remarks using keyword.
--exclude-group Exclude nodes by group using keyword.
--exclude-remark Exclude nodes by remarks using keyword.
-y, --yes Skip node list confirmation before test.
-s SPLIT_COUNT, --split=SPLIT_COUNT
Set the number of nodes displayed in a single image
when exporting images.
-i IMPORT_FILE, --import=IMPORT_FILE
Import test result from json file and export it.
--debug Run program in debug mode.
Example usage :
-
python main.py -c gui-config.json --include 韩国 --include-remark Azure --include-group MoCloudPlus
-
python main.py -u https://mocloudplus.com/link/ABCDEFG123456?mu=0 --include 香港 Azure --include-group MoCloudPlus --exclude HKT HKBN
The parameter priority is as follows:
-i > -c > -u
The above sequence indicates that if the parameter has a higher priority, the parameter will be used first, and other parameters will be ignored.
--include > --include-group > --include-remark
--exclude > --exclude-group > --exclude-remark
The above sequence indicates that node filtering will be performed in descending order of priority.
Developers
- Initial version @ranwen