proxypool

command module
v0.6.1-0...-d14f156 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

README


proxypool

自动抓取tg频道、订阅地址、公开互联网上的ss、ssr、vmess、trojan节点信息,聚合去重测试可用性后提供节点列表

Github Actions

支持

  • 支持ss、ssr、vmess、trojan多种类型
  • Telegram频道抓取
  • 订阅地址抓取解析
  • 公开互联网页面模糊抓取
  • 定时抓取自动更新
  • 通过配置文件设置抓取源
  • 自动检测节点可用性
  • 提供clash、surge配置文件
  • 提供ss、ssr、vmess、sip002订阅

安装

以下五选一。

1. 使用Heroku

点击按钮进入部署页面,填写基本信息然后运行

其中 DOMAIN 需要填写为你需要绑定的域名,CONFIG_FILE 需要填写你的配置文件路径。

heroku app域名为appname.herokuapp.com。项目内配置文件为./config/config.yaml

配置文件模板见 config/config.yaml 文件,可选项区域均可不填。完整配置选项请查看配置文件说明

Deploy

因为爬虫程序需要持续运行,所以至少选择 $7/月 的配置 免费配置长时间无人访问会被heroku强制停止

2. 使用fly.io

注册fly.io需要绑定银行卡,支持银联借记卡。同时使用fly.io主要通过命令行工具flyctl,详情到fly.io官网了解。

下载仓库源代码,修改 fly.toml 中的app与domain。在终端使用 flyctl deploy 部署即可。

3. 从源码编译

需要安装Golang

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

运行

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

编译

make

4. 下载预编译程序

从这里下载预编译好的程序 release

5. 使用docker

docker pull ghcr.io/sansui233/proxypool:latest

使用

运行该程序需要具有访问完整互联网的能力。

修改配置文件

首先修改 config.yaml 中的必要配置信息。带有默认值的字段均可不填写。完整的配置选项见配置文件说明

启动程序

使用 -c 参数指定配置文件路径,支持http链接

proxypool -c ./config/config.yaml

如果需要部署到VPS,更多细节请查看wiki

Clash配置文件

远程部署时Clash配置文件访问:https://domain/clash/config

本地运行时Clash配置文件访问:http://127.0.0.1:[端口]/clash/localconfig

本地检查节点可用性

此项非必须。为了提高实际可用性,可选择增加一个本地服务器,检测远程proxypool节点在本地的可用性并提供配置,见proxypoolCheck

截图

Speedtest

Fast

声明

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

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
app
bindata/geoip
Code generated for package bingeoip by go-bindata DO NOT EDIT.
Code generated for package bingeoip by go-bindata DO NOT EDIT.
bindata/html
Code generated by go-bindata.
Code generated by go-bindata.
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL