immofon / LiteSpeedTest

A simple tool for batch test ss/ssr/v2ray/trojan servers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LiteSpeedTest

LiteSpeedTest is a simple tool for batch test ss/ssr/v2ray/trojan servers.

build

Usage

Run as speed test tool:
    # run this command then open http://127.0.0.1:10888/ in your browser to start speed test
    ./lite
    # start with another port
    ./lite -p 10889
    
    # test in command line only mode
    ./lite --test https://raw.githubusercontent.com/freefq/free/master/v2
    # test in command only line mode with custom config.
    # details can find here https://github.com/xxf098/LiteSpeedTest/blob/master/config.json
    ./lite --config config.json --test https://raw.githubusercontent.com/freefq/free/master/v2

Run as http/socks5 proxy:
    # use default port 8090
    ./lite vmess://aHR0cHM6Ly9naXRodWIuY29tL3h4ZjA5OC9MaXRlU3BlZWRUZXN0
    ./lite ssr://aHR0cHM6Ly9naXRodWIuY29tL3h4ZjA5OC9MaXRlU3BlZWRUZXN0
    # use another port
    ./lite -p 8091 vmess://aHR0cHM6Ly9naXRodWIuY29tL3h4ZjA5OC9MaXRlU3BlZWRUZXN0

Build

    #require go>=1.16
    GOOS=js GOARCH=wasm go get -u ./...
    GOOS=js GOARCH=wasm go build -o ./web/main.wasm ./wasm
    go build -o lite

Credits

Developer

// TODO

About

A simple tool for batch test ss/ssr/v2ray/trojan servers.

License:GNU General Public License v3.0


Languages

Language:Go 86.9%Language:HTML 7.7%Language:JavaScript 4.7%Language:Makefile 0.7%Language:CSS 0.0%