dsh-right-click-menu

Adds a right-click menu to the DSH web UI for files and for links: a file-tree row, a file path or file mention in a chat message, or a hyperlink opens a menu that previews a file in DSH, opens it in the default application or a chosen associated one, reveals it in the file manager, copies the path, the workspace-relative path, the file name, the link address, the link text or the file contents, saves a copy elsewhere, and opens an HTTP(S) link in the sidebar browser or in the system browser, while a right-click that is not on a file or a link keeps the browser's own menu.

Overview

Adds a right-click menu to the DSH web UI for files and for links: a file-tree row, a file path or file mention in a chat message, or a hyperlink opens a menu that previews a file in DSH, opens it in the default application or a chosen associated one, reveals it in the file manager, copies the path, the workspace-relative path, the file name, the link address, the link text or the file contents, saves a copy elsewhere, and opens an HTTP(S) link in the sidebar browser or in the system browser, while a right-click that is not on a file or a link keeps the browser's own menu.

Installation

Install from GitHub

dsh plugin --profile web add github:AL1ghtm3ter/dsh-right-click-menu

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands