kk99668/dsh-mobile-access
dsh-mobile-access serves the DSH Web GUI to a phone through your own domain and server: a Cordis patch extends the browser-trust fence with the public authority the tunnel serves, then a glue plugin starts a local token gate in front of the webserver plus a supervised SSH reverse tunnel to a relay where Caddy terminates HTTPS, printing a public URL and QR code once the tunnel is up.
dsh-mobile-access serves the DSH Web GUI to a phone through your own domain and server. Its cordis.patch.yml rides over the web surface: it extends the connection row's /api browser-trust fence with the public authority the tunnel serves and inserts the package's mobile-access glue plugin, which starts a local token gate in front of the webserver and a supervised SSH reverse tunnel to the relay server, provides the mobileAccess service (the public host the fence accepts), registers the mobile-surface prompt section and the DSH_WEB_PUBLIC_URL variable, and prints the public URL plus a terminal QR code once the tunnel is established. On the relay, Caddy terminates HTTPS for the domain and reverse-proxies into the tunnel, with setup-server.sh installing that side.
Install
dsh plugin --profile web add github:kk99668/dsh-mobile-accessCopied verbatim from the README's Install block. The README also documents dsh plugin --profile web add dsh-mobile-access (the npm package name was not resolvable on registry.npmjs.org on 2026-10-16, so the GitHub form is shipped).
Compatibility
The gate is the authentication layer the browser-trust fence deliberately is not: every request and WebSocket upgrade must present a token (a cookie set by the login form, or Basic/Bearer credentials) before it is forwarded to the webserver. The tunnel is an ssh -N -R child owned by the plugin that reconnects with exponential backoff, resets the backoff after a stable uptime and dies with its fiber; on the relay server Caddy terminates HTTPS for the domain and reverse-proxies into the tunnel. The surfaceContext option registers a mobile-surface prompt section and the bash-visible DSH_WEB_PUBLIC_URL runtime variable, and the public URL (plus a terminal QR code when qrCode is true) is printed once the tunnel is established.
Details
- Repo: kk99668/dsh-mobile-access
- Category: Infrastructure & Deployment
- Stars: 0
- Version: GitHub repo kk99668/dsh-mobile-access (0*); installed from GitHub (no resolvable npm package at the check date). English README with a README.zh.md Chinese translation, plus DEPLOYMENT.md and scripts/setup-server.sh for the relay side.
Alternatives
1m01m0/deepseek-harness-desktop · AIcivilization/dsh-vps-manager · AlliotTech/deepseek-harness-docker