• Stars
    star
    217
  • Rank 182,446 (Top 4 %)
  • Language
    Go
  • License
    GNU General Publi...
  • Created about 4 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

本地检测proxypool节点的可用性

Proxypool Health Check

中文教程

Info

This is proxy health check and provider part of proxypool. You should have had a proxypool server available at first.

Due to the poor availability of proceeding proxy health check on servers overseas, The best usage of this project is to run on your own server within Mainland China.

Install&Run

Choose either.

1. Use release version

Download from releases

Don't forget to add 755 permissions

chmod +775 proxypoolcheck

Put config.yaml into directory and run. You can use -c to specify configuration path.

./proxypoolCheck
# or
./proxypoolCheck -c PathToConfig

2. Use Source

Make sure golang 1.16 installed. Then download source

$ go get -u -v github.com/Sansui233/proxypoolCheck

And run

$ go run main.go -c ./config/config.yaml

Compile into bin directory

make

Configuration

# proxypool remote server url. Blank for http://127.0.0.1:8080
server_url:
  - https://example.proxypoolserver.com
  - https://example.proxypoolserver.com/clash/proxies?type=vmess


# For your local server
request: http   # http / https
domain:         # default: 127.0.0.1
port:           # default: 80

cron_interval: 15       # default: 15  minutes
show_remote_speed: true # default false

healthcheck_timeout:    # default 5
healthcheck_connection: # default 100

speedtest:            # default false
speed_timeout:         # default 10
speed_connection:     # default 5

If your web server port is not the same as proxypoolCheck serving port, you should put web server port in configuration, and set an environment variable PORT for proxypoolCheck to serve. This will be really helpful when you are doing frp.

export PORT=ppcheckport

声明

本项目遵循 GNU General Public License v3.0 开源,在此基础上,所有使用本项目提供服务者都必须在网站首页保留指向本项目的链接

本项目仅限个人自己使用,禁止使用本项目进行营利做其他违法事情,产生的一切后果本项目概不负责。

Screenshots