本规则集意在尽量清晰、精简、易于维护,并有较强的可定制性。
本规则集附带了多种规则定制器,可以根据自身需要生成适合自己的规则。
- 使用 PHP 部署
- 使用浏览器打开
Customize_config.html
- 根据示例填写节点信息,并按需求选取规则
- 下载并导入Surge
- 将
Customize.example.json
复制为customize.json
- 根据自身需要,修改
Customize.json
- 运行
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.