Git Product home page Git Product logo

ssrspeed's Introduction

SSRSpeed

ShadowsocksR Batch Speed Tool

中文文档请查看 Readme_ZH_CN

Features

  • Support SpeedTestNet, Fast.com,Cachefly and socket(removed).
  • 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

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,cachefly,socket]
  --include=FILTER      Filter nodes by group and remarks using keyword.
  --include-remark=REMARKS
                        Filter nodes by remarks using keyword.
  --include-group=GROUP
                        Filter nodes by group name using keyword.
  --exclude=EFLITER     Exclude nodes by group and remarks using keyword.
  --exclude-group=EGFILTER
                        Exclude nodes by group using keyword.
  --exclude-remark=ERFILTER
                        Exclude nodes by remarks using keyword.
  -y, --yes             Skip node list confirmation before test.
  -e EXPORT_FILE_TYPE, --export=EXPORT_FILE_TYPE
                        Export test result to json or png file,now supported
                        'png' or 'json'
  -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 -e json -m fast
  • python main.py -u https://mocloudplus.com/link/ABCDEFG123456?mu=0 --include 香港 --include-remark Azure --include-group MoCloudPlus --exclude HKT -e png -m fast

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

Acknowledgement

ssrspeed's People

Contributors

nyanchanmeow avatar ranwen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.