dsh-plugin-reverse-proxy 0.4.3 → 0.4.4

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/CHANGELOG.md CHANGED
@@ -4,6 +4,17 @@
4
4
 
5
5
  ---
6
6
 
7
+ ## 0.4.4
8
+
9
+ 仅文档与截图,代码同 0.4.2。
10
+
11
+ **更新内容**
12
+ - README 新增「长什么样」:一张**设置 → 局域网访问**的真机截图(紫色开关 + 监听端口输入框 + 状态行),中英同步。
13
+ - README 首屏与文末加入**交流群**(QQ 群 1065464637),顶部多一枚群徽章。
14
+
15
+ **修复内容**
16
+ - 「长什么样」里命令行截图与后文重复引用,改为一处引用并加跳转。
17
+
7
18
  ## 0.4.3
8
19
 
9
20
  仅文档与仓库配置,代码同 0.4.2。
package/README.en.md CHANGED
@@ -16,6 +16,7 @@
16
16
  <a href="#scope"><img src="https://img.shields.io/badge/dsh-0.2.2--rc.1~rc.3-blueviolet.svg" alt="dsh"></a>
17
17
  <a href="https://github.com/llifco/dsh-plugin-reverse-proxy/actions"><img src="https://img.shields.io/github/actions/workflow/status/llifco/dsh-plugin-reverse-proxy/publish.yml?label=publish" alt="publish"></a>
18
18
  <a href="https://github.com/llifco/dsh-plugin-reverse-proxy/stargazers"><img src="https://img.shields.io/github/stars/llifco/dsh-plugin-reverse-proxy" alt="stars"></a>
19
+ <a href="#community"><img src="https://img.shields.io/badge/QQ%20group-1065464637-12B7F5.svg" alt="QQ group"></a>
19
20
  </p>
20
21
 
21
22
  > One command and any device on your LAN — phone, tablet, another laptop — can open your DSH web UI,
@@ -29,6 +30,18 @@ confirm — your phone can connect.
29
30
  (You can also install from source: `github:llifco/dsh-plugin-reverse-proxy`, see [Install](#install).)
30
31
 
31
32
 
33
+ ---
34
+
35
+ ## What it looks like
36
+
37
+ **Settings → LAN access** (off by default; flipping it asks for confirmation first):
38
+
39
+ <p align="center">
40
+ <img src="assets/settings-lan-access.jpg" width="620" alt="Settings · LAN access">
41
+ </p>
42
+
43
+ No GUI around? The same switch works from a terminal (`yes` is required) — see [Usage](#usage).
44
+
32
45
  ---
33
46
 
34
47
  ## Three capabilities
@@ -273,3 +286,11 @@ routes events to the single live client rather than per tab. 0.4.x already gives
273
286
  identity (`x-dsh-tab` header plus `?tab=` on the mux — visible as `http tab ...` / `mux admit ...`
274
287
  in the log), but the gateway still accepts only one answering stream, so the plugin cannot work
275
288
  around it.
289
+
290
+ ---
291
+
292
+ ## Community
293
+
294
+ Questions, ideas and war stories: **QQ group 1065464637**.
295
+
296
+ For bugs, please open an [Issue](https://github.com/llifco/dsh-plugin-reverse-proxy/issues/new/choose) — the template asks for your DSH version, switch state and logs, which is far faster than guessing.
package/README.md CHANGED
@@ -16,6 +16,7 @@
16
16
  <a href="#适用范围"><img src="https://img.shields.io/badge/dsh-0.2.2--rc.1~rc.3-blueviolet.svg" alt="dsh"></a>
17
17
  <a href="https://github.com/llifco/dsh-plugin-reverse-proxy/actions"><img src="https://img.shields.io/github/actions/workflow/status/llifco/dsh-plugin-reverse-proxy/publish.yml?label=publish" alt="publish"></a>
18
18
  <a href="https://github.com/llifco/dsh-plugin-reverse-proxy/stargazers"><img src="https://img.shields.io/github/stars/llifco/dsh-plugin-reverse-proxy" alt="stars"></a>
19
+ <a href="#%E4%BA%A4%E6%B5%81%E7%BE%A4"><img src="https://img.shields.io/badge/QQ%E7%BE%A4-1065464637-12B7F5.svg" alt="QQ 群"></a>
19
20
  </p>
20
21
 
21
22
  > 一条命令装上,局域网里的手机、平板、另一台电脑就能直接打开你的 DSH 网页界面,
@@ -30,6 +31,18 @@ dsh plugin --profile web add dsh-plugin-reverse-proxy # 推荐:npm 包,免
30
31
 
31
32
  ---
32
33
 
34
+ ## 长什么样
35
+
36
+ **设置 → 局域网访问**(默认关闭,点开关会先弹出一次安全确认):
37
+
38
+ <p align="center">
39
+ <img src="assets/settings-lan-access.jpg" width="620" alt="设置 · 局域网访问">
40
+ </p>
41
+
42
+ 没开图形界面时,终端里也能开关(`yes` 才真的开)——见下面 [怎么用](#怎么用)。
43
+
44
+ ---
45
+
33
46
  ## 三个能力
34
47
 
35
48
  > 0.3.5 起:设置页开关换成紫色,**监听端口**也能自己填了(默认 8080,保存即生效,重启保留)。
@@ -305,3 +318,11 @@ nginx -t && systemctl reload nginx
305
318
  ## 许可
306
319
 
307
320
  MIT(`vendor/skip/` 内代码来自 @iasiv5/dsh-skip-browser-auth,同样 MIT)
321
+
322
+ ---
323
+
324
+ ## 交流群
325
+
326
+ 问题、想法、踩坑都欢迎来聊:**QQ 群 1065464637**。
327
+
328
+ 提 bug 的话,直接开 [Issue](https://github.com/llifco/dsh-plugin-reverse-proxy/issues/new/choose) 更好查——模板里会问 DSH 版本、开关状态和日志,比来回猜快得多。
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-plugin-reverse-proxy",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "DSH 网页界面局域网访问插件:内置反向代理 + 免 Token 登录,手机/平板同 Wi-Fi 直接打开后台。默认只监听本机,需显式开启,端口可自定义。",
5
5
  "type": "module",
6
6
  "main": "index.js",