📦 @goodandready/dsh-lanmode
LAN Access, mDNS (dsh.local), PWA, Root CA, Quick QR, Notifications & Auto-TLS for DeepSeek Harness
🇬🇧 English • 🇷🇺 Русский • 🇨🇳 中文说明
⚡ Overview & Features
dsh-lanmode brings seamless and secure local network (LAN) and WAN remote access to DeepSeek Harness:
- 📱 Quick QR Popover: Tap the smartphone icon in the sidebar footer (
Quick QRinsidebar.footer/sidebar.rail) to open an interactive SVG QR code. Supports the/mobileqrchat tool and ASCII QR output. - 📲 PWA & Standalone Mode: Serves
/dsh-lanmode/manifest.jsonwithviewport-fit=coverfor full-screen mobile experience. - 🌐 Automatic mDNS (
dsh.local): Built-in UDP 5353 responder announcesdsh.localacross the LAN automatically. - 🔐 Local Root CA & HTTPS: Generates a 10-year Root CA and trusted SAN certificates (
dsh.local, LAN IP, localhost). One-click download via/dsh-lanmode/ca.crt. - 🔔 Background Web Push & Notifications API: Delivers system push notifications on agent turn end and approval requests.
- 🛡️ Comprehensive Security & Authentication:
- Authentication passwords support plaintext and scrypt key derivation. Verified in constant time via
timingSafeEqual. - LAN PIN protection with plaintext or
PBKDF2stretching (pbkdf2$sha512$100000$salt$hash). Auto-lockout for 15 minutes after 5 consecutive failures. - Device and session tokens stored exclusively as salted
SHA-256digests. - Subnet role separation (
adminAllowandguestAllow). Guest subnets cannot mutate settings or revoke sessions.
- Authentication passwords support plaintext and scrypt key derivation. Verified in constant time via
- ☁️ Cloudflare WAN Tunnels & Tailscale Funnel:
- Supports zero-config
Quick Tunnels(trycloudflare.com) and persistentNamed Tunnelsvia token (passed securely viaTUNNEL_TOKENenv, hidden fromps aux). - The
tunnelPinoption enforces LAN PIN verification for all requests arriving over WAN tunnels. - 1-click
Tailscale Funnelintegration providing public HTTPS with automated trusted Let's Encrypt certificates.
- Supports zero-config
- 📱 Device Registry & Session Revocation: Track connected devices and revoke active sessions individually or all-at-once.
📦 Installation
dsh plugin --profile web add @goodandready/dsh-lanmode
⚙️ Configuration (cordis.patch.yml)
- id: dsh-lanmode
config:
mode: direct
directPort: 3080
tunnel: off # off, quick, or named
tunnelPin: true
tailscaleFunnel: false
passwordAuth: false
📄 License
MIT © GooDAnDReaDY