DSH Upload File
OctKwong30/dsh-upload-file · tools
DSH plugin: Any file can be uploaded to the Web GUI dialogue (support attachment buttons, drag-and-drop and readuploadedfile tool)
★ 2GitHub stars
1Forks
2026-08-28Last updated
JavaScriptLanguage
MITLicense
Key features
- Add attachment buttons to the utility toolbar (conversion.input.left slot, SVG returner icon, same capsule style as the shell tool button) to support multiple file uploads
- First Harness pluginApply(ctx)+ object plugin form.
- The filename is cleaned to basename, removes the path partition, line break and control characters, and pre-empts head injection.
- Uploading icons to rotate progress arc.
- File to be sentUploaded files to send as capsule chip display at top (conversion.input.dock slot, roll= "group" aria-label= "to be sent"), each chip contains echo pin icon + filename + size + remove button
Requirements
- To send file lines rendering above (conversion.input.dock slot) and shell 's photo strip rendering inside input cards
- There is a slight difference in location but an interactive alignment.
Install command
dsh plugin --profile web add github:OctKwong30/dsh-upload-file