Skip to content

Commit a9f13dc

Browse files
committed
更新[BoxJs]: 可在 BoxJs 下直接运行脚本 (Surge TF)
1 parent 3086083 commit a9f13dc

3 files changed

Lines changed: 125 additions & 7 deletions

File tree

box/chavy.boxjs.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"settings": [{ "id": "chavy_mobile_10000", "name": "手机号码", "val": "", "type": "textarea", "placeholder": "18918920000,\n18918920000", "autoGrow": true, "rows": 5, "desc": "以英文逗号分隔多个号码, 可加回车" }],
1313
"author": "@wangfei021325, @chavyleung",
1414
"repo": "https://github.com/chavyleung/scripts/blob/master/10000/10000.js",
15+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/10000/10000.js",
1516
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/10000.png", "https://raw.githubusercontent.com/Orz-3/task/master/10000.png"]
1617
},
1718
{
@@ -20,6 +21,7 @@
2021
"keys": ["chavy_tokenurl_10010", "chavy_tokenheader_10010", "chavy_signurl_10010", "chavy_signheader_10010", "chavy_loginlotteryurl_10010", "chavy_loginlotteryheader_10010", "chavy_findlotteryurl_10010", "chavy_findlotteryheader_10010"],
2122
"author": "@chavyleung",
2223
"repo": "https://github.com/chavyleung/scripts/tree/master/10010",
24+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/10010/10010.js",
2325
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/10010.png", "https://raw.githubusercontent.com/Orz-3/task/master/10010.png"]
2426
},
2527
{
@@ -28,6 +30,7 @@
2830
"keys": ["chavy_autologin_cmcc", "chavy_getfee_cmcc", "chavy_tokenurl_10086", "chavy_tokenheader_10086", "chavy_signurl_10086", "chavy_signheader_10086"],
2931
"author": "@wangfei021325, @chavyleung",
3032
"repo": "https://github.com/chavyleung/scripts/blob/master/10086/10086.js",
33+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/10086/10086.js",
3134
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/10086.png", "https://raw.githubusercontent.com/Orz-3/task/master/10086.png"]
3235
},
3336
{
@@ -36,6 +39,7 @@
3639
"keys": ["senku_cookie_bcz", "senku_key_bcz"],
3740
"author": "@GideonSenku",
3841
"repo": "https://github.com/chavyleung/scripts/tree/master/bcz",
42+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/bcz/bcz.js",
3943
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/bcz.png", "https://raw.githubusercontent.com/Orz-3/task/master/bcz.png"]
4044
},
4145
{
@@ -50,13 +54,15 @@
5054
],
5155
"author": "@chavyleung",
5256
"repo": "https://github.com/chavyleung/scripts/tree/master/tieba",
57+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/tieba/tieba.js",
5358
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/baidu.png", "https://raw.githubusercontent.com/Orz-3/task/master/baidu.png"]
5459
},
5560
{
5661
"id": "pagoda",
5762
"name": "百果园",
5863
"keys": ["chavy_sign_pagoda"],
5964
"author": "@chavyleung",
65+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/pagoda/pagoda.js",
6066
"repo": "https://github.com/chavyleung/scripts/blob/master/pagoda"
6167
},
6268
{
@@ -65,6 +71,7 @@
6571
"keys": ["senku_signurl_dbsj", "senku_signheader_dbsj", "senku_signbody_dbsj"],
6672
"author": "@GideonSenku",
6773
"repo": "https://github.com/chavyleung/scripts/tree/master/dbsj",
74+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/dbsj/dbsj.js",
6875
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/dbsj.png", "https://raw.githubusercontent.com/Orz-3/task/master/dbsj.png"]
6976
},
7077
{
@@ -73,6 +80,7 @@
7380
"keys": ["senku_signurl_pandeng", "senku_signheader_pandeng", "senku_signbody_pandeng"],
7481
"author": "@GideonSenku",
7582
"repo": "https://github.com/chavyleung/scripts/tree/master/fandeng",
83+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/fandeng/fandeng.js",
7684
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/fandeng.png", "https://raw.githubusercontent.com/Orz-3/task/master/fandeng.png"]
7785
},
7886
{
@@ -81,6 +89,7 @@
8189
"keys": ["senku_signurl_fenqile", "senku_signheader_fenqile", "senku_signbody_fenqile", "senku_signDailyKey_fenqile", "senku_signDailyUrlKey_fenqile"],
8290
"author": "@GideonSenku",
8391
"repo": "https://github.com/chavyleung/scripts/tree/master/fenqile",
92+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/fenqile/fenqile.js",
8493
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/fenqile.png", "https://raw.githubusercontent.com/Orz-3/task/master/fenqile.png"]
8594
},
8695
{
@@ -89,6 +98,7 @@
8998
"keys": ["chavy_signurl_gdoil", "chavy_signheader_gdoil"],
9099
"author": "@chavyleung",
91100
"repo": "https://github.com/chavyleung/scripts/tree/master/gdoil",
101+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/gdoil/gdoil.js",
92102
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/gdoil.png", "https://raw.githubusercontent.com/Orz-3/task/master/gdoil.png"]
93103
},
94104
{
@@ -105,6 +115,7 @@
105115
],
106116
"author": "@chavyleung",
107117
"repo": "https://github.com/chavyleung/scripts/tree/master/jd",
118+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/jd/jd.618.js",
108119
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/jd.png", "https://raw.githubusercontent.com/Orz-3/task/master/jd.png"]
109120
},
110121
{
@@ -113,6 +124,7 @@
113124
"keys": ["chavy_signurl_mgtv", "chavy_signheader_mgtv"],
114125
"author": "@chavyleung",
115126
"repo": "https://github.com/chavyleung/scripts/blob/master/mgtv/mgtv.js",
127+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/mgtv/mgtv.js",
116128
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/mgtv.png", "https://raw.githubusercontent.com/Orz-3/task/master/mgtv.png"]
117129
},
118130
{
@@ -121,6 +133,7 @@
121133
"keys": ["chavy_tokenurl_meituan", "chavy_tokenheader_meituan", "chavy_signurl_meituan", "chavy_signheader_meituan", "chavy_signbody_meituan"],
122134
"author": "@chavyleung",
123135
"repo": "https://github.com/chavyleung/scripts/blob/master/meituan/meituan.js",
136+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/meituan/meituan.js",
124137
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/meituan.png", "https://raw.githubusercontent.com/Orz-3/task/master/meituan.png"]
125138
},
126139
{
@@ -129,6 +142,7 @@
129142
"keys": ["senku_signKey_qtt", "senku_signXTK_qtt", "senku_readKey_qtt", "senku_navCoinKey_qtt"],
130143
"author": "@GideonSenku",
131144
"repo": "https://github.com/chavyleung/scripts/tree/master/qtt",
145+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/qtt/qtt.js",
132146
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/qtt.png", "https://raw.githubusercontent.com/Orz-3/task/master/qtt.png"]
133147
},
134148
{
@@ -137,6 +151,7 @@
137151
"keys": ["senku_signurl_qmkg", "senku_signheader_qmkg", "senku_signbody_qmkg"],
138152
"author": "@GideonSenku",
139153
"repo": "https://github.com/chavyleung/scripts/tree/master/qmkg",
154+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/qmkg/qmkg.js",
140155
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/qmkg.png", "https://raw.githubusercontent.com/Orz-3/task/master/qmkg.png"]
141156
},
142157
{
@@ -149,6 +164,7 @@
149164
],
150165
"author": "@wangfei021325, @chavyleung",
151166
"repo": "https://github.com/chavyleung/scripts/tree/master/smzdm",
167+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/smzdm/smzdm.js",
152168
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/smzdm.png", "https://raw.githubusercontent.com/Orz-3/task/master/smzdm.png"]
153169
},
154170
{
@@ -157,6 +173,7 @@
157173
"keys": ["chavy_loginurl_sfexpress", "chavy_loginheader_sfexpress"],
158174
"author": "@chavyleung",
159175
"repo": "https://github.com/chavyleung/scripts/blob/master/sfexpress",
176+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/sfexpress/sfexpress.js",
160177
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/sfexpress.png", "https://raw.githubusercontent.com/Orz-3/task/master/sfexpress.png"]
161178
},
162179
{
@@ -165,6 +182,7 @@
165182
"keys": ["chavy_login_url_suning", "chavy_login_body_suning", "chavy_login_header_suning", "chavy_sign_url_suning", "chavy_sign_header_suning", "chavy_signweb_url_suning", "snyg_userTokenKey", "chavy_signweb_header_suning", "chavy_signgame_url_suning", "chavy_signgame_header_suning", "chavy_signgetgame_url_suning", "chavy_signgetgame_header_suning"],
166183
"author": "@chavyleung",
167184
"repo": "https://github.com/chavyleung/scripts/blob/master/suning/suning.js",
185+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/suning/suning.js",
168186
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/suning.png", "https://raw.githubusercontent.com/Orz-3/task/master/suning.png"]
169187
},
170188
{
@@ -173,6 +191,7 @@
173191
"keys": ["chavy_cookie_videoqq", "chavy_auth_url_videoqq", "chavy_auth_header_videoqq", "chavy_msign_url_videoqq", "chavy_msign_header_videoqq"],
174192
"author": "@chavyleung",
175193
"repo": "https://github.com/chavyleung/scripts/tree/master/videoqq",
194+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/videoqq/videoqq.js",
176195
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/videoqq.png", "https://raw.githubusercontent.com/Orz-3/task/master/videoqq.png"]
177196
},
178197
{
@@ -181,6 +200,7 @@
181200
"keys": ["senku_wanda_mi_"],
182201
"author": "@GideonSenku",
183202
"repo": "https://github.com/chavyleung/scripts/tree/master/wanda",
203+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/wanda/wanda.js",
184204
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/wanda.png", "https://raw.githubusercontent.com/Orz-3/task/master/wanda.png"]
185205
},
186206
{
@@ -189,6 +209,7 @@
189209
"keys": ["chavy_cookie_neteasenews", "chavy_body_neteasenews"],
190210
"author": "@chavyleung",
191211
"repo": "https://github.com/chavyleung/scripts/tree/master/neteasenews",
212+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/neteasenews/neteasenews.js",
192213
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/neteasenews.png", "https://raw.githubusercontent.com/Orz-3/task/master/neteasenews.png"]
193214
},
194215
{
@@ -201,6 +222,7 @@
201222
],
202223
"author": "@chavyleung",
203224
"repo": "https://github.com/chavyleung/scripts/tree/master/neteasemusic",
225+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/neteasemusic/neteasemusic.js",
204226
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/Netease.png", "https://raw.githubusercontent.com/Orz-3/task/master/Netease.png"]
205227
},
206228
{
@@ -210,6 +232,7 @@
210232
"keys": [],
211233
"author": "@chavyleung",
212234
"repo": "https://github.com/chavyleung/scripts/tree/master/feng",
235+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/feng/feng.js",
213236
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/feng.png", "https://raw.githubusercontent.com/Orz-3/task/master/feng.png"]
214237
},
215238
{
@@ -219,6 +242,7 @@
219242
"author": "@chavyleung",
220243
"repo": "https://github.com/chavyleung/scripts/tree/master/noteyoudao",
221244
"url": "https://apps.apple.com/cn/app/有道云笔记-扫描王版/id450748070",
245+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/noteyoudao/noteyoudao.js",
222246
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/noteyoudao.png", "https://raw.githubusercontent.com/Orz-3/task/master/noteyoudao.png"],
223247
"tasks": [{ "cron": "3 0 * * *", "script": "noteyoudao.js" }],
224248
"rewrites": [{ "type": "request", "pattern": "^https://note.youdao.com/yws/mapi/user?method=checkin", "script": "noteyoudao.cookie.js", "body": true }]
@@ -229,6 +253,7 @@
229253
"keys": ["senku_signurl_zxhc", "senku_signheader_zxhc", "senku_signbody_zxhc"],
230254
"author": "@GideonSenku",
231255
"repo": "https://github.com/chavyleung/scripts/tree/master/zxhc",
256+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/zxhc/zxhc.js",
232257
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/zxhc.png", "https://raw.githubusercontent.com/Orz-3/task/master/zxhc.png"]
233258
},
234259
{
@@ -237,6 +262,7 @@
237262
"keys": ["chavy_cookie_zimuzu", "chavy_auth_url_zimuzu_app"],
238263
"author": "@chavyleung",
239264
"repo": "https://github.com/chavyleung/scripts/tree/master/zimuzu",
265+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/zimuzu/zimuzu.js",
240266
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/zimuzu.png", "https://raw.githubusercontent.com/Orz-3/task/master/zimuzu.png"]
241267
},
242268
{
@@ -245,6 +271,7 @@
245271
"keys": ["chavy_cookie_acfun", "chavy_token_acfun"],
246272
"author": "@chavyleung",
247273
"repo": "https://github.com/chavyleung/scripts/tree/master/acfun",
274+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/acfun/acfun.js",
248275
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/acfun.png", "https://raw.githubusercontent.com/Orz-3/task/master/acfun.png"]
249276
},
250277
{
@@ -254,6 +281,7 @@
254281
"author": "@chavyleung",
255282
"repo": "https://github.com/chavyleung/scripts/tree/master/apktw",
256283
"url": "https://apk.tw/",
284+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/apktw/apktw.js",
257285
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/apktw.png", "https://raw.githubusercontent.com/Orz-3/task/master/apktw.png"],
258286
"tasks": [{ "cron": "3 0 * * *", "script": "apktw.js" }],
259287
"rewrites": [{ "type": "request", "pattern": "^https://apk.tw/member.php(.*?)action=login", "script": "apktw.cookie.js", "body": true }]
@@ -264,6 +292,7 @@
264292
"keys": ["chavy_cookie_bilibili"],
265293
"author": "@chavyleung",
266294
"repo": "https://github.com/chavyleung/scripts/blob/master/bilibili/bilibili.js",
295+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/bilibili/bilibili.js",
267296
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/bilibili.png", "https://raw.githubusercontent.com/Orz-3/task/master/bilibili.png"]
268297
},
269298
{
@@ -272,6 +301,7 @@
272301
"keys": ["chavy_cookie_v2ex"],
273302
"author": "@chavyleung",
274303
"repo": "https://github.com/chavyleung/scripts/tree/master/v2ex",
304+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/v2ex/v2ex.js",
275305
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/v2ex.png", "https://raw.githubusercontent.com/Orz-3/task/master/v2ex.png"]
276306
},
277307
{
@@ -280,6 +310,7 @@
280310
"keys": ["chavy_signhomeurl_wps", "chavy_signhomeheader_wps"],
281311
"author": "@chavyleung",
282312
"repo": "https://github.com/chavyleung/scripts/tree/master/wps",
313+
"script": "https://raw.githubusercontent.com/chavyleung/scripts/master/wps/wps.js",
283314
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/wps.png", "https://raw.githubusercontent.com/Orz-3/task/master/wps.png"]
284315
}
285316
]

box/release/box.release.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
{
22
"releases": [
3+
{
4+
"version": "0.6.0",
5+
"tags": ["beta"],
6+
"author": "@chavyleung",
7+
"icon": "https://avatars3.githubusercontent.com/u/29748519",
8+
"repo": "https://github.com/chavyleung",
9+
"notes": [
10+
{
11+
"name": "新增",
12+
"descs": ["可在 BoxJs 下直接运行脚本 (Surge TF)"]
13+
},
14+
{
15+
"name": "注意",
16+
"descs": ["目前仅支持 Surge iOS TF & Surge mac 4.x", "需要在 Surge配置文件中指定 http-api", "然后在 BoxJs 侧栏中设置 http-api 路径", "目前内置应用和 chavy.boxjs.json 内的应用都可以手动运行, 其他订阅需订阅作者更新订阅", "资料: https://community.nssurge.com/d/327-http-api"]
17+
}
18+
]
19+
},
320
{
421
"version": "0.5.8",
522
"tags": ["beta"],

0 commit comments

Comments
 (0)