zljr/dsh-share
zljr★ 0TypeScript最后同步: 2026-08-15
—
README 摘要
dsh-share Share a DeepSeek Harness session over your LAN as a read-only, token-guarded snapshot. 📖 中文文档 dsh-share is a DeepSeek Harness plugin that adds a Share button to the session header. One click freezes the current conversation into a self-contained, read-only HTML page and prints a LAN URL — e.g. http://192.168.1.20:3081/s/ — that any device on the same network can open in a browser. The main harness keeps listening on 127.0.0.1 (and so never exposes the agent's command execution). Sharing is served by a separate, read-only HTTP server that only ever returns a pre-rendered snapshot page for a valid token. Features - 🔗 One-click share — a Share button in the session header (beside the official "Session log" action). - 🔒 Read-only & isolated — the share server binds 0.0.0.0: on its own; it exposes nothing but GET /s/ . No RPC, no writes, no session reads on view. - 🧊 Frozen snapshot — the transcript and session stats are captured at share time; later edits or compactions never change an already-shared page. - 🔑 Revocable + optional expiry — 128-bit random tokens; stop sharing anytime, or pick a 1h / 24h / 7d expiry. - 📝 Markdown transcript — user & assistant messages are…
在 GitHub 查看完整 README →