# stuffbin を Homebrew, Nix でインストール

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

## インストール

```sh
sudo av install brew:stuffbin
```

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

### macOS

- Homebrew (100%):

```sh
brew install stuffbin
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#stuffbin
```

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

## パッケージ情報

- **パッケージキー:** brew:stuffbin
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.3.0
- **ソース概要:** Compress and embed static files and assets into Go binaries
- **ホームページ:** <https://github.com/knadh/stuffbin>
- **リポジトリ:** <https://github.com/knadh/stuffbin>
- **最終更新:** 2026-07-26T04:03:47+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- stuffbin (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

stuffbin is a small Go utility and package for compressing static assets and appending them to Go binaries, then exposing them through a virtual filesystem at runtime.

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

The official README describes stuffbin as both a command-line utility and Go package for embedding static files into binaries. It says the project was inspired by zgok, with a simpler design and different abstractions.

The README was updated in June 2026 to say the project appears feature complete, with no changes required in roughly three years, while still being used in critical production systems.

### 採用の歴史

The input package facts list stuffbin in Homebrew and Nix, which is consistent with a niche developer tool whose audience is Go application packagers rather than general end users.

Go 1.16 introduced native //go:embed support, and the README positions stuffbin against that built-in feature by emphasizing ZIP compression, dynamic embedding, path aliases, and embedding files outside the package directory.

### 使われ方

A typical stuffbin workflow builds a Go binary, runs stuffbin to append compressed assets, and then has the application read those assets back from itself through stuffbin's filesystem abstraction.

It is most relevant for distributing single-binary Go services with web assets, templates, or other static files while retaining a local-filesystem fallback during development.

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

stuffbin matters to package nerds because it sits at the boundary between application packaging and language tooling: it changes what a Go binary can carry without requiring an external asset directory.

Its continued niche after //go:embed is the interesting bit: package maintainers care about compression, dynamic post-build stuffing, and layouts that Go's native embedding deliberately restricts.

### タイムライン

- 2021: Go 1.16 introduced //go:embed, later documented by stuffbin as the native feature it compares against.
- 2026: The official README described stuffbin as feature complete and still used in critical production systems.

### Related projects

- Go's //go:embed is the native alternative discussed by the README.
- zgok is named by the README as an inspiration for stuffbin.

### ソース

- <https://github.com/knadh/stuffbin#readme>
- input.source_facts.package-manager


## セキュリティノート

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

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

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

- Nix - stuffbin: normalized package name match | nixpkgs package indexes: pkgs/by-name/st/stuffbin/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/stuffbin.yml](https://github.com/mxcl/pkgdb/blob/main/combined/stuffbin.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
