Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
github.com/paynexss/proxypool
以下五选一。
点击按钮进入部署页面,填写基本信息然后运行
其中 DOMAIN
需要填写为你需要绑定的域名,CONFIG_FILE
需要填写你的配置文件路径。
heroku app域名为appname.herokuapp.com。项目内配置文件为./config/config.yaml
配置文件模板见 config/config.yaml 文件,可选项区域均可不填。完整配置选项请查看配置文件说明。
因为爬虫程序需要持续运行,所以至少选择 $7/月 的配置 免费配置长时间无人访问会被heroku强制停止
注册fly.io需要绑定银行卡,支持银联借记卡。同时使用fly.io主要通过命令行工具flyctl,详情到fly.io官网了解。
下载仓库源代码,修改 fly.toml
中的app与domain。在终端使用 flyctl deploy
部署即可。
需要 安装 Golang , 然后拉取代码,
go get -u -v github.com/ssrlive/proxypool@latest
或者,拉取代码的另一种方式
git clone https://github.com/ssrlive/proxypool.git
cd proxypool
go get
go build
then edit config/config.yaml
and config/source.yaml
and run it
./proxypool -c ./config/config.yaml
或者从源代码运行
go run main.go -c ./config/config.yaml
从这里下载预编译好的程序 release
运行下面的命令下载 proxypool 镜像
$ docker pull ghcr.io/ssrlive/proxypool:latest
然后运行 proxypool 即可
$ docker run -d --restart=always \
--name=proxypool \
-p 12580:12580 \
-v /path/to/config:/proxypool-src/config \
ghcr.io/ssrlive/proxypool \
-c config/config.yaml
使用 -p
参数映射配置文件里的端口
使用 -v
参数指定配置文件夹位置(配置文件要自行下载放到目录,方便修改)
使用 -c
参数指定配置文件路径,支持http链接
运行该程序需要具有访问完整互联网的能力。
首先修改 config.yaml 中的必要配置信息,带有默认值的字段均可不填写
source.yaml 文件中定义了抓取源,需要定期手动维护更新
完整的配置选项见配置文件说明
使用 -c
参数指定配置文件路径,支持http链接
$ proxypool -c ./config/config.yaml
如果需要部署到VPS,更多细节请查看wiki。
远程部署时Clash配置文件访问:https://domain/clash/config
本地运行时Clash配置文件访问:http://127.0.0.1:[端口]/clash/localconfig
此项非必须。为了提高实际可用性,可选择增加一个本地服务器,检测远程proxypool节点在本地的可用性并提供配置,见proxypoolCheck。
本项目遵循 GNU General Public License v3.0 开源,在此基础上,所有使用本项目提供服务者都必须在网站首页保留指向本项目的链接
本项目仅限个人自己使用,禁止使用本项目进行营利和做其他违法事情,产生的一切后果本项目概不负责
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.