dsh-movie-workbench 1.0.1 → 1.0.3
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 +9 -9
- package/README.zh.md +4 -4
- package/docs/detail.png +0 -0
- package/docs/home.png +0 -0
- package/docs/image.png +0 -0
- package/package.json +1 -2
- package/assets/detail.png +0 -0
- package/assets/home.png +0 -0
- package/assets/image.png +0 -0
- package/docs/preview.svg +0 -103
package/README.md
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
# dsh-movie-workbench
|
|
4
4
|
|
|
5
|
-
A DeepSeek Harness plugin that adds a
|
|
6
|
-
search movies and TV series across **TMDB**, **IMDb** and
|
|
5
|
+
A DeepSeek Harness plugin that adds a **Movies workbench** panel to the left sidebar:
|
|
6
|
+
search movies and TV series across **TMDB**, **IMDb** and **DouBan** on a single page, and find BT
|
|
7
7
|
resources.
|
|
8
8
|
|
|
9
|
-

|
|
10
10
|
|
|
11
|
-

|
|
12
12
|
|
|
13
13
|
## Features
|
|
14
14
|
|
|
@@ -24,7 +24,7 @@ resources.
|
|
|
24
24
|
Paste the plugin's GitHub repository URL
|
|
25
25
|
`https://github.com/aidc-lab/dsh-movie-workbench.git` into the input field, as shown below.
|
|
26
26
|
|
|
27
|
-

|
|
28
28
|
|
|
29
29
|
### From the CLI
|
|
30
30
|
|
|
@@ -55,11 +55,11 @@ The Host side (`index.js` + `lib/`) exposes a single prefix route, `/movie-workb
|
|
|
55
55
|
| `GET /status` | whether each channel has credentials |
|
|
56
56
|
| `GET /search?q=&source=&lang=` | dispatch to the selected channels and return normalized results |
|
|
57
57
|
| `GET /trending?source=&lang=&limit=` | recommendation rows, or a longer list for one channel |
|
|
58
|
-
| `GET /detail?source=douban&id=` | synopsis and metadata for a
|
|
58
|
+
| `GET /detail?source=douban&id=` | synopsis and metadata for a DouBan title |
|
|
59
59
|
| `GET /torrents?q=&alt=&source=&limit=` | BT resource search |
|
|
60
60
|
| `GET /image?url=` | proxy posters from allowlisted image hosts |
|
|
61
61
|
|
|
62
|
-
All upstream HTTP requests happen in the Host, so the page stays same-origin and
|
|
62
|
+
All upstream HTTP requests happen in the Host, so the page stays same-origin and DouBan's `Referer`
|
|
63
63
|
requirement is handled server-side.
|
|
64
64
|
|
|
65
65
|
## Configuration
|
|
@@ -73,14 +73,14 @@ Plugin configuration in `cordis.patch.yml`:
|
|
|
73
73
|
| `requestTimeoutMs` | `8000` | timeout for a single upstream request |
|
|
74
74
|
|
|
75
75
|
TMDB needs a credential: set `tmdbApiKey`, or paste a v3 key / v4 token into the Key control in the
|
|
76
|
-
panel (stored only in the local browser). IMDb and
|
|
76
|
+
panel (stored only in the local browser). IMDb and DouBan need no key.
|
|
77
77
|
|
|
78
78
|
## Notes
|
|
79
79
|
|
|
80
80
|
- Requires the DSH Web GUI (it provides `ctx.webServer`) and access to `api.themoviedb.org`,
|
|
81
81
|
`v2.sg.media-imdb.com`, `movie.douban.com`, `bt4gprx.com`, `bitsearch.to` and the poster image
|
|
82
82
|
hosts.
|
|
83
|
-
- IMDb search results carry no rating;
|
|
83
|
+
- IMDb search results carry no rating; DouBan recommendations include the public `rate`; TMDB
|
|
84
84
|
provides ratings and vote counts.
|
|
85
85
|
- suggestion, rexxar, BT4G and BitSearch are undocumented endpoints and may change or rate-limit;
|
|
86
86
|
failures are surfaced per channel and do not affect the others.
|
package/README.zh.md
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
# dsh-movie-workbench
|
|
4
4
|
|
|
5
|
-
一个 DeepSeek Harness 插件,在左侧栏加入
|
|
5
|
+
一个 DeepSeek Harness 插件,在左侧栏加入 **影视工作台** 面板:
|
|
6
6
|
在一个页面里检索 **TMDB**、**IMDb** 和 **豆瓣** 的电影与剧集,并查找 BT 资源。
|
|
7
7
|
|
|
8
|
-

|
|
9
9
|
|
|
10
|
-

|
|
11
11
|
|
|
12
12
|
## 功能
|
|
13
13
|
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
直接将插件的GitHub仓库地址 `https://github.com/aidc-lab/dsh-movie-workbench.git` 拷贝到输入框中,如下图。
|
|
23
23
|
|
|
24
|
-

|
|
25
25
|
|
|
26
26
|
### 通过命令行
|
|
27
27
|
|
package/docs/detail.png
CHANGED
|
Binary file
|
package/docs/home.png
CHANGED
|
Binary file
|
package/docs/image.png
ADDED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-movie-workbench",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Movies workbench — search film and TV titles across TMDB, IMDb and 豆瓣 from a left-sidebar panel.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
"locale/*.json",
|
|
19
19
|
"docs",
|
|
20
20
|
"icon.svg",
|
|
21
|
-
"assets",
|
|
22
21
|
"README.md",
|
|
23
22
|
"README.zh.md"
|
|
24
23
|
],
|
package/assets/detail.png
DELETED
|
Binary file
|
package/assets/home.png
DELETED
|
Binary file
|
package/assets/image.png
DELETED
|
Binary file
|
package/docs/preview.svg
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
<svg width="640" height="300" viewBox="0 0 640 300" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<defs>
|
|
3
|
-
<linearGradient id="mw-p1" x1="0" y1="0" x2="0" y2="1">
|
|
4
|
-
<stop stop-color="#F2B34C"/>
|
|
5
|
-
<stop offset="1" stop-color="#C2410C"/>
|
|
6
|
-
</linearGradient>
|
|
7
|
-
<linearGradient id="mw-p2" x1="0" y1="0" x2="0" y2="1">
|
|
8
|
-
<stop stop-color="#38BDF8"/>
|
|
9
|
-
<stop offset="1" stop-color="#1D4ED8"/>
|
|
10
|
-
</linearGradient>
|
|
11
|
-
<linearGradient id="mw-p3" x1="0" y1="0" x2="0" y2="1">
|
|
12
|
-
<stop stop-color="#A78BFA"/>
|
|
13
|
-
<stop offset="1" stop-color="#6D28D9"/>
|
|
14
|
-
</linearGradient>
|
|
15
|
-
<linearGradient id="mw-mark" x1="0" y1="0" x2="1" y2="1">
|
|
16
|
-
<stop stop-color="#5B8CFF"/>
|
|
17
|
-
<stop offset="1" stop-color="#1FAF9B"/>
|
|
18
|
-
</linearGradient>
|
|
19
|
-
</defs>
|
|
20
|
-
|
|
21
|
-
<!-- panel -->
|
|
22
|
-
<rect x="32" y="20" width="576" height="260" rx="16" fill="#8B95A7" fill-opacity="0.1" stroke="#8B95A7" stroke-opacity="0.5"/>
|
|
23
|
-
|
|
24
|
-
<!-- ===== left: results page ===== -->
|
|
25
|
-
<!-- header: clapper mark + title bar, key control -->
|
|
26
|
-
<path d="M53 36.5 73 33.5l.5 3.1-20 3-.5-3.1Z" fill="url(#mw-mark)"/>
|
|
27
|
-
<rect x="51" y="40" width="23" height="12" rx="2.5" fill="url(#mw-mark)"/>
|
|
28
|
-
<path d="M59.6 43.1l4 2.3-4 2.3v-4.6Z" fill="#FFFFFF"/>
|
|
29
|
-
<rect x="82" y="41" width="94" height="9" rx="4.5" fill="#8B95A7" fill-opacity="0.6"/>
|
|
30
|
-
<circle cx="332" cy="45" r="6" stroke="#D5A94B" stroke-width="2"/>
|
|
31
|
-
<circle cx="332" cy="45" r="2" stroke="#D5A94B" stroke-width="1.6"/>
|
|
32
|
-
<path d="M338 45h6M341 45v2.6M344 45v2" stroke="#D5A94B" stroke-width="2" stroke-linecap="round"/>
|
|
33
|
-
|
|
34
|
-
<!-- search field -->
|
|
35
|
-
<rect x="52" y="66" width="196" height="30" rx="10" fill="#8B95A7" fill-opacity="0.1" stroke="#8B95A7" stroke-opacity="0.45"/>
|
|
36
|
-
<circle cx="70" cy="81" r="5.4" stroke="#8B95A7" stroke-width="1.8"/>
|
|
37
|
-
<path d="M74 85l4 4" stroke="#8B95A7" stroke-width="1.8" stroke-linecap="round"/>
|
|
38
|
-
<rect x="86" y="78" width="104" height="6" rx="3" fill="#8B95A7" fill-opacity="0.4"/>
|
|
39
|
-
<rect x="256" y="66" width="30" height="30" rx="10" fill="url(#mw-mark)"/>
|
|
40
|
-
<circle cx="269" cy="79" r="4.6" stroke="#FFFFFF" stroke-width="1.8"/>
|
|
41
|
-
<path d="M272.4 82.4l3.2 3.2" stroke="#FFFFFF" stroke-width="1.8" stroke-linecap="round"/>
|
|
42
|
-
|
|
43
|
-
<!-- channel chips -->
|
|
44
|
-
<rect x="52" y="106" width="56" height="24" rx="12" fill="#8B95A7" fill-opacity="0.2" stroke="#8B95A7" stroke-opacity="0.6"/>
|
|
45
|
-
<rect x="66" y="115" width="28" height="6" rx="3" fill="#8B95A7" fill-opacity="0.75"/>
|
|
46
|
-
<rect x="116" y="106" width="56" height="24" rx="12" fill="#8B95A7" fill-opacity="0.08" stroke="#8B95A7" stroke-opacity="0.4"/>
|
|
47
|
-
<rect x="128" y="115" width="32" height="6" rx="3" fill="#8B95A7" fill-opacity="0.45"/>
|
|
48
|
-
<rect x="180" y="106" width="56" height="24" rx="12" fill="#8B95A7" fill-opacity="0.08" stroke="#8B95A7" stroke-opacity="0.4"/>
|
|
49
|
-
<rect x="192" y="115" width="32" height="6" rx="3" fill="#8B95A7" fill-opacity="0.45"/>
|
|
50
|
-
|
|
51
|
-
<!-- results: three posters -->
|
|
52
|
-
<g>
|
|
53
|
-
<rect x="52" y="142" width="84" height="126" rx="8" fill="url(#mw-p1)"/>
|
|
54
|
-
<circle cx="94" cy="193" r="20" stroke="#FFFFFF" stroke-opacity="0.55" stroke-width="3"/>
|
|
55
|
-
<path d="M90 186l10 7-10 7v-14Z" fill="#FFFFFF" fill-opacity="0.85"/>
|
|
56
|
-
<circle cx="68" cy="156" r="8" fill="#FFFFFF" fill-opacity="0.35"/>
|
|
57
|
-
<rect x="52" y="276" width="58" height="0" rx="0" fill="#8B95A7"/>
|
|
58
|
-
</g>
|
|
59
|
-
<g>
|
|
60
|
-
<rect x="148" y="142" width="84" height="126" rx="8" fill="url(#mw-p2)"/>
|
|
61
|
-
<path d="M148 224c18-22 34-15 46-3 12 11 24 10 38 2v37a8 8 0 0 1-8 8h-68a8 8 0 0 1-8-8v-36Z" fill="#FFFFFF" fill-opacity="0.3"/>
|
|
62
|
-
<circle cx="190" cy="176" r="14" fill="#FFFFFF" fill-opacity="0.35"/>
|
|
63
|
-
</g>
|
|
64
|
-
<g>
|
|
65
|
-
<rect x="244" y="142" width="84" height="126" rx="8" fill="url(#mw-p3)"/>
|
|
66
|
-
<circle cx="286" cy="188" r="17" fill="#FFFFFF" fill-opacity="0.4"/>
|
|
67
|
-
<circle cx="286" cy="188" r="8" fill="#FFFFFF" fill-opacity="0.75"/>
|
|
68
|
-
<rect x="254" y="238" width="52" height="7" rx="3.5" fill="#FFFFFF" fill-opacity="0.45"/>
|
|
69
|
-
<rect x="262" y="250" width="36" height="7" rx="3.5" fill="#FFFFFF" fill-opacity="0.3"/>
|
|
70
|
-
</g>
|
|
71
|
-
|
|
72
|
-
<!-- divider -->
|
|
73
|
-
<rect x="352" y="46" width="1" height="212" fill="#8B95A7" fill-opacity="0.25"/>
|
|
74
|
-
|
|
75
|
-
<!-- ===== right: detail page ===== -->
|
|
76
|
-
<!-- back pill -->
|
|
77
|
-
<rect x="372" y="66" width="72" height="26" rx="13" fill="#8B95A7" fill-opacity="0.1" stroke="#8B95A7" stroke-opacity="0.45"/>
|
|
78
|
-
<path d="M386 74.5 381 79l5 4.5" stroke="#8B95A7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
79
|
-
<rect x="392" y="76" width="38" height="6" rx="3" fill="#8B95A7" fill-opacity="0.55"/>
|
|
80
|
-
|
|
81
|
-
<!-- big poster -->
|
|
82
|
-
<rect x="372" y="106" width="96" height="144" rx="10" fill="url(#mw-p2)"/>
|
|
83
|
-
<path d="M372 106h96v36l-32 21-26-15-38 15v-57Z" fill="#FFFFFF" fill-opacity="0.28"/>
|
|
84
|
-
<circle cx="420" cy="196" r="18" fill="#FFFFFF" fill-opacity="0.35"/>
|
|
85
|
-
|
|
86
|
-
<!-- title, tags, overview, action -->
|
|
87
|
-
<rect x="486" y="108" width="86" height="11" rx="5.5" fill="#8B95A7" fill-opacity="0.7"/>
|
|
88
|
-
<rect x="486" y="128" width="64" height="7" rx="3.5" fill="#8B95A7" fill-opacity="0.45"/>
|
|
89
|
-
|
|
90
|
-
<rect x="486" y="148" width="34" height="16" rx="8" fill="#8B95A7" fill-opacity="0.14" stroke="#8B95A7" stroke-opacity="0.35"/>
|
|
91
|
-
<rect x="526" y="148" width="34" height="16" rx="8" fill="#8B95A7" fill-opacity="0.14" stroke="#8B95A7" stroke-opacity="0.35"/>
|
|
92
|
-
<rect x="486" y="172" width="30" height="16" rx="8" fill="#8B95A7" fill-opacity="0.14" stroke="#8B95A7" stroke-opacity="0.35"/>
|
|
93
|
-
<circle cx="497" cy="180" r="3.4" fill="#D5A94B"/>
|
|
94
|
-
<rect x="504" y="177" width="16" height="6" rx="3" fill="#8B95A7" fill-opacity="0.5"/>
|
|
95
|
-
|
|
96
|
-
<rect x="486" y="202" width="92" height="6" rx="3" fill="#8B95A7" fill-opacity="0.4"/>
|
|
97
|
-
<rect x="486" y="214" width="84" height="6" rx="3" fill="#8B95A7" fill-opacity="0.32"/>
|
|
98
|
-
<rect x="486" y="226" width="88" height="6" rx="3" fill="#8B95A7" fill-opacity="0.32"/>
|
|
99
|
-
<rect x="486" y="238" width="52" height="6" rx="3" fill="#8B95A7" fill-opacity="0.32"/>
|
|
100
|
-
|
|
101
|
-
<rect x="486" y="262" width="88" height="24" rx="12" fill="#1FAF9B" fill-opacity="0.8"/>
|
|
102
|
-
<rect x="502" y="271" width="56" height="6" rx="3" fill="#FFFFFF" fill-opacity="0.85"/>
|
|
103
|
-
</svg>
|