Skip to content
forked from xiangsanliu/Rules

🛫️ 🎵 Shadowrocket Rules: block ads, proxy, netease music unblock.

Notifications You must be signed in to change notification settings

jacky50737/Rules

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rules

简介

自动合并去广告、代理规则和网易云解锁规则,适用于Shadowrocket,网易云解锁请结合nondanee/UnblockNeteaseMusic食用。

去广告、代理规则合并自:anti-ADLoyalsoldier/surge-rules

网易云解锁规则来自:DesperadoJ/Rules-for-UnblockNeteaseMusic

食用方法

1. 首先在shadowrocket上添加好网易云的解锁节点

自建解锁节点

首先根据nondanee/UnblockNeteaseMusic里的教程设置好解锁节点,然后在Shadowrocket里添加。(仔细阅读原项目issue: iOS配置经验分享

❗️注意节点名称需要和UnblockNeteaseMusic.conf里的名称相同。

(Thank Rules-for-UnblockNeteaseMusic)

使用DesperadoJ大佬的节点

大佬的仓库地址:DesperadoJRules-for-UnblockNeteaseMusic,在里面找Shadowrocket/shadowrocket-server.txt

❗️注意节点名称需要和UnblockNeteaseMusic.conf里的名称相同。

2. 添加规则链接到 Shadowrocket

规则 链接 备注
merge-h2y.conf Raw地址CDN地址国内地址 合并自h2y/Shadowrocket-ADBlock-Rules (已停更)
merge-lhie1.conf Raw地址CDN地址国内地址 合并自lhie1/Rules (每周更新)
gfw-ad-netease.conf Raw地址CDN地址国内地址 转换自anti-ADLoyalsoldier/surge-rules (每日更新)

自定义开发

1. fork本项目

2. 设置自动更新

2.1 设置GITHUB_TOKEN

到个人GitHub Setting > Developer settings > Personal access tokens > Generate new token,设置名字为GITHUB_TOKEN, 然后勾选repo, admin: repo_hook, workflow,最后点击Generate token即可。 ( Thank Github Actions教程)

2.2 运行一次workflow

点击仓库下面的Actions > Auto update > Run workflow > Run workflow

3. Do something.

感谢

今天刚刚得知h2y/Shadowrocket-ADBlock-Rules项目已停止维护,故本项目中的merge-h2y.conf也只能停更了。 --- 2021-04-13

纯python小白,写的脚本很简单,欢迎批评指正。

About

🛫️ 🎵 Shadowrocket Rules: block ads, proxy, netease music unblock.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 93.4%
  • Shell 6.6%