Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 支持同时多个订阅地址 #11

Merged
merged 4 commits into from
Aug 4, 2023
Merged

feat: 支持同时多个订阅地址 #11

merged 4 commits into from
Aug 4, 2023

Conversation

sxueck
Copy link
Contributor

@sxueck sxueck commented Aug 3, 2023

  • 可以自定义测速目标(可以支持符合go fmt标准的payload)
  • 精简了从URL获取到parse的过程,减少了io次数
  • 支持多个订阅合并进行测速
  • 对订阅URL的判断和获取重新进行了梳理
  • 调整了引用Clash库的版本号,0.15 => 0.17

@sxueck
Copy link
Contributor Author

sxueck commented Aug 3, 2023

Examples:

  1. .\clash-speedtest.exe -c "xxx,xxx"
  2. .\clash-speedtest.exe -c "xxx,xxx" -l "https://speed.cloudflare.com/__down?bytes=%d"

@sxueck sxueck changed the title feat: 一些简单的修改 feat: 支持同时多个订阅地址 Aug 3, 2023
@faceair
Copy link
Owner

faceair commented Aug 3, 2023

感谢贡献,大部分的代码我看了都没有问题。

我对 livenessObject 参数还有些疑问,除了 speed.cloudflare.com 还有哪个服务有类似的用法,他还可能被配置成什么参数?

@sxueck
Copy link
Contributor Author

sxueck commented Aug 4, 2023

感谢贡献,大部分的代码我看了都没有问题。

我对 livenessObject 参数还有些疑问,除了 speed.cloudflare.com 还有哪个服务有类似的用法,他还可能被配置成什么参数?

当我使用了 Clash 的 relay 模式时候,我会希望在出口 VPS 放置一个自建的 speedtest,同时对订阅节点进行自定义的探测

https://github.com/cloudflare/speedtest

@faceair faceair merged commit 1db3fe1 into faceair:main Aug 4, 2023
@kosmgco
Copy link
Contributor

kosmgco commented Aug 11, 2023

不支持 -c /path/to/config.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants