@moralts/gkd_subscription 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,45 @@
1
+ # @Moralts/GKD_subscription
2
+
3
+ 由 Moralts 长期维护管理的 GKD 订阅规则
4
+
5
+ ## 提前声明
6
+
7
+ - **禁止在国内平台传播**
8
+ - **本仓库仅供本人学习用途**
9
+
10
+ ## 如何订阅?
11
+
12
+ **我们暂时只提供 Github Raw 的原生文件订阅,未来会提供更多渠道**
13
+
14
+ 复制下面任意的链接导入到 GKD 即可:
15
+
16
+ - ### Github Raw
17
+
18
+ ```
19
+ https://raw.githubusercontent.com/Moralts/GKD_subscription/main/dist/gkd.json5
20
+ ```
21
+
22
+ ## 项目说明
23
+
24
+ - **立志为 GKD 伙伴们提供最全,最快,最精准的规则**
25
+ - **默认提供开屏广告跳过,其余需自行配置**
26
+
27
+ ## 感谢项目
28
+
29
+ [gkd-kit/subscription-template](github.com/gkd-kit/subscription-template) 提供 GKD 规则模板
30
+
31
+ ## 感谢所有贡献者
32
+
33
+ <a href="https://github.com/Moralts/GKD_subscription/graphs/contributors">
34
+ <img src="https://contrib.rocks/image?repo=Moralts/GKD_subscription" />
35
+ </a>
36
+
37
+ ## Star History
38
+
39
+ <a href="https://www.star-history.com/?repos=Moralts%2FGKD_subscription&type=date&legend=top-left">
40
+ <picture>
41
+ <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/image?repos=Moralts/GKD_subscription&type=date&theme=dark&legend=top-left" />
42
+ <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/image?repos=Moralts/GKD_subscription&type=date&legend=top-left" />
43
+ <img alt="Star History Chart" src="https://api.star-history.com/image?repos=Moralts/GKD_subscription&type=date&legend=top-left" />
44
+ </picture>
45
+ </a>
@@ -0,0 +1,14 @@
1
+ # 变更记录
2
+
3
+ v4 -> v5
4
+
5
+ ||||||
6
+ |-|:-:|:-:|:-:|:-:|
7
+ |应用|+1|||3 -> 4|
8
+ |应用规则|+1|||3 -> 4|
9
+
10
+ ## 应用规则
11
+
12
+ ||+|~|-|
13
+ |:-:|-|-|-|
14
+ |唔姆<br>+1|<li>开屏广告|||
package/dist/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # 订阅
2
+
3
+ v5
4
+
5
+ |||
6
+ | - |:-:|
7
+ |类别|0|
8
+ |全局规则|0|
9
+ |应用|4|
10
+ |应用规则|4|
11
+
12
+ ## 规则类别
13
+
14
+ |||
15
+ | - |:-:|
16
+
17
+
18
+ ## 全局规则
19
+
20
+
21
+
22
+ ## 应用规则
23
+
24
+ ||||
25
+ | - |:-:|-|
26
+ |KOOK|1|<li>开屏广告|
27
+ |唔姆|1|<li>开屏广告|
28
+ |中国移动|1|<li>开屏广告|
29
+ |作业帮|1|<li>开屏广告|
package/dist/gkd.json5 ADDED
@@ -0,0 +1 @@
1
+ {id:32767,name:'Moralts 的 GKD 规则',version:5,author:'Moralts',checkUpdateUrl:'./gkd.version.json5',supportUri:'https://github.com/Moralts/GKD_subscription',categories:[],globalGroups:[],apps:[{id:'cn.kaiheila',name:'KOOK',groups:[{key:0,name:'开屏广告',fastQuery:true,actionMaximum:1,resetMatch:'app',actionMaximumKey:0,priorityTime:5000,rules:[{key:0,action:'click',matches:'@TextView[text^="跳过"][visibleToUser=true][right>getPrev(4).width.div(2)][top<getPrev(4).height.div(2)] <n RelativeLayout <n FrameLayout <n FrameLayout < [vid="ad_container"] <<n [parent=null]',snapshotUrls:'https://i.gkd.li/i/25939059'}]}]},{id:'com.umu168.wumu',name:'唔姆',groups:[{key:0,name:'开屏广告',fastQuery:true,actionMaximum:1,resetMatch:'app',actionMaximumKey:0,priorityTime:5000,rules:[{key:0,action:'click',matches:'@TextView[text^="跳过"][visibleToUser=true][right>getPrev(5).width.div(2)][top<getPrev(5).height.div(2)] <n FrameLayout <n FrameLayout <n FrameLayout <n RelativeLayout < [vid="fl_splash"] <<n [parent=null]',snapshotUrls:'https://i.gkd.li/i/25939903'}]}]},{id:'com.greenpoint.android.mc10086.activity',name:'中国移动',groups:[{key:0,name:'开屏广告',fastQuery:true,actionMaximum:1,resetMatch:'app',actionMaximumKey:0,priorityTime:5000,rules:[{key:0,action:'clickCenter',matches:'@TextView[text$="跳过"][visibleToUser=true][right>getPrev(0).width.div(2)][top<getPrev(0).height.div(2)] <<n [parent=null]',snapshotUrls:'https://i.gkd.li/i/25890695'}]}]},{id:'com.baidu.homework',name:'作业帮',groups:[{key:0,name:'开屏广告',fastQuery:true,actionMaximum:1,resetMatch:'app',actionMaximumKey:0,priorityTime:5000,rules:[{key:0,action:'click',matches:'@TextView[text="跳过"][visibleToUser=true][right>getPrev(0).width.div(2)][top<getPrev(0).height.div(2)] <n RelativeLayout < RelativeLayout < [id="android:id/content"] <<n [parent=null]',snapshotUrls:'https://i.gkd.li/i/25938517'}]}]}]}
@@ -0,0 +1 @@
1
+ {id:32767,version:5}
package/package.json ADDED
@@ -0,0 +1,56 @@
1
+ {
2
+ "name": "@moralts/gkd_subscription",
3
+ "version": "0.0.5",
4
+ "type": "module",
5
+ "scripts": {
6
+ "postinstall": "simple-git-hooks",
7
+ "format": "prettier --cache --write ./**/*.{js,cjs,mjs,ts,jsx,tsx,json}",
8
+ "lint": "eslint --cache --fix ./**/*.{js,cjs,mjs,ts,jsx,tsx}",
9
+ "check": "tsc --noEmit && tsx ./scripts/check.ts",
10
+ "build": "tsc --noEmit && tsx ./scripts/build.ts"
11
+ },
12
+ "simple-git-hooks": {
13
+ "pre-commit": "pnpm exec lint-staged",
14
+ "pre-push": "pnpm run check"
15
+ },
16
+ "lint-staged": {
17
+ "*.{js,cjs,mjs,ts,jsx,tsx}": [
18
+ "eslint --cache --fix",
19
+ "prettier --cache --write"
20
+ ],
21
+ "*.json": [
22
+ "prettier --cache --write"
23
+ ]
24
+ },
25
+ "publishConfig": {
26
+ "access": "public",
27
+ "registry": "https://registry.npmjs.org/"
28
+ },
29
+ "files": [
30
+ "./dist"
31
+ ],
32
+ "dependencies": {
33
+ "@eslint/js": "10.0.1",
34
+ "@gkd-kit/api": "0.8.0",
35
+ "@gkd-kit/define": "0.0.1",
36
+ "@gkd-kit/tools": "0.8.0",
37
+ "@types/node": "25.3.5",
38
+ "eslint": "10.0.3",
39
+ "eslint-config-prettier": "10.1.8",
40
+ "eslint-plugin-unused-imports": "4.4.1",
41
+ "json5": "2.2.3",
42
+ "lint-staged": "16.3.2",
43
+ "prettier": "3.8.1",
44
+ "simple-git-hooks": "2.13.1",
45
+ "tsx": "4.21.0",
46
+ "typescript": "5.9.3",
47
+ "typescript-eslint": "8.56.1"
48
+ },
49
+ "volta": {
50
+ "node": "24.11.1"
51
+ },
52
+ "packageManager": "pnpm@10.31.0",
53
+ "engines": {
54
+ "node": ">=22"
55
+ }
56
+ }