Skip to content

v2gay/SurgeRule

 
 

Repository files navigation

SurgeRule

关于本规则集

本规则集意在尽量清晰、精简、易于维护,并有较强的可定制性。

本规则集附带了多种规则定制器,可以根据自身需要生成适合自己的规则。

使用方法

PHP 版

  1. 使用 PHP 部署
  2. 使用浏览器打开 Customize_config.html
  3. 根据示例填写节点信息,并按需求选取规则
  4. 下载并导入Surge

Python 版

  1. Customize.example.json 复制为 customize.json
  2. 根据自身需要,修改Customize.json
  3. 运行 python3 Customize.py ,得到 Surge_Customize.conf

Customize.json 可使用 Customize_config.html 生成。

系统需求

项目 需求 推荐
PHP >= 5.0 >= 7.0
Python >= 3.4 >= 3.5
浏览器 越新越好 Chrome

一起来完善本规则集

依靠个人的力量很难建立一个强大的规则集。欢迎参与本规则集的构建!期待你的 PR !

声明

THE PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT WITHOUT ANY WARRANTY. IT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW THE AUTHOR WILL BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

About

一个高度可定制化的 Surge 规则集

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 80.1%
  • Python 13.6%
  • PHP 6.3%