Automic VaultAutomic Vault

brew

使用 Homebrew, apk, MacPorts, Nix, scoop, winget 安装 dufs

查看 dufs 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install dufs

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install dufs

MacPorts ports tree · www/dufs/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add dufs

Alpine Linux edge package indexes · dufs · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#dufs

nixpkgs package indexes · pkgs/by-name/du/dufs/package.nix · 来源: api.github.com

Windows

Scoop已验证 · 92%
scoop install main/dufs

Scoop official bucket manifest trees · bucket/dufs.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id sigoden.Dufs -e

Windows Package Manager source index · sigoden.Dufs · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Static file server

命令和别名

  • dufs

历史

项目历史与用法

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.

时间线

  • 2022: v0.1.0 published and early releases shipped rapidly.
  • 2024: v0.42.0 and v0.43.0 showed the project had become a mature feature-rich utility server.
  • 2025: v0.44.0 and v0.45.0 continued active releases.
  • 2026: v0.46.0 released with the project still maintained.

Related projects

  • Python's http.server is the minimal built-in comparison for quick static serving.
  • miniserve and darkhttpd are adjacent lightweight file/static servers.
  • WebDAV servers overlap with Dufs when upload and remote filesystem access matter.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:server

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
dufscli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.46.0
管理器更新时间2026-05-07
本地数据OK
上游当前
检测到的最新版本v0.46.0

https://github.com/sigoden/dufs

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
构建依赖rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedufs
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

dufs

nix profile install nixpkgs#dufs
  • normalized package name match
  • 匹配方式:Dufs
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/du/dufs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

dufs 0.46.0-r0

A file server that supports static serving, uploading, searching, accessing control, webdav...

https://github.com/sigoden/dufs

sudo apk add dufs
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: dufs
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Dufs
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dufs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

dufs-bash-completion 0.46.0-r0

Bash completions for dufs

https://github.com/sigoden/dufs

sudo apk add dufs-bash-completion
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: dufs
  • normalized package name match
  • 匹配方式:Dufs
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dufs-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

dufs-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-doc
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: dufs
  • normalized package name match
  • 匹配方式:Dufs
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dufs-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

dufs-fish-completion 0.46.0-r0

Fish completions for dufs

https://github.com/sigoden/dufs

sudo apk add dufs-fish-completion
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: dufs
  • normalized package name match
  • 匹配方式:Dufs
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dufs-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

dufs-zsh-completion 0.46.0-r0

Zsh completions for dufs

https://github.com/sigoden/dufs

sudo apk add dufs-zsh-completion
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: dufs
  • normalized package name match
  • 匹配方式:Dufs
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dufs-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
MacPorts95%

dufs

sudo port install dufs
  • normalized package name match
  • 匹配方式:Dufs
MacPorts ports tree · api.github.com · MacPorts ports tree: www/dufs/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/dufs

scoop install main/dufs
  • normalized package name match
  • 匹配方式:Dufs
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/dufs.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

sigoden.Dufs

winget install --id sigoden.Dufs -e
  • normalized package name match
  • 匹配方式:Dufs
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: sigoden.Dufs from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment