dsh-plugin-reverse-proxy 0.4.2 → 0.4.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/CHANGELOG.md +13 -0
- package/README.en.md +17 -7
- package/README.md +16 -7
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,19 @@
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
## 0.4.3
|
|
8
|
+
|
|
9
|
+
仅文档与仓库配置,代码同 0.4.2。
|
|
10
|
+
|
|
11
|
+
**更新内容**
|
|
12
|
+
- README 首屏加**一行安装命令**与「装完点哪儿」,徽章全部换成可点的真实链接(license / npm 版本 / 下载量 / release / CI / stars)。
|
|
13
|
+
- About 描述补上「内网穿透替代」「免 Token 登录」等会被搜的词,homepage 指向 npm 包页。
|
|
14
|
+
- 新增 `.github/workflows/publish.yml`:推 `v*` 标签自动发 npm,并校验标签与 `package.json` 版本一致。
|
|
15
|
+
- 新增 Issue 模板(自动带 DSH 版本 / 插件版本 / 开关状态 / 系统浏览器)与讨论区入口。
|
|
16
|
+
|
|
17
|
+
**修复内容**
|
|
18
|
+
- README 里 tarball 示例仍写着 0.3.5 的文件名,改成 0.4.3。
|
|
19
|
+
|
|
7
20
|
## 0.4.2
|
|
8
21
|
|
|
9
22
|
### 文档 / 界面
|
package/README.en.md
CHANGED
|
@@ -7,17 +7,27 @@
|
|
|
7
7
|
<p align="center"><a href="README.md">简体中文</a> | English</p>
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
|
-
<a href="
|
|
11
|
-
<a href="
|
|
12
|
-
<a href="
|
|
13
|
-
<a href="#"><img src="https://img.shields.io/badge/dsh-0.2.2--rc.3-blueviolet.svg" alt="dsh"></a>
|
|
14
|
-
<a href="#"><img src="https://img.shields.io/badge/status-beta-orange.svg" alt="status"></a>
|
|
10
|
+
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="license"></a>
|
|
11
|
+
<a href="https://www.npmjs.com/package/dsh-plugin-reverse-proxy"><img src="https://img.shields.io/npm/v/dsh-plugin-reverse-proxy?label=npm" alt="npm"></a>
|
|
12
|
+
<a href="https://www.npmjs.com/package/dsh-plugin-reverse-proxy"><img src="https://img.shields.io/npm/dm/dsh-plugin-reverse-proxy?label=downloads" alt="downloads"></a>
|
|
15
13
|
<a href="https://github.com/llifco/dsh-plugin-reverse-proxy/releases/latest"><img src="https://img.shields.io/github/v/release/llifco/dsh-plugin-reverse-proxy?label=release" alt="release"></a>
|
|
14
|
+
<img src="https://img.shields.io/badge/dependencies-0-brightgreen.svg" alt="dependencies">
|
|
15
|
+
<img src="https://img.shields.io/badge/build-none-brightgreen.svg" alt="build">
|
|
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
|
+
<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>
|
|
16
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>
|
|
17
19
|
</p>
|
|
18
20
|
|
|
19
21
|
> One command and any device on your LAN — phone, tablet, another laptop — can open your DSH web UI,
|
|
20
22
|
> **without copying the random token out of the startup log**.
|
|
23
|
+
```bash
|
|
24
|
+
dsh plugin --profile web add dsh-plugin-reverse-proxy # recommended: npm package, no build
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Then open **Settings → LAN access**: it listens on loopback only by default, flip the switch,
|
|
28
|
+
confirm — your phone can connect.
|
|
29
|
+
(You can also install from source: `github:llifco/dsh-plugin-reverse-proxy`, see [Install](#install).)
|
|
30
|
+
|
|
21
31
|
|
|
22
32
|
---
|
|
23
33
|
|
|
@@ -142,8 +152,8 @@ dsh plugin --profile web add .
|
|
|
142
152
|
or use the tarball from the releases page / npm (filename carries the current version):
|
|
143
153
|
|
|
144
154
|
```bash
|
|
145
|
-
dsh plugin --profile web add ./dsh-plugin-reverse-proxy-0.3.
|
|
146
|
-
# or: https://registry.npmjs.org/dsh-plugin-reverse-proxy/-/dsh-plugin-reverse-proxy-0.3.
|
|
155
|
+
dsh plugin --profile web add ./dsh-plugin-reverse-proxy-0.4.3.tgz
|
|
156
|
+
# or: https://registry.npmjs.org/dsh-plugin-reverse-proxy/-/dsh-plugin-reverse-proxy-0.4.3.tgz
|
|
147
157
|
```
|
|
148
158
|
|
|
149
159
|
Restart the host once:
|
package/README.md
CHANGED
|
@@ -7,18 +7,27 @@
|
|
|
7
7
|
<p align="center">简体中文 | <a href="README.en.md">English</a></p>
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
|
-
<a href="
|
|
11
|
-
<a href="
|
|
12
|
-
<a href="
|
|
13
|
-
<a href="#"><img src="https://img.shields.io/badge/dsh-0.2.2--rc.3-blueviolet.svg" alt="dsh"></a>
|
|
14
|
-
<a href="#"><img src="https://img.shields.io/badge/status-beta-orange.svg" alt="status"></a>
|
|
10
|
+
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="license"></a>
|
|
11
|
+
<a href="https://www.npmjs.com/package/dsh-plugin-reverse-proxy"><img src="https://img.shields.io/npm/v/dsh-plugin-reverse-proxy?label=npm" alt="npm"></a>
|
|
12
|
+
<a href="https://www.npmjs.com/package/dsh-plugin-reverse-proxy"><img src="https://img.shields.io/npm/dm/dsh-plugin-reverse-proxy?label=downloads" alt="downloads"></a>
|
|
15
13
|
<a href="https://github.com/llifco/dsh-plugin-reverse-proxy/releases/latest"><img src="https://img.shields.io/github/v/release/llifco/dsh-plugin-reverse-proxy?label=release" alt="release"></a>
|
|
14
|
+
<img src="https://img.shields.io/badge/dependencies-0-brightgreen.svg" alt="dependencies">
|
|
15
|
+
<img src="https://img.shields.io/badge/build-none-brightgreen.svg" alt="build">
|
|
16
|
+
<a href="#适用范围"><img src="https://img.shields.io/badge/dsh-0.2.2--rc.1~rc.3-blueviolet.svg" alt="dsh"></a>
|
|
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>
|
|
16
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>
|
|
17
19
|
</p>
|
|
18
20
|
|
|
19
21
|
> 一条命令装上,局域网里的手机、平板、另一台电脑就能直接打开你的 DSH 网页界面,
|
|
20
22
|
> **而且不用再从启动日志里抄那串随机 token**。
|
|
21
23
|
|
|
24
|
+
```bash
|
|
25
|
+
dsh plugin --profile web add dsh-plugin-reverse-proxy # 推荐:npm 包,免构建
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
装完打开 **设置 → 局域网访问**:默认只监听本机,点开关 → 确认 → 手机就能进。
|
|
29
|
+
(也可以 `github:llifco/dsh-plugin-reverse-proxy` 从源码装,见 [安装](#安装)。)
|
|
30
|
+
|
|
22
31
|
---
|
|
23
32
|
|
|
24
33
|
## 三个能力
|
|
@@ -164,8 +173,8 @@ dsh plugin --profile web add .
|
|
|
164
173
|
或者用 Release / npm 上的 tarball(文件名带当前版本号):
|
|
165
174
|
|
|
166
175
|
```bash
|
|
167
|
-
dsh plugin --profile web add ./dsh-plugin-reverse-proxy-0.3.
|
|
168
|
-
# 或 npm 包:https://registry.npmjs.org/dsh-plugin-reverse-proxy/-/dsh-plugin-reverse-proxy-0.3.
|
|
176
|
+
dsh plugin --profile web add ./dsh-plugin-reverse-proxy-0.4.3.tgz
|
|
177
|
+
# 或 npm 包:https://registry.npmjs.org/dsh-plugin-reverse-proxy/-/dsh-plugin-reverse-proxy-0.4.3.tgz
|
|
169
178
|
```
|
|
170
179
|
|
|
171
180
|
装完重启一次宿主:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-reverse-proxy",
|
|
3
|
-
"version": "0.4.
|
|
4
|
-
"description": "DSH
|
|
3
|
+
"version": "0.4.3",
|
|
4
|
+
"description": "DSH 网页界面局域网访问插件:内置反向代理 + 免 Token 登录,手机/平板同 Wi-Fi 直接打开后台。默认只监听本机,需显式开启,端口可自定义。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"exports": {
|