macOS
brew install dufslocal Homebrew formula metadata
安装
brew install dufslocal Homebrew formula metadata
sudo apk add dufsAlpine Linux edge package indexes · dufs · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#dufsnixpkgs package indexes · pkgs/by-name/du/dufs/package.nix · 来源: api.github.com
scoop install main/dufsScoop official bucket manifest trees · bucket/dufs.json · 来源: api.github.com
winget install --id sigoden.Dufs -eWindows Package Manager source index · sigoden.Dufs · 来源: cdn.winget.microsoft.com
概览
Static file server
历史
Dufs is a Rust utility file server that turns a directory into an HTTP/WebDAV file surface with upload, search, access control, resumable transfers, ZIP downloads, HTTPS, and curl-friendly APIs. It sits in the modern single-binary file-server niche rather than the full web-server niche.
The release stream began in May 2022 and moved rapidly from v0.1.0 through a long 0.x series. The README describes a utility file server focused on static serving, uploading, searching, access control, WebDAV, and straightforward CLI invocation.
Dufs kept accumulating practical file-sharing features without becoming a general reverse proxy or application server. Its CLI exposes direct flags for binding, ports, auth, path prefixes, TLS files, logging, SPA rendering, CORS, archive downloads, and shell completions.
Dufs is distributed through Cargo, Docker, Homebrew, GitHub release binaries, and package-manager entries such as Alpine, MacPorts, Nix, Scoop, and Winget. That spread reflects the usual adoption path for modern Rust CLIs: crate first, then binary and package-manager convenience.
A common workflow is running dufs in a directory for read-only serving, then adding -A for full upload/delete/search/create/edit operations or --auth rules for per-path permissions. The built-in HTTP API also supports curl uploads, downloads, deletes, directory creation, moves, hashes, health checks, and resumable transfer patterns.
Dufs is notable because it packages a surprising amount of ad hoc file-sharing behavior into one portable binary. For package users, it is the kind of tool that replaces a quick Python http.server, a temporary nginx config, or a small WebDAV daemon when convenience matters more than full server infrastructure.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
dufs | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/sigoden/dufs
安装元数据
| 软件包键 | brew:dufs |
|---|---|
| 版本 | 0.46.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/dufs |
| 主页 | https://github.com/sigoden/dufs |
| 仓库 | https://github.com/sigoden/dufs |
| 上游文档 | https://github.com/sigoden/dufs#readme |
| 许可证 | Apache-2.0 OR MIT |
| 源码归档 | https://github.com/sigoden/dufs/archive/refs/tags/v0.46.0.tar.gz |
| 最后更新 | 2026-05-07T06:30:42Z |
| Pulse | updated |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | dufs |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
dufs
nix profile install nixpkgs#dufsdufs 0.46.0-r0
A file server that supports static serving, uploading, searching, accessing control, webdav...
https://github.com/sigoden/dufs
sudo apk add dufsdufs-bash-completion 0.46.0-r0
Bash completions for dufs
https://github.com/sigoden/dufs
sudo apk add dufs-bash-completiondufs-doc 0.46.0-r0
A file server that supports static serving, uploading, searching, accessing control, webdav... (documentation)
https://github.com/sigoden/dufs
sudo apk add dufs-docdufs-fish-completion 0.46.0-r0
Fish completions for dufs
https://github.com/sigoden/dufs
sudo apk add dufs-fish-completiondufs-zsh-completion 0.46.0-r0
Zsh completions for dufs
https://github.com/sigoden/dufs
sudo apk add dufs-zsh-completiondufs
sudo port install dufsmain/dufs
scoop install main/dufssigoden.Dufs
winget install --id sigoden.Dufs -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.