tsonglew/dsh-media-preview
tsonglew★ 3JavaScript最后同步: 2026-08-14
Audio/video preview viewer for dsh-better-sidebar: native playback with Range-seeking streaming route
README 摘要
dsh-media-preview Audio and video preview for the DeepSeek Harness (dsh) web GUI, registered as a FileViewer inside dsh-better-sidebar. Open an .mp4 / .webm / .mkv / .mov /… or .mp3 / .flac / .wav /… file in the sidebar file tree and it plays inline with native controls. Video Audio - - Why a dedicated route better-sidebar's built-in /sidebar/file media route reads whole files into memory, has no HTTP Range support , and caps at an image-oriented size limit. This package serves media through its own streaming route ( /media-preview/file ) with: - HTTP Range (206) seeking — the browser can jump anywhere in a long video - Streamed responses ( fs.createReadStream ) — no whole-file buffering - Whole-filesystem scope behind the same browser trust fence the built-in /api documents (loopback Host + same-origin markers), matching the official directory-picker browse backend — the sidebar explorer browses outside the session cwd (e.g. a music folder in /Documents ), and media files must play wherever the explorer can open them Supported extensions Video: mp4 webm mov m4v mkv avi ogv ts 3gp flv Audio: mp3 wav ogg oga m4a aac flac opus weba wma Extension-less media is still claimed via magic-…
在 GitHub 查看完整 README →分类
Plugin and skin collection for DeepSeek Harness (DSH) Web UI - task board, git graph, right-side panel, remote mobile UI, pet, live token stats, and skin center.
★ 2,452
omdsh-dev/DSH-better-sidebar一个侧边栏的完整工作台,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/Git/子代理
★ 1,027
Small-tailqwq/dsh-deep-whaleDSH Web 鲸鱼娘皮肤系列(深海女仆工坊 maid-atelier)——CC BY-NC-SA 4.0
★ 822