Giter Club home page Giter Club logo

proxypoolcheck's Introduction

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

proxypoolcheck's People

Contributors

sansui233 avatar wangwang-code avatar nnn149 avatar mengbai0 avatar xiyaowong 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.