DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

zhaochunqi /

zhaochunqi/dsh-web-panel

Verified

A multi-entry, runtime-configurable web page panel for DeepSeek Harness.

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@699da321

DSH Web panel

A DeepSeek Harness bundle that turns websites into left-sidebar panels. Each entry loads its site in an iframe that stays mounted while you switch to other panels, so coming back shows the same page instead of reloading it.

Features

  • Add, edit and remove pages from inside the panel, without editing code.
  • Per-entry Address bar switch: off by default, so an entry can be a clean page like Google; turn it on when you want to navigate or reload.
  • Pages are stored on the local machine (localStorage) and restored on the next launch.
  • The default entry is Google, with the address bar hidden.

Requirements

  • DSH 0.2.3-alpha.2 or a compatible 0.2.x release.
  • Sites reachable from the DSH host and allowed to be embedded. Sites that send X-Frame-Options: DENY / SAMEORIGIN or a restrictive CSP frame-ancestors cannot load in an iframe.

For example, https://github.com/ and plain https://www.google.com/ refuse embedding; the default Google entry uses https://www.google.com/search?igu=1, which allows framing.

Install

  1. Open Plugins in DSH.
  2. Choose Add plugin → Install third-party plugin → local directory.
  3. Select this repository's directory, then enable the bundle.

The bundle is linked from its source directory, so keep the directory in place after installation.

Configure pages

Open Page settings with the gear button at the bottom-right of the panel. It floats above the page and stays out of the page's own layout.

The Pages sheet lets you:

  • change an entry's Name and URL;
  • toggle Address bar for that entry;
  • remove an entry (at least one page is kept);
  • add a new page with a name, URL and address-bar preference.

Saving applies the change immediately; changing a page's URL reloads that entry. Changes are stored on this machine under dsh-web-panel:pages:v1; if the browser refuses storage, the sheet shows a warning and the change lasts for the current session. Settings are not committed to the repository. The DEFAULT_PAGES constant in client.js is only the first-run fallback.

Use

  • Select an entry to load its site in the main panel.
  • With Address bar enabled: Go loads the typed address, ↻ reloads, and ↗ opens the typed address in your browser.
  • With it disabled: the page fills the panel; open Page settings from the bottom-right gear.
  • Switching to another left-sidebar panel hides the iframe instead of destroying it. Switching back keeps the page, scroll position and draft.
  • An entry's iframe is created on first visit and then stays mounted for the rest of the DSH session. More entries mean more resident iframes.

State boundaries

  • Page settings persist locally; per-entry address-bar navigation lasts for the current DSH session.
  • In-page navigation inside the iframe is cross-origin and is not reflected in the address bar, so ↻ and ↗ refer to the address you typed, not the site's internal route.
  • Sign-in state, cookies and permissions belong to each site. Browser third-party storage rules may require signing in once inside the panel.

Limitations

  • Many sites refuse iframe embedding; for those, use ↗ (Open in browser). The panel may stay blank; the arrow is the fallback.
  • The header sits below the window controls on macOS, but this is not a full browser: downloads, popups and some permissions follow the embedded site's own behavior.
  • The keep-alive surface follows the main column's rectangle. Very small windows or unusual host layouts can leave a few pixels of padding.

Source layout

  • cordis.patch.yml inserts one plugin row.
  • index.js is the empty Host half.
  • client.js owns the page store, sidebar entries, main seats, keep-alive shell.overlay surfaces and the Pages sheet.
  • locale/ holds the Plugin Manager metadata in English and Chinese.
  • icon.svg is the plugin icon.

Development

No build step; the Client half is a plain lazy module.

node --check client.js
node --check index.js

License

MIT. See LICENSE.

—/ 5

No ratings yet

Verified DSH bundle

Commit 699da321ae4c

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout