dsh-brand-text: Reskinning the DSH Web and Adding "Why & What" Watermarks to the Project

**# Preface

When working on projects in DSH (DeepSeek Harness), the sidebar still shows the default branding and the center of an empty chat page displays the official copy. What is more troublesome is that after opening the same working directory several days later, you often cannot remember why you added that batch of files or which task you were advancing at the time. While the community already has several plugins that only change the logo or title, few combine “page watermarking” and “folder on-disk annotations” into a single set of configurations.

The following introduces dsh-brand-text released by the maintainer Shushushu-whn (npm package name dsh-brand-text, current version 0.4.0, MIT license). It is aimed at the DSH Web client and addresses branding and watermarks with two layers: basic skin swapping, and a reversible folder-stamping ledger. The community directory categorizes it as “fun dressing-up”; configuration and data are concentrated in a single brand.json.

What Is This

dsh-brand-text is a plugin for DSH’s Web client: one layer modifies the brand elements of the DSH Web UI (sidebar logo, name, the central title on an empty chat page, browser tab title, favicon, and PWA manifest); the other layer lays a semi-transparent watermark over the page and writes “why it was added” and “what is currently being done” into your specified project directories (with apply/undo ledger support). Both layers can be edited in the settings panel at /brand-studio/, or you can double-click on the page for in-place editing.

Unlike the community plugin dsh-custom-brand, and since the two contend for the sidebar brand slot, do not enable them simultaneously. The README also states that this plugin has already covered the responsibilities of the original dsh-client-ui-brand, so installing that one in addition is generally unnecessary.

Core Features

① Basics

Item Where shown Config key
Sidebar name Upper-left of the sidebar; also used as the browser tab title and PWA name productName
Center hero title A single line in the middle of the page when starting a new empty chat heroText (if left empty, uses the official default “探索未至之境” / “Into the Unknown”)
Sidebar logo Sidebar brand slot / favicon / PWA icon logoPath

After saving, refresh the page (F5) to apply the changes; no DSH process restart is needed.

② Watermark

The watermark addresses two kinds of visibility needs:

  1. Page overlay (Form A): An overlay displayed on the DSH page as diagonal text with adjustable opacity, angle, and font size, tiled or as a single instance; it is pointer-events: none and does not block clicks. Available in any browser.
  2. File/folder stamping (Form B): Within the target directory, it writes _DSH水印说明.md, sets an Explorer hover hint (InfoTip), and replaces the folder icon with a brand mark; the explanation resides in the directory itself and persists after leaving DSH. Windows only (relies on desktop.ini and attrib). Stamping sets system attributes on the folder; Explorer may need F5 to refresh the icon.

In brand.json, the watermark section configures text, task, note (corresponding to semantics such as “why it was added” and “what is being done”), opacity, angle, scale, repeat, color, onPage, and the ledger array watermark.targets. Each path can be applied or undone in the panel; undo removes the explanation, restores the original desktop.ini, and clears folder attributes.

Two Editing Modes

Method Entry Suitable for
Settings panel http://127.0.0.1:<dsh-port>/brand-studio/ Basics, watermark preview and tuning, folder ledger
Double-click in-place editing Double-click the brand area in the upper-left (logo or text) to open a quick dialog; double-click the center hero text to change the copy Small, quick edits; the page reloads after saving

To enable double-clicking, the plugin intercepts click/press events on the brand area: a single click no longer starts a new conversation; double-click opens the editor; right-click opens the full panel. This is an interaction trade-off explicitly stated in the README.

Installation and Activation

Recommended order: npm (prebuilt) → GitHub → local directory as a fallback. After installation, you need to restart the corresponding DSH instance. The plugin runs with the permissions of the current DSH process; review the source code and the MIT license before installing.

dsh plugin --profile web add dsh-brand-text

Update:

dsh plugin --profile web update dsh-brand-text

From GitHub

dsh plugin --profile web add github:Shushushu-whn/dsh-brand-text

Local directory (offline or when installation fails)

Run the following in the plugin repository directory (replace <path-to-profile> with your profile path):

cd /path/to/dsh-brand-text
node install.mjs --profile "<path-to-profile>"

install.mjs can be run repeatedly; after a local link: installation, changes in lib/ do not require reinstallation.

Plugin configuration options

In the profile’s cordis.patch.yml, you can specify the path to brand.json, making it easy to share different brands across profiles:

- id: dsh-brand-text
  config:
    configPath: ''      # Empty: use the brand.json alongside the plugin

Example (multi-brand):

- id: dsh-brand-text
  config:
    configPath: 'D:\brands\team-a.json'

For an example of brand.json fields, see brand.example.json in the repository; for legacy files without the watermark key, watermarking is disabled by default.

Typical Workflow

  1. Install the plugin into the web profile using the commands above, then restart DSH.
  2. Open http://127.0.0.1:<dsh-port>/brand-studio/ in a browser, fill in productName and heroText, upload or specify logoPath, and press F5 to see changes in the sidebar and browser tab.
  3. In the watermark section, enable the overlay, fill in text, task, and note, and adjust parameters like opacity; if needed, apply a stamp to a project path in the ledger.
  4. If you only need to change the name or the central one-liner, double-click the brand area or the center hero text in the main interface, and follow the dialog order: save basics first, then watermark.

Before uninstalling, it is recommended to undo folder stamps in the panel; then remove dsh-brand-text from dsh.profile.bundles and dependencies and run pnpm install.

Use Cases and Notes

Who Is It For

Developers who need to brand the DSH Web client for personal or team use; people who want to leave an explanation of why a directory exists and what was being done at the time in the directories related to the current task while using DSH (especially on a local Windows project tree).

Compatibility

Developed and verified against @deepseek-ai/dsh 0.2.x; package.json requires Node >=20. HTTP routes (such as /brand-studio/ and related APIs) are similar to official plugin routes: they skip DSH token checks and listen only on loopback; if you expose DSH to a LAN, add access control yourself.

Ecosystem Notes

DSH follows the principle that “everything is a plugin”; the SkillHub plugin directory is a community site and is not officially affiliated with DeepSeek or High-Flyer.

Conclusion

dsh-brand-text brings web skin swapping and “page watermark + folder-stamp ledger” into a single brand.json and a /brand-studio/ panel, suitable for scenarios where you manage multiple projects with DSH over the long term and prefer not to rely on memory to trace the origins of directories.

**

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

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

Xiaoye