# 使用 Homebrew, Nix 安装 go-camo

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

## 安装

```sh
sudo av install brew:go-camo
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install go-camo
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#go-camo
```

  证据: nixpkgs package indexes: pkgs/by-name/go/go-camo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:go-camo
- **软件包管理器:** Homebrew
- **版本:** 2.7.5
- **来源摘要:** Secure image proxy server
- **主页:** <https://github.com/cactus/go-camo>
- **仓库:** <https://github.com/cactus/go-camo>
- **最后更新:** 2026-07-29T16:05:03+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- go-camo (别名)
- url-tool (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.7.5
## 项目历史与用法

go-camo is a secure image proxy server written in Go. It implements the camo pattern: a web application rewrites remote image URLs into signed proxy URLs, and the proxy fetches and serves those images over TLS to avoid mixed-content warnings.

### 项目历史

The project was announced to the Go community in July 2012 as a Go version of GitHub's Camo server. Its README keeps that lineage explicit by describing go-camo as a Go version of a camo server and by comparing it with the original atmos/camo project.

### 采用历史

go-camo fit an operational niche for sites that hosted HTTPS pages while allowing user-supplied image URLs. Its significance came less from broad framework adoption and more from giving operators a static Go binary, native TLS and HTTP/2 support, HMAC URL validation, and deployment guidance for process supervisors, Heroku, containers, and CDN-fronted installations.

### 使用方式

Practitioners deploy go-camo beside a web application. The application signs the original image URL with an HMAC key and emits a go-camo URL; go-camo validates the signature, decodes the target URL, fetches the remote image, and streams it back. The README also documents operational controls such as `GOCAMO_HMAC`, HTTP proxy variables, private-address rejection for SSRF-style risk reduction, allow/deny filters, and supervisor-based production operation.

### 为什么软件包爱好者会关心

For package maintainers, go-camo is the kind of small network daemon that benefits from binary distribution: a single executable plus man pages and service-manager examples. Its packaging in Homebrew and Nix makes the image-proxy pattern installable without a Node or Ruby runtime.

### 时间线

- 2012: The GitHub repository was created.
- 2012: The author announced Go-Camo on golang-nuts as a Go version of GitHub's Camo server.
- 2013: v0.1.x releases were published on GitHub.
- 2026: v2.7.x releases showed ongoing maintenance of the Go daemon line.

### Related projects

- atmos/camo
- GitHub Camo
- Stripe Smokescreen

### 来源

- <https://github.com/atmos/camo>
- <https://github.com/cactus/go-camo>
- <https://github.com/cactus/go-camo/releases>
- <https://groups.google.com/g/golang-nuts/c/U6hCvaIXtlk>


## 安全说明

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

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 其他软件包管理器记录

- Nix - go-camo: normalized package name match | nixpkgs package indexes: pkgs/by-name/go/go-camo/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/go-camo.yml](https://github.com/mxcl/pkgdb/blob/main/combined/go-camo.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
