🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

clash-fastest-proxy-selector

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clash-fastest-proxy-selector

clash auto select fastest proxy tool

1.0.5
latest
Source
npm
Version published
Weekly downloads
1
-75%
Maintainers
1
Weekly downloads
 
Created
Source

npm version

Clash Fastest Proxy Selector

A tool to automatically select the fastest proxy node for Clash/ClashX/Clash Pro

Clash RESTful API

Installation

  • yarn global add clash-fastest-proxy-selector
  • pnpm install clash-fastest-proxy-selector -g
  • npm install clash-fastest-proxy-selector -g

Usage

  • clash-fastest-proxy --help

  • clash-fastest-proxy

  • clash-fastest-proxy -s 手动选择 -h 127.0.0.1 -p 9090 -t 3000 -u https://www.google.com -r ShadowsocksR -e 香港 --api-token xxxxx

  • with crontab e.g.

20 * * * * echo "---------------`date`---------------" >> ~/.config/clash/clash-fastest-proxy.log && /usr/local/bin/clash-fastest-proxy --exclude-node-names 普通 >> ~/.config/clash/clash-fastest-proxy.log 2>&1

Default Config

{
  selectorName: '手动选择',
  hostname: '127.0.0.1',
  port: 9090,
  delayCheckTimeout: 3000,
  delayCheckURL: 'https://www.google.com',
  excludeNodeNames: undefined,
  proxyType: [ 'Trojan', 'ShadowsocksR' ],
  apiToken: undefined
};

Building locally

  • yarn build
  • yarn start

Develop

use ts-node pnpm install ts-node -g

Keywords

Clash

FAQs

Package last updated on 19 Mar 2024

Did you know?

Socket

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.

Install

Related posts