npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

dsh-universal-attachments

v0.1.2

Published

⭐ 支持拖拽上传文件/文件夹到 DSH 窗口任意位置;支持远程上传,字节直传服务器会话工作区——部署在服务器上的 DSH 也能像本地一样拖了就发。

Downloads

469

Readme

📮 dsh-airdrop

把文件拖进 DSH,AI 就能读

⭐ 支持拖拽上传 · ⭐ 支持远程上传 · ⭐ 任意格式附件

部署在服务器上的 DSH,也能像本地一样,拖了就发

English · AI 版本 · 更新日志

listed on awesome dsh plugin DSH License

✨ 亮点

  • 🖱️ 拖进来就行——文件、整个文件夹,拖到窗口任意位置,松手即传
  • 🌐 远程也好用——DSH 装在服务器上?通过 SSH 隧道访问,传文件和本地一模一样
  • 📎 不挑格式——图片、视频、音频、PDF、压缩包、代码文件……任何文件都能传
  • 👀 先看再发——发送前在浏览器里直接预览:图片放大看,视频拖进度条,音频直接播
  • 💬 原生体验——附件卡片与聊天气泡对齐,点平常见的发送按钮即可,AI 自动读取文件内容
  • 🔒 各管各的——文件只落在当前会话的工作区,会话之间互相隔离

🖼️ 看一看

| 拖进来 | 发出去 | 随时预览 | | :---: | :---: | :---: | | | | | | 拖到窗口任意位置,卡片立刻出现 | 附件跟着消息走,AI 直接读内容 | 点开就能预览,还能下载 |

🚀 三分钟上手

dsh plugin --profile web add dsh-universal-attachments
dsh web

重启 dsh web 生效;会话需要有工作区目录。另外:仓库名叫 dsh-airdrop,安装包名保持 dsh-universal-attachments 不变——改名会破坏已有安装。

pnpm install
pnpm run build
pnpm pack
dsh plugin --profile web add .\dsh-universal-attachments-0.1.1.tgz

❓ 可能会问

大文件能传吗? 能。文件分块上传,网络断了自动续传;网关嫌块太大(返回 413)时会自动调小重试。单文件上限 20 GiB。

支持哪些格式? 全部。不按格式拒绝任何文件。"任意格式"指不拦截字节内容,不代表 AI 一定能读懂每种格式;插件也不会自己去执行或解压你的文件。

空文件夹会一起传吗? 浏览器一般不报告空目录,所以完全空的文件夹可能不会被保留。

开多个标签页会怎样? 同一会话的多个标签页共享一份待发送附件,谁先点发送,谁就带走当时已传完的文件。

想清理空间怎么办? 先停掉 DSH,然后只删除该插件对应的会话目录和它的元数据文件(.dsh/uploads/.universal-attachments/<会话标识>.json)。不要整个删掉 .dsh/uploads/,历史附件链接会失效。

🛡️ 要放到服务器上?

DSH 没有内建的多用户认证,别直接暴露到公网。让它只监听服务器本机,用 SSH 隧道访问:

# 服务器上
dsh web --port 3080

# 你的电脑上
ssh -L 3080:127.0.0.1:3080 user@你的服务器

然后在本机浏览器打开 http://127.0.0.1:3080 即可。

License

MIT