dsh-phone-drop

局域网手机直传:电脑屏幕上出一个二维码,手机扫开就能拍照或扫描,文件直接落进电脑文件夹,全程局域网直连,不经过隧道也不经过云端。文档模式在手机浏览器里本地做自适应二值化、去噪、裁边,把普通照片变成黑白扫描件。插件会在 DSH 侧边栏底部加一个「手机直传」入口,点开就是二维码页;另有 phone_drop 工具供助手调用,同一个 CLI 也能脱离 DSH 独立运行。

插件介绍

局域网手机直传:电脑屏幕上出一个二维码,手机扫开就能拍照或扫描,文件直接落进电脑文件夹,全程局域网直连,不经过隧道也不经过云端。文档模式在手机浏览器里本地做自适应二值化、去噪、裁边,把普通照片变成黑白扫描件。插件会在 DSH 侧边栏底部加一个「手机直传」入口,点开就是二维码页;另有 phone_drop 工具供助手调用,同一个 CLI 也能脱离 DSH 独立运行。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-phone-drop

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:SongZijianlove/dsh-phone-drop

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • install script
  • 可能调用终端命令