kk99668/dsh-mobile-access
kk99668★ 0TypeScript最后同步: 2026-08-15
dsh bundle: serve the DeepSeek Harness Web GUI to a phone through your own domain and server (token gate + supervised SSH reverse tunnel)
README 摘要
dsh-mobile-access English 中文 The dsh mobile-access bundle: serve the Web GUI to a phone through your own domain and server. 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 this package's mobile-access glue plugin. That plugin starts a local token gate ( src/gate.ts ) in front of the webserver and a supervised SSH reverse tunnel ( src/tunnel.ts ) to the relay server, provides the mobileAccess service (the public host the fence accepts), registers the mobile-surface prompt section and the bash-visible DSH WEB PUBLIC URL runtime variable when surfaceContext is true, and prints the public URL (plus a terminal QR code when qrCode is true) once the tunnel is established. On the relay server, Caddy terminates HTTPS for the domain and reverse-proxies into the tunnel; scripts/setup-server.sh installs that side. The step-by-step deployment runbook is DEPLOYMENT.md. How it works The tunnel is an ssh -N -R child owned by the plugin: it reconnects with exponential backoff, resets the backoff after a stable uptime, and dies with its fiber. The gate is the authentication layer the fence …
在 GitHub 查看完整 README →