Batch speed measuring tool based on Shadowsocks(R)
Before you publicly release your speed test results, be sure to ask the node owner if they agree to the release to avoid unnecessary disputes.
- SpeedTestNet is no longer supported.
- Support SpeedTestNet, Fast.com and socket download.
- Support for exporting result as json and png.
- Support batch import of configuration from GUI 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.
Universal dependency
- Python >= 3.6
- pillow
- requests
- pysocks
Linux dependency
- Windows 10 x64
- Ubuntu 18.04 LTS
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.
-t PROXY_TYPE, --type=PROXY_TYPE
Select proxy type in [ssr,ss],default ssr.
-y, --yes Skip node list confirmation before test.
-C RESULT_COLOR, --color=RESULT_COLOR
Set the colors when exporting images..
-s SPLIT_COUNT, --split=SPLIT_COUNT
Set the number of nodes displayed in a single image
when exporting images.
-S SORT_METHOD, --sort=SORT_METHOD
Select sort method in
[speed,rspeed,ping,rping],default not sorted.
-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
- python main.py -u https://mocloudplus.com/link/ABCDEFG123456?mu=0 -t ss
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.
- Rules
- The program has a built-in rule matching mode that allows specific ISPs or nodes in specific regions to use specific speed sources through custom rules for "Socket" test mode.Rules need to be written in config.py. Please see config.py for more details.
- Custom color
- Users can customize the color of the resulting image in config.py. See the config.py file for sample configuration.
- New color scheme
- Chunxiaoyi 纯小亦
- Bugs Report
- This project uses the following open source projects