0.0.8 • Published 4 years ago

clash-config-regenerator v0.0.8

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Clash Config Regenerator

Only generates proxies, proxy-groups and rules, other options should be defined in header.yml

Usage

git clone https://github.com/Biobots/clash-config-regenerator.git

Modify global.yml, config_sample.yml and header_sample.yml. Copy your config file to ./config folder, rename it to your user name.

yarn install
yarn start

or

npm install
npm start

If your config file under config/ is called a.yml and your server port is 1111, then http://localhost:1111/clash/a should return your config file.

Mutiple users are supported.

Use as a package

Add global.yml to ./ and use:

let ccr = require('clash-config-regenerator')
ccr.startServ() //start server
ccr.stopServ() //stop server
0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago