DSH File Upload
GLFzr/dsh-file-upload · skills
DSH drag-and-drop file to path plug-in: Codex-style drag and drop, the path is automatically inserted into the input box (Drop File to Path for DeepSeek Harness)
★ 10GitHub stars
1Forks
2026-08-31Last updated
JavaScriptLanguage
MITLicense
Key features
- Drag any file into any position on the page (multiple files or pictures are acceptable)
- Basket width adaptationThe plug-in uses composer's real font to measure the file name width before inserting, calculates the number of NBSP spaces pad, and inserts it together with the chip (placeholder + pad NBSP).
- Chunking4194303 bytes (4MiB−1, a multiple of 3) - each full chunk of base64 has no intervening padding, and the concatenated stream can be decoded losslessly (4MiB full chunks will embed == in the middle of the stream, Node/Python decoders will truncate at the first ==, 4MB files will be corrupted
- TriggerOnly uploads that really need to be waited for will be displayed - there will be a delay of 150ms after the upload starts, and it will never appear if it is completed during the period (very small files, restart in seconds)
- Full screen prompt "Release to receive file" when dragging
Requirements
- This is the essential difference between WebUI and local CLIs such as Hermes/Codex, and is not a defect of this plug-in.
- The browser is a sandboxJavaScript in the web page cannot get the disk path of the local file (security model to prevent the web page from reading your disk).
Install command
dsh plugin --profile web add github:GLFzr/dsh-file-upload