@streamapp/stream 0.0.1
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 +24 -0
- package/bin/stream.mjs +89 -0
- package/package.json +34 -0
- package/resources/app/dist-panel/panel-boards.js +6 -0
- package/resources/app/dist-panel/panel-detail.css +1 -0
- package/resources/app/dist-panel/panel-detail.js +2141 -0
- package/resources/app/dist-panel/panel-manage.css +1 -0
- package/resources/app/dist-panel/panel-manage.js +2246 -0
- package/resources/app/dist-panel/panel-movie.css +1 -0
- package/resources/app/dist-panel/panel-movie.js +2268 -0
- package/resources/app/dist-panel/panel-research.css +1 -0
- package/resources/app/dist-panel/panel-research.js +316 -0
- package/resources/app/dist-panel/panel.css +1 -0
- package/resources/app/dist-panel/panel.js +463 -0
- package/resources/dsh-engine-lock/package-lock.json +9032 -0
- package/resources/extension/.output/chrome-mv3/assets/popup-C2NUZZQW.css +2 -0
- package/resources/extension/.output/chrome-mv3/background.js +1 -0
- package/resources/extension/.output/chrome-mv3/chunks/popup-BeBts9v2.js +50 -0
- package/resources/extension/.output/chrome-mv3/icon/128.png +0 -0
- package/resources/extension/.output/chrome-mv3/icon/16.png +0 -0
- package/resources/extension/.output/chrome-mv3/icon/32.png +0 -0
- package/resources/extension/.output/chrome-mv3/icon/48.png +0 -0
- package/resources/extension/.output/chrome-mv3/icon/96.png +0 -0
- package/resources/extension/.output/chrome-mv3/manifest.json +1 -0
- package/resources/extension/.output/chrome-mv3/popup.html +21 -0
- package/resources/packages/1lou/1lou-search.recipe.json +102 -0
- package/resources/packages/1lou/README.md +7 -0
- package/resources/packages/1lou/package.json +15 -0
- package/resources/packages/Douyin_TikTok_Download_API/README.md +23 -0
- package/resources/packages/Douyin_TikTok_Download_API/activate.ts +14 -0
- package/resources/packages/Douyin_TikTok_Download_API/adapter/adapter.ts +321 -0
- package/resources/packages/Douyin_TikTok_Download_API/adapter/danmaku.ts +21 -0
- package/resources/packages/Douyin_TikTok_Download_API/adapter/executor.ts +75 -0
- package/resources/packages/Douyin_TikTok_Download_API/adapter/normalize.ts +20 -0
- package/resources/packages/Douyin_TikTok_Download_API/manifests.yaml +521 -0
- package/resources/packages/Douyin_TikTok_Download_API/package.json +32 -0
- package/resources/packages/alist/README.md +14 -0
- package/resources/packages/alist/activate.ts +12 -0
- package/resources/packages/alist/adapter.ts +74 -0
- package/resources/packages/alist/manifests.yaml +76 -0
- package/resources/packages/alist/mounts.ts +120 -0
- package/resources/packages/alist/package.json +24 -0
- package/resources/packages/alist/presets.ts +53 -0
- package/resources/packages/alist/provision.ts +84 -0
- package/resources/packages/baidu/baidu-share.recipe.json +93 -0
- package/resources/packages/baidu/package.json +16 -0
- package/resources/packages/baidu-search/baidu-search.recipe.json +129 -0
- package/resources/packages/baidu-search/package.json +25 -0
- package/resources/packages/brave/brave-search.recipe.json +129 -0
- package/resources/packages/brave/package.json +25 -0
- package/resources/packages/browser/README.md +3 -0
- package/resources/packages/browser/adapter.ts +44 -0
- package/resources/packages/browser/manifests.yaml +20 -0
- package/resources/packages/browser/package.json +13 -0
- package/resources/packages/bt0/README.md +7 -0
- package/resources/packages/bt0/bt0-search.recipe.json +69 -0
- package/resources/packages/bt0/bt0-tlist.recipe.json +74 -0
- package/resources/packages/bt0/package.json +15 -0
- package/resources/packages/btbtla/README.md +6 -0
- package/resources/packages/btbtla/btbtla-detail.recipe.json +76 -0
- package/resources/packages/btbtla/btbtla-search.recipe.json +74 -0
- package/resources/packages/btbtla/package.json +15 -0
- package/resources/packages/builtin/README.md +8 -0
- package/resources/packages/builtin/manifests.yaml +487 -0
- package/resources/packages/builtin/package.json +14 -0
- package/resources/packages/douyin/README.md +39 -0
- package/resources/packages/douyin/douyin-collection.recipe.json +127 -0
- package/resources/packages/douyin/douyin-search.recipe.json +163 -0
- package/resources/packages/douyin/package.json +16 -0
- package/resources/packages/firecrawl/firecrawl-create-key.recipe.json +81 -0
- package/resources/packages/firecrawl/firecrawl-read-key.recipe.json +56 -0
- package/resources/packages/firecrawl/package.json +16 -0
- package/resources/packages/google/google-search.recipe.json +127 -0
- package/resources/packages/google/package.json +24 -0
- package/resources/packages/groq/groq-create-key.recipe.json +67 -0
- package/resources/packages/groq/package.json +16 -0
- package/resources/packages/huggingface/README.md +7 -0
- package/resources/packages/huggingface/huggingface-spaces.recipe.json +73 -0
- package/resources/packages/huggingface/package.json +15 -0
- package/resources/packages/imdb/imdb-chart.recipe.json +75 -0
- package/resources/packages/imdb/package.json +15 -0
- package/resources/packages/index.ts +15 -0
- package/resources/packages/iqiyi/README.md +10 -0
- package/resources/packages/iqiyi/iqiyi-cn-album.recipe.json +80 -0
- package/resources/packages/iqiyi/iqiyi-cn-search.recipe.json +71 -0
- package/resources/packages/iqiyi/package.json +15 -0
- package/resources/packages/lizhi/README.md +35 -0
- package/resources/packages/lizhi/lizhi-user.recipe.json +80 -0
- package/resources/packages/lizhi/package.json +15 -0
- package/resources/packages/manmanbuy/README.md +16 -0
- package/resources/packages/manmanbuy/manmanbuy-search.recipe.json +115 -0
- package/resources/packages/manmanbuy/package.json +15 -0
- package/resources/packages/mineru/README.md +38 -0
- package/resources/packages/mineru/package.json +28 -0
- package/resources/packages/pansou/README.md +14 -0
- package/resources/packages/pansou/activate.ts +11 -0
- package/resources/packages/pansou/adapter.ts +94 -0
- package/resources/packages/pansou/manifests.yaml +50 -0
- package/resources/packages/pansou/package.json +27 -0
- package/resources/packages/qq/package.json +15 -0
- package/resources/packages/qq/qq-send.recipe.json +104 -0
- package/resources/packages/quark/package.json +16 -0
- package/resources/packages/quark/quark-share.recipe.json +40 -0
- package/resources/packages/reddit/package.json +15 -0
- package/resources/packages/reddit/reddit-sub.recipe.json +77 -0
- package/resources/packages/replay/README.md +7 -0
- package/resources/packages/replay/package.json +13 -0
- package/resources/packages/rsshub/README.md +16 -0
- package/resources/packages/rsshub/manifests.yaml +107 -0
- package/resources/packages/rsshub/package.json +21 -0
- package/resources/packages/telegram/package.json +15 -0
- package/resources/packages/telegram/telegram-search.recipe.json +125 -0
- package/resources/packages/tencent/README.md +11 -0
- package/resources/packages/tencent/package.json +15 -0
- package/resources/packages/tencent/tencent-cn-episode.recipe.json +98 -0
- package/resources/packages/toubiec/README.md +38 -0
- package/resources/packages/toubiec/package.json +15 -0
- package/resources/packages/toubiec/toubiec-download.recipe.json +58 -0
- package/resources/packages/toubiec/toubiec-playlist.recipe.json +49 -0
- package/resources/packages/toubiec/toubiec-search.recipe.json +80 -0
- package/resources/packages/voiceprint/README.md +31 -0
- package/resources/packages/voiceprint/package.json +36 -0
- package/resources/packages/wikipedia/package.json +15 -0
- package/resources/packages/wikipedia/wikipedia-award-list.recipe.json +102 -0
- package/resources/packages/xhs/README.md +32 -0
- package/resources/packages/xhs/package.json +21 -0
- package/resources/packages/xhs/xhs-detail.recipe.json +129 -0
- package/resources/packages/xhs/xhs-home.recipe.json +144 -0
- package/resources/packages/xhs/xhs-like.recipe.json +96 -0
- package/resources/packages/xhs/xhs-search.recipe.json +138 -0
- package/resources/packages/xueqiu/README.md +9 -0
- package/resources/packages/xueqiu/package.json +16 -0
- package/resources/packages/xueqiu/xueqiu-detail.recipe.json +92 -0
- package/resources/packages/xueqiu/xueqiu-user.recipe.json +75 -0
- package/resources/packages/zhipu/package.json +16 -0
- package/resources/packages/zhipu/zhipu-create-key.recipe.json +74 -0
- package/resources/packages/zuna/README.md +31 -0
- package/resources/packages/zuna/package.json +15 -0
- package/resources/packages/zuna/zuna-album.recipe.json +46 -0
- package/resources/packages/zuna/zuna-download.recipe.json +53 -0
- package/resources/packages/zuna/zuna-playlist.recipe.json +46 -0
- package/resources/packages/zuna/zuna-search.recipe.json +96 -0
- package/resources/server.mjs +238876 -0
- package/resources/sidequest.jobs.js +1 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"kind": "http",
|
|
4
|
+
"sourceId": "zuna-download",
|
|
5
|
+
"request": { "url": "https://music.znnu.com/api/song", "method": "POST" },
|
|
6
|
+
"compute": {
|
|
7
|
+
"capabilities": ["hmacSha256", "aesGcmDecrypt"],
|
|
8
|
+
"prefetch": [
|
|
9
|
+
{ "as": "keyResp", "request": { "url": "https://music.znnu.com/api/key", "method": "GET", "headers": { "X-Referer": "musicParser" } } },
|
|
10
|
+
{ "as": "ipResp", "request": { "url": "https://music.znnu.com/api/ip", "method": "GET" } }
|
|
11
|
+
],
|
|
12
|
+
"sign": "(() => { const p = { act: 'song', id: input.params.id, level: input.params.level || 'lossless', rawInput: input.params.id, ip: input.pre.ipResp.ip || '' }; let s = input.now + 'music.znnu.com'; for (const k of Object.keys(p).sort()) s += k + '=' + p[k]; const signature = hmacSha256('a09d0f3700a279584e1515354fbe08a7ee1c617f919543142fa625b82f1b5ad0', s); const enc = (o) => Object.keys(o).map(k => encodeURIComponent(k) + '=' + encodeURIComponent(o[k])).join('&'); return { body: enc(Object.assign({}, p, { signature, timestamp: String(input.now), domain: 'music.znnu.com' })), headers: { 'content-type': 'application/x-www-form-urlencoded', 'X-Referer': 'musicParser', 'X-Key-Token': input.pre.keyResp.data.keyToken } }; })()",
|
|
13
|
+
"decode": "(() => { const d = input.body && input.body.data; const song = (d && d.enc === 1) ? JSON.parse(aesGcmDecrypt({ key: input.pre.keyResp.data.key, iv: d.iv, ciphertext: d.ciphertext, tag: d.tag })) : (input.body && input.body.data); return { song: song && song.url ? [song] : [] }; })()"
|
|
14
|
+
},
|
|
15
|
+
"pagination": { "mode": "increment", "param": "page", "start": 1, "step": 1, "itemsAt": "song", "maxPages": 1 },
|
|
16
|
+
"assert": [{ "path": "song", "desc": "decrypted zuna song wrapped as a one-element array" }],
|
|
17
|
+
"mapping": {
|
|
18
|
+
"guid": "url",
|
|
19
|
+
"title": "name",
|
|
20
|
+
"author": "artist",
|
|
21
|
+
"album": "album",
|
|
22
|
+
"enclosure_url": "url",
|
|
23
|
+
"enclosure_type": "type",
|
|
24
|
+
"format": "type",
|
|
25
|
+
"image": "cover"
|
|
26
|
+
},
|
|
27
|
+
"meta": {
|
|
28
|
+
"normalizer": "rsshub",
|
|
29
|
+
"type": "post",
|
|
30
|
+
"title": "单曲下载",
|
|
31
|
+
"description": "Zuna 网易云解析 — 单曲下载(song id → 可播放/可下载地址)",
|
|
32
|
+
"topics": ["zuna", "网易云", "音乐", "下载", "无损", "music", "netease"],
|
|
33
|
+
"categories": ["music"],
|
|
34
|
+
"facility": { "key": "zuna", "label": "Zuna" },
|
|
35
|
+
"capabilities": ["timeline"],
|
|
36
|
+
"key_param": "id",
|
|
37
|
+
"priority": 90,
|
|
38
|
+
"discoverable": true,
|
|
39
|
+
"cadence_hint_seconds": 3600,
|
|
40
|
+
"auth": { "type": "none" },
|
|
41
|
+
"homepage": "music.znnu.com",
|
|
42
|
+
"params_schema": {
|
|
43
|
+
"id": { "type": "string", "required": true, "description": "网易云歌曲 ID" },
|
|
44
|
+
"level": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"required": false,
|
|
47
|
+
"default": "lossless",
|
|
48
|
+
"description": "音质:standard/exhigh/lossless/hires/jyeffect/sky/jymaster(上游给不出时自动降档)"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"radar": ["music.163.com/song"]
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"kind": "http",
|
|
4
|
+
"sourceId": "zuna-playlist",
|
|
5
|
+
"request": { "url": "https://music.znnu.com/api/playlist", "method": "POST" },
|
|
6
|
+
"compute": {
|
|
7
|
+
"capabilities": ["hmacSha256", "aesGcmDecrypt"],
|
|
8
|
+
"prefetch": [
|
|
9
|
+
{ "as": "keyResp", "request": { "url": "https://music.znnu.com/api/key", "method": "GET", "headers": { "X-Referer": "musicParser" } } },
|
|
10
|
+
{ "as": "ipResp", "request": { "url": "https://music.znnu.com/api/ip", "method": "GET" } }
|
|
11
|
+
],
|
|
12
|
+
"sign": "(() => { const p = { act: 'playlist', id: input.params.id, rawInput: input.params.id, limit: '1000', offset: '0', ip: input.pre.ipResp.ip || '' }; let s = input.now + 'music.znnu.com'; for (const k of Object.keys(p).sort()) s += k + '=' + p[k]; const signature = hmacSha256('a09d0f3700a279584e1515354fbe08a7ee1c617f919543142fa625b82f1b5ad0', s); const enc = (o) => Object.keys(o).map(k => encodeURIComponent(k) + '=' + encodeURIComponent(o[k])).join('&'); return { body: enc(Object.assign({}, p, { signature, timestamp: String(input.now), domain: 'music.znnu.com' })), headers: { 'content-type': 'application/x-www-form-urlencoded', 'X-Referer': 'musicParser', 'X-Key-Token': input.pre.keyResp.data.keyToken } }; })()",
|
|
13
|
+
"decode": "(() => { const d = input.body && input.body.data; if (!d || d.enc !== 1) return input.body; return JSON.parse(aesGcmDecrypt({ key: input.pre.keyResp.data.key, iv: d.iv, ciphertext: d.ciphertext, tag: d.tag })); })()"
|
|
14
|
+
},
|
|
15
|
+
"pagination": { "mode": "increment", "param": "page", "start": 1, "step": 1, "itemsAt": "tracks", "maxPages": 1 },
|
|
16
|
+
"assert": [{ "path": "tracks", "desc": "decrypted zuna playlist has tracks[] (one request, full list)" }],
|
|
17
|
+
"mapping": {
|
|
18
|
+
"guid": "id",
|
|
19
|
+
"title": "name",
|
|
20
|
+
"author": "artists",
|
|
21
|
+
"link": "https://music.163.com/song?id={id}",
|
|
22
|
+
"description": "album",
|
|
23
|
+
"image": "picUrl"
|
|
24
|
+
},
|
|
25
|
+
"meta": {
|
|
26
|
+
"normalizer": "rsshub",
|
|
27
|
+
"type": "post",
|
|
28
|
+
"title": "歌单曲目",
|
|
29
|
+
"description": "Zuna 网易云解析 — 歌单曲目(整份名单一次取回;每首歌的文件地址在播放/下载时由 netease-track 现解)",
|
|
30
|
+
"topics": ["zuna", "网易云", "音乐", "歌单", "music", "netease"],
|
|
31
|
+
"categories": ["music"],
|
|
32
|
+
"facility": { "key": "zuna", "label": "Zuna" },
|
|
33
|
+
"capabilities": ["timeline"],
|
|
34
|
+
"mode": "collection",
|
|
35
|
+
"key_param": "id",
|
|
36
|
+
"priority": 90,
|
|
37
|
+
"discoverable": true,
|
|
38
|
+
"cadence_hint_seconds": 86400,
|
|
39
|
+
"auth": { "type": "none" },
|
|
40
|
+
"homepage": "music.znnu.com",
|
|
41
|
+
"params_schema": {
|
|
42
|
+
"id": { "type": "string", "required": true, "description": "网易云歌单 ID(取自 music.163.com/playlist?id=…)" }
|
|
43
|
+
},
|
|
44
|
+
"radar": ["music.163.com/playlist"]
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"kind": "http",
|
|
4
|
+
"sourceId": "zuna-search",
|
|
5
|
+
"request": {
|
|
6
|
+
"url": "https://music.znnu.com/api/search",
|
|
7
|
+
"method": "POST"
|
|
8
|
+
},
|
|
9
|
+
"compute": {
|
|
10
|
+
"capabilities": [
|
|
11
|
+
"hmacSha256",
|
|
12
|
+
"aesGcmDecrypt"
|
|
13
|
+
],
|
|
14
|
+
"prefetch": [
|
|
15
|
+
{
|
|
16
|
+
"as": "keyResp",
|
|
17
|
+
"request": {
|
|
18
|
+
"url": "https://music.znnu.com/api/key",
|
|
19
|
+
"method": "GET",
|
|
20
|
+
"headers": {
|
|
21
|
+
"X-Referer": "musicParser"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"as": "ipResp",
|
|
27
|
+
"request": {
|
|
28
|
+
"url": "https://music.znnu.com/api/ip",
|
|
29
|
+
"method": "GET"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"sign": "(() => { const p = { act: 'search', keyword: input.params.keyword, limit: '100', offset: '0', ip: input.pre.ipResp.ip || '' }; let s = input.now + 'music.znnu.com'; for (const k of Object.keys(p).sort()) s += k + '=' + p[k]; const signature = hmacSha256('a09d0f3700a279584e1515354fbe08a7ee1c617f919543142fa625b82f1b5ad0', s); const enc = (o) => Object.keys(o).map(k => encodeURIComponent(k) + '=' + encodeURIComponent(o[k])).join('&'); return { body: enc(Object.assign({}, p, { signature, timestamp: String(input.now), domain: 'music.znnu.com' })), headers: { 'content-type': 'application/x-www-form-urlencoded', 'X-Referer': 'musicParser', 'X-Key-Token': input.pre.keyResp.data.keyToken } }; })()",
|
|
34
|
+
"decode": "(() => { const d = input.body && input.body.data; if (!d || d.enc !== 1) return input.body; return JSON.parse(aesGcmDecrypt({ key: input.pre.keyResp.data.key, iv: d.iv, ciphertext: d.ciphertext, tag: d.tag })); })()"
|
|
35
|
+
},
|
|
36
|
+
"pagination": {
|
|
37
|
+
"mode": "increment",
|
|
38
|
+
"param": "page",
|
|
39
|
+
"start": 1,
|
|
40
|
+
"step": 1,
|
|
41
|
+
"itemsAt": "songs",
|
|
42
|
+
"maxPages": 1
|
|
43
|
+
},
|
|
44
|
+
"assert": [
|
|
45
|
+
{
|
|
46
|
+
"path": "songs",
|
|
47
|
+
"desc": "decrypted zuna search payload has songs[]"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"mapping": {
|
|
51
|
+
"guid": "id",
|
|
52
|
+
"title": "name",
|
|
53
|
+
"author": "artists",
|
|
54
|
+
"link": "https://music.163.com/song?id={id}",
|
|
55
|
+
"description": "artists",
|
|
56
|
+
"image": "coverImgUrl"
|
|
57
|
+
},
|
|
58
|
+
"meta": {
|
|
59
|
+
"normalizer": "rsshub",
|
|
60
|
+
"type": "post",
|
|
61
|
+
"description": "Zuna 聚合搜索 — 网易云歌曲",
|
|
62
|
+
"topics": [
|
|
63
|
+
"zuna",
|
|
64
|
+
"网易云",
|
|
65
|
+
"音乐",
|
|
66
|
+
"搜索",
|
|
67
|
+
"music",
|
|
68
|
+
"netease"
|
|
69
|
+
],
|
|
70
|
+
"categories": [
|
|
71
|
+
"music"
|
|
72
|
+
],
|
|
73
|
+
"facility": {
|
|
74
|
+
"key": "zuna",
|
|
75
|
+
"label": "Zuna"
|
|
76
|
+
},
|
|
77
|
+
"capabilities": [
|
|
78
|
+
"search"
|
|
79
|
+
],
|
|
80
|
+
"key_param": "keyword",
|
|
81
|
+
"priority": 80,
|
|
82
|
+
"discoverable": true,
|
|
83
|
+
"cadence_hint_seconds": 3600,
|
|
84
|
+
"auth": {
|
|
85
|
+
"type": "none"
|
|
86
|
+
},
|
|
87
|
+
"homepage": "music.znnu.com",
|
|
88
|
+
"params_schema": {
|
|
89
|
+
"keyword": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"required": true,
|
|
92
|
+
"description": "搜索关键词(歌名/歌手/专辑)"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|