dsh-plugin-hub#packages/dsh-web-file-preview

wingsky-1

在 web 端预览对话中的文件链接(图片 / 文本 / Markdown / 代码高亮 / git diff):点击链接即可弹窗预览,替代桌面原生打开;loopback 围栏 + 弱 ETag/304 缓存 + DOMPurify 消毒。

Preview conversation file links in the web UI (images / text / Markdown / highlighted code / git diff) — click a link to open a preview modal instead of the desktop opener; loopback-fenced routes with weak ETag/304 caching and DOMPurify sanitization.

安装命令

dsh plugin --profile web add @wingsky-1/dsh-web-file-preview

该命令来自上游目录,本站的自动审核尚未覆盖它——执行前请自行核对仓库。

安装后运行 dsh --profile web --dump-config 并重启对应 profile。插件会以你的本机权限运行第三方代码,安装前请检查源码。

信号

GitHub Stars3
30 天下载374
分发方式NPM
收录时间2026-08-18

相关链接

同类插件