Skip to content

Latest commit

ย 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒŽ Clash Mixin Script ๐Ÿš€

This is a ๐Ÿค– Clash Mixin script that creates new proxy-groups and appends them to the original proxy-groups configuration.

What It Does ๐Ÿค”

่ฏฅ่„šๆœฌไผš่‡ชๅŠจๅฐ† Clash ้…็ฝฎๆ–‡ไปถไธญ็š„ไปฃ็†ๆŒ‰็…งๆŒ‡ๅฎš็š„ๅ…ณ้”ฎ่ฏๅˆ†็ป„๏ผŒไพ‹ๅฆ‚ๅœจๆœฌ่„šๆœฌไธญๆ˜ฏๆŒ‰็…ง "้ฆ™ๆธฏ"ใ€"ๆ—ฅๆœฌ"ใ€"ๅฐๆนพ"ใ€"ๆ–ฐๅŠ ๅก"ใ€"็พŽๅ›ฝ"ใ€"HK"ใ€"SG"ใ€"JP"ใ€"US" ่ฟ›่กŒๅˆ†็ป„ใ€‚็„ถๅŽ๏ผŒ่„šๆœฌไผšไธบๆฏไธชๅˆ†็ป„ๅˆ›ๅปบไธ€ไธชๅไธบ "LoadBalancing_ๅ…ณ้”ฎ่ฏ" ็š„ไปฃ็†็ป„๏ผŒๅนถๅฐ†็›ธๅบ”็š„ไปฃ็†ๆทปๅŠ ๅˆฐ่ฏฅไปฃ็†็ป„ไธญใ€‚ๆœ€ๅŽ๏ผŒ่ฏฅ่„šๆœฌไผšๅฐ†ๆ‰€ๆœ‰ๆ–ฐ็š„ไปฃ็†็ป„ๆทปๅŠ ๅˆฐๅŽŸๆœ‰้…็ฝฎๆ–‡ไปถ็š„ "proxy-groups" ๅฑžๆ€งไธญ๏ผŒไปฅไพฟ่ฟ›่กŒ่ดŸ่ฝฝๅ‡่กกใ€‚

This script scans through all proxies in the proxies section of your Clash configuration file and groups them according to your specified country keywords. Then it creates a new proxy-group for each group, named as LoadBalancing_{country}, and adds them to the original proxy-groups section.

Finally, it appends the new proxy-group names to the proxies list in each original proxy-group, effectively load balancing the proxies by country. ๐ŸŒ

Official Documentation ๐Ÿ“š

For more information on how to use Mixin scripts with Clash, please refer to the official documentation:

https://docs.cfw.lbyczf.com/contents/mixin.html#%E7%89%88%E6%9C%AC%E8%A6%81%E6%B1%82

License ๐Ÿ“œ

This project is licensed under the terms of the MIT license. ๐Ÿค

About

A Clash mixin script that automatically sorts proxies based on specified country keywords, creates load balancing groups for each country, and adds the new groups to the existing proxy-groups.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages