dsh-web-preview-float
Run the following command in DeepSeek Harness:
dsh plugin install WJNCT55555/dsh-web-preview-float
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install WJNCT55555/dsh-web-preview-float in your terminal to install this plugin, available at https://github.com/WJNCT55555/dsh-web-preview-float; after installation, restart dsh web to see the two floating preview panels.
About this plugin
When you are pairing with a model inside the DSH Web UI, the most disruptive step is always switching to a browser tab to see the rendered result. During those tens of seconds you wait for a response, you probably want to check whether the layout holds or the colour change looks right. dsh-web-preview-float exists to eliminate that context switch. It drops a live preview and a code reader right into your work surface, giving you a Google AI Studio-like edit-and-see-it-happen loop without ever leaving the chat.
Once installed, two independent floating panels appear in your browser. The preview panel talks straight to the project dev server and auto-detects the port from package.json scripts (Vite 5173, Next/CRA 3000, Astro 4321), with a manual URL override when needed. It ships with common aspect-ratio presets (16:9, 4:3, 3:2, 21:9, phone portrait) and one-click resolution shortcuts (1920x1080, 1366x768, 390x844). The code panel mirrors a VS Code-style layout: file tree sidebar, tabbed editor with line numbers, and a status bar. Click Edit to switch to write mode, press Ctrl+S to save (logged as a web-preview/code-edit session event in DSH), or cancel to keep the draft. Both panels are freely draggable, resizable, can be locked to aspect ratio, and minimised to a capsule you can still drag.
This fits well if you build front-end or full-stack projects inside the DSH Web UI and want to verify rendering the instant the AI emits a diff. It also suits anyone tired of the type, switch browser, refresh, switch back cycle. The plugin relies solely on official DSH extension points (ctx.webServer, ctx.fs, ctx.sandboxPolicy) plus a self-contained DOM portal, so it installs as a standalone add-on without touching the core.
Use Cases
- Preview live frontend rendering while waiting for model responses
- Quickly edit and save workspace files alongside the chat panel
- Lock aspect ratio and switch resolutions for responsive layout tuning
Best For
- Engineers building front-end or full-stack projects in DSH Web UI
- Developers who want to stay in flow without switching browser tabs
- Web developers using modern frameworks like Vite, Next.js, or Astro
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.