# webfs を Homebrew, apt, MacPorts, Nix でインストール

webfs のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:webfs
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install webfs
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install webfs
```

  証拠: MacPorts ports tree: www/webfs/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install webfs
```

  証拠: Debian stable package indexes: webfs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#webfs
```

  証拠: nixpkgs package indexes: pkgs/by-name/we/webfs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:webfs
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.21
- **ソース概要:** HTTP server for purely static content
- **ホームページ:** <https://linux.bytesex.org/misc/webfs.html>
- **最終更新:** 2026-07-10T20:48:47-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- webfsd (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.21
## プロジェクトの歴史と使われ方

webfs, usually run as `webfsd`, is a tiny HTTP server for mostly static content. It was built for the old but still useful job of exporting a directory tree over HTTP quickly, without configuring a full Apache, nginx, or application server.

### プロジェクトの歴史

Gerd Knorr's webfs dates to the late 1990s. Debian's man page credits copyright years 1999 and 2000, and a Freshmeat-era announcement for webfs 1.5 appeared in November 2000, describing it as a simple static HTTP server tested on Linux and FreeBSD.

The 2000 announcement already shows the shape that made the tool last: a very small binary, sendfile support with a userspace fallback, IPv6, chroot-to-docroot, basic authentication, and virtual hosts. The current homepage keeps the same theme, presenting webfs as a quick way to serve static files or expose FTP-server content via HTTP.

### 採用の歴史

webfs became a small distribution package rather than a large upstream platform. Its continued presence in Debian, Ubuntu, MacPorts, Nix, and Homebrew reflects a specific utility: administrators and developers still occasionally want a minimal static file server with Unix permissions and simple daemon behavior.

The package's longevity comes from being boring in the best sense. It does not compete with modern reverse proxies or app servers; it survives because a tiny static HTTP daemon remains handy for tests, rescue environments, old hardware, package repositories, and temporary file sharing.

### 使われ方

Typical use is to point `webfsd` at a directory and let it serve regular files and directory listings. Access control relies primarily on Unix file permissions, and the daemon can drop privileges after binding privileged ports or entering a chroot when installed and configured for that mode.

webfs is most appropriate for static content: quick exports, LAN file drops, read-only mirrors, or lightweight development fixtures. It is not a dynamic web stack, and that limitation is exactly why the package remains easy to reason about.

### パッケージ好きにとっての重要性

webfs is significant as a fossil that still works: a compact pre-container HTTP daemon with the Unix philosophy plainly visible. For package nerds, it represents the era when a useful server could be a tens-of-kilobytes binary plus a man page, and still earn a slot in modern package indexes.

### タイムライン

- 1999: Debian manpage copyright history identifies Gerd Knorr's authorship beginning in 1999.
- 2000-11: Freshmeat announced webfs 1.5 with IPv6, chroot, basic auth, virtual hosts, and sendfile fallback support.
- 2014: Debian jessie carried a webfsd man page, showing long-running distribution packaging.
- 2025: The upstream release directory listed webfs 1.21-era release artifacts.
- 2026: Homebrew and other package managers still carried webfs as a static HTTP server package.

### Related projects

- Related tools include thttpd, darkhttpd, busybox httpd, Python's `http.server`, nginx static serving, Apache httpd, and other small daemons used when static file export is the whole job.

### ソース

- <https://directory.fsf.org/wiki/Webfs>
- <https://groups.google.com/g/fm.announce/c/hgjdjEuYMxM>
- <https://linux.bytesex.org/misc/webfs.html>
- <https://manpages.debian.org/unstable/webfs/webfsd.1.en.html>
- <https://www.kraxel.org/releases/webfs/>


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## 他のパッケージマネージャ記録

- Debian apt - webfs - 1.21+ds1-16: normalized package name match | Debian stable package indexes: webfs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | lightweight HTTP server for static content | http://linux.bytesex.org/misc/webfs.html
- Nix - webfs: normalized package name match | nixpkgs package indexes: pkgs/by-name/we/webfs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - webfs - 1.21+ds1-12build3: normalized package name match | Ubuntu 24.04 LTS package indexes: webfs from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | lightweight HTTP server for static content | http://linux.bytesex.org/misc/webfs.html
- MacPorts - webfs: normalized package name match | MacPorts ports tree: www/webfs/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/webfs.yml](https://github.com/mxcl/pkgdb/blob/main/combined/webfs.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
