DeepSeek Harness: Tang San Beautification Theme Plugin

The Web interface of DeepSeek Harness (DSH) supports functional extensions through a plugin mechanism. For interface visual customization, the community provides the TangSan plugin. It does not alter the underlying logic; instead, it overlays styles and injects resources to use the generated Tang San imagery as the background, brand identity, and settings entry point.

What is this

TangSan is a beautification layer featuring Tang San imagery for the DSH Web GUI. Maintained by user bauerelizabeth07139 and licensed under MIT, it mounts a 16:9 Tang San illustration as the interface background, injects a square avatar as the brand identity for the sidebar and conversation titles, and provides a visual settings panel to adjust appearance parameters.

Core Features

  1. Chat Background
    The plugin’s built-in 16:9 artwork is mounted as a full-screen background layer. This layer is fixed and non-clickable. Additionally, the plugin reduces the opacity of the interface shell to allow the background image to show through, rather than being blocked by an opaque interface.

  2. Appearance Control
    Adjust the following parameters in real-time via the settings panel:

    • Opacity: Controls the transparency of the interface shell (e.g., sidebar, dialog boxes). Lower values make the background more visible.
    • Blur: Applies a Gaussian blur effect to the background image.
    • Dark Overlay: Overlays a mask matching the theme color on the background (black in dark mode, white in light mode) to improve text readability.
    • Position: Adjusts the background-position of the background image.
  3. Brand Identity Replacement
    Replaces the default logo with the plugin’s built-in square Tang San avatar via official slots sidebar.brand.mark and conversation.hero.brand.mark.

  4. Standalone Settings Page
    Adds a “TangSan Beautification” page to the DSH settings menu. This page provides parameter previews, toggles, and save functions, serving as the sole entry point for managing the plugin’s appearance.

  5. Favicon
    When the brand identity is enabled, the browser tab’s favicon follows the Tang San avatar; when disabled, it reverts to the default icon.

  6. Local Service
    The plugin serves resources via the DSH Web server (/api/tangsan/...), allowing the browser to load images and configurations without accessing external networks.

Installation and Activation

CLI Installation (Web Profile)

Run the following command in the terminal to install to the currently active Web configuration profile:

dsh plugin --profile web add bauerelizabeth07139/tangsan

Desktop App Installation

The desktop version is installed via the built-in plugin manager:

  1. Open the Plugins panel.
  2. Select Add plugin.
  3. Enter the plugin address:
    https://github.com/bauerelizabeth07139/tangsan
  1. Enable the newly appeared tangsan entry.

Note: DeepSeek Harness Desktop uses the desktop configuration profile upon startup, while the CLI command above installs to the web configuration profile by default. Therefore, installing via CLI directly within the desktop app will not take effect; you must use the in-app plugin manager.

No Git Environment

If Git is not installed on the system, installation commands in the owner/repo format will error out (git is not recognized). In this case, use the HTTPS method for installation:

dsh plugin --profile web add https://codeload.github.com/bauerelizabeth07139/tangsan/tar.gz/main

Typical Usage

After installing and enabling the plugin:

  1. Open Settings.
  2. Find the TangSan Beautification page.
  3. Adjust wallpaper opacity, blur intensity, and overlay according to preferences.
  4. Save settings; the interface will immediately apply the new styles.

To uninstall, use the CLI:

dsh plugin --profile web remove tangsan

Notes

  1. Configuration File Path
    The plugin’s configuration file is located at $DSH_HOME/tangsan.json (i.e., ~/.dsh/tangsan.json) by default. This file is also accessible via HTTP interfaces.

  2. Manifest Syntax Errors
    The plugin loader parses the configuration file at startup. If there is a trailing comma at the beginning of the manifest JSON (, {), it will cause the Harness to crash. The desktop version’s “Disable third-party plugins” feature cannot fix this issue; the file must be manually edited to remove the comma.

  3. Git Dependency
    When using dsh plugin to install, it relies on pnpm at the underlying level, which calls git ls-remote. Ensure the Git executable is in your PATH, otherwise, installation via shorthand addresses is impossible.

Conclusion

The TangSan plugin provides a complete visual theme solution for the DSH Web interface, covering backgrounds, icons, and interactive controls. It serves resources through a local server, maintaining the cleanliness and stability of the interface. For more details and source code, please refer to its GitHub repository.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye