dsh-image-preview
Run the following command in DeepSeek Harness:
dsh plugin install ReiRui/dsh-image-preview
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install ReiRui/dsh-image-preview in the DeepSeek Harness terminal to install the local image preview plugin, available at https://github.com/ReiRui/dsh-image-preview. Restart the web profile after installation to activate it.
About this plugin
In a deep-thinking chat session, an AI often produces screenshots, rendered previews, or downloaded reference images, yet the user is handed nothing but a local file path and has to open a file manager to actually see the result. dsh-image-preview closes that gap. It registers a /preview/* static route on the web profile's built-in same-origin HTTP server and exposes a preview_image(file_path) model tool. The AI calls the tool with an absolute path; the plugin safely copies the image into a preview directory and returns a same-origin URL that renders inline in the chat window with zero CORS or mixed-content friction.
On the security side, the plugin ships with zero third-party dependencies and no install-time scripts, relying solely on Node built-in modules and the ctx object. Every response path is validated via realpath against the configured root, rejecting dot-dot traversal, backslashes, and NUL injection. A strict extension whitelist is limited to png, jpg, jpeg, webp, gif, avif, and bmp; there is no directory listing and unknown paths return 404. The tool only copies the single file explicitly passed to it and never exposes paths outside the preview directory.
If your daily workflow in the DeepSeek Harness web profile involves AI-generated screenshots, UI preview comparisons, or annotated images, and you want the results to appear right in the conversation instead of scattered across the filesystem, this plugin is that last missing link. After a simple install and a web-profile restart, it is ready to use with no further configuration.
Use Cases
- Display AI-generated screenshots or render previews inline in the chat window
- Paste downloaded reference images back into the conversation for instant review
- Compare multiple AI output images without repeatedly switching to a file manager
Best For
- Developers who frequently work with AI image output in the web profile
- Deep-thinking users who need visual AI results for instant in-chat review
- Plugin users who prefer a closed-loop conversation experience over file manager friction
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.