# 使用 Homebrew, apt, Nix 安装 webdis

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

## 安装

```sh
sudo av install brew:webdis
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install webdis
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install webdis
```

  证据: Debian stable package indexes: webdis from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#webdis
```

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

## 软件包事实

- **软件包键:** brew:webdis
- **软件包管理器:** Homebrew
- **版本:** 0.1.25
- **来源摘要:** Redis HTTP interface with JSON output
- **主页:** <https://webd.is/>
- **仓库:** <https://github.com/nicolasff/webdis>
- **最后更新:** 2026-05-18T04:06:56Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- webdis (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Webdis is a small HTTP and WebSocket interface for Redis. It forwards HTTP paths to Redis commands and returns replies in formats such as JSON, making Redis reachable from environments that can speak HTTP but do not have or should not use a native Redis client.

### 项目历史

Nicolas Favre-Felix created the public Webdis repository in December 2010. A Redis mailing-list announcement the same month described it as a week-old server produced after an IRC discussion about HTTP interfaces to Redis and invited feedback from the Redis community.

The project emerged during Redis's early growth, when developers were experimenting with ways to expose Redis to web applications and scripting environments. Salvatore Sanfilippo replied on the mailing list that there was likely a need for the software in Redis web-related use cases, while also raising access-control concerns that became important for any HTTP-to-database bridge.

### 采用历史

Webdis remained a niche but durable bridge rather than becoming part of Redis itself. Its public repository had nearly 3,000 stars by July 2026 and continued to receive updates, while the package appeared in Debian, Ubuntu, Nix, and Homebrew, which is a strong signal for a small infrastructure tool.

The tool's adoption is clearest where HTTP is the integration point: browser demos, lightweight dashboards, constrained clients, Pub/Sub streaming over chunked transfer, and systems that prefer a reverse-proxy-friendly HTTP surface over direct Redis TCP access.

### 使用方式

The documented usage pattern is path-based command forwarding: a URL shaped like `/COMMAND/arg0/arg1/...` is executed against Redis, with the response serialized in the selected output format. The project also documents Pub/Sub delivery to HTTP clients using chunked transfer encoding.

In practice, Webdis is useful as a controlled adapter in front of Redis, not as a blanket public database endpoint. Its package-nerd role is to make Redis scriptable from curl, browser JavaScript, or HTTP-only environments while keeping deployment to a small C server and a JSON configuration file.

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

Webdis is a classic Unix-era adapter package: it does not try to replace Redis or a web framework; it translates one protocol shape into another. That makes it memorable to package users who like small daemons that can be composed with curl, reverse proxies, service managers, and existing databases.

### 时间线

- 2010-12: The GitHub repository was created.
- 2010-12: The author announced Webdis to the Redis mailing list as a week-old HTTP interface to Redis.
- 2011: Public discussion framed Webdis around the usefulness and risks of exposing Redis through HTTP.
- 2026: The repository remained active and package-manager metadata listed Webdis across several Unix-like ecosystems.

### Related projects

- Related projects include Redis itself, hiredis, nginx Redis modules such as ngx_redis2, REST-ish database gateways, and small HTTP adapter daemons used to expose non-HTTP services to web clients.

### 来源

- <https://api.github.com/repos/nicolasff/webdis>
- <https://github.com/nicolasff/webdis>
- <https://groups.google.com/g/redis-db/c/p7yKbMyc_m0>
- <https://news.ycombinator.com/item?id=2136267>
- <https://webd.is/>


## 安全说明

formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: webdis.json, webdis.prod.json

## Credential files

- Unix: webdis.json, webdis.prod.json
## 其他软件包管理器记录

- Debian apt - webdis - 0.1.22+ds-1: normalized package name match | Debian stable package indexes: webdis from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | simple web server providing an HTTP interface to Redis | https://webd.is
- Nix - webdis: normalized package name match | nixpkgs package indexes: pkgs/by-name/we/webdis/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - webdis - 0.1.9+dfsg-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: webdis from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | simple web server providing an HTTP interface to Redis | http://webd.is


## Combined YAML source

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


## 来源

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