# 使用 Homebrew, Nix 安装 getxbook

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

## 安装

```sh
sudo av install brew:getxbook
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install getxbook
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#getxbook
```

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

## 软件包事实

- **软件包键:** brew:getxbook
- **软件包管理器:** Homebrew
- **版本:** 1.2
- **来源摘要:** Tools to download ebooks from various sources
- **主页:** <https://njw.name/getxbook/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- getabook (别名)
- getbnbook (别名)
- getgbook (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

getxbook is a small C toolkit for downloading page images from Google Books previews, Amazon Look Inside, and Barnes & Noble Book Viewer. Its place in package history is tied to offline reading, book privacy, and scriptable capture of preview-page services rather than to a large application ecosystem.

### 项目历史

Nick White published getxbook as a collection of one-purpose tools: getgbook for Google Books, getabook for Amazon, getbnbook for Barnes & Noble, and an optional Tcl/Tk graphical frontend. The official page frames the project around reading privacy and offline control of page scans, while the download list records public source and binary releases in 2013 and 2015.

### 采用历史

Adoption remained niche but visible in Unix package-manager culture. Homebrew carried the macOS formula, and the input package facts also list Nix packaging, which fits the tool's small, source-buildable shape.

### 使用方式

Practitioners use getxbook by choosing the site-specific command for a book source, letting the tool save page images into a local directory, and resuming partial downloads when a run is stopped. The surrounding scripts support conversion workflows such as searchable PDF, DjVu, and OCR-derived text.

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

getxbook is notable as a compact, portable C package with few dependencies beyond libc, sockets, and OpenSSL. For package maintainers, that makes it a classic small utility: easy to build, easy to audit, and heavily shaped by the fragility of the remote services it automates.

### 时间线

- 2013: Version 1.1 binaries were published for Linux and Windows.
- 2015: Version 1.2 source was published.
- Homebrew era: A macOS formula made the command-line tools installable with brew.

### Related projects

- The official comparison page discusses PySheng, Google Book Downloader, and a Google Book Downloader userscript as nearby tools with narrower service coverage or heavier dependencies.

### 来源

- <https://formulae.brew.sh/formula/getxbook>
- <https://github.com/phracker/getxbook/blob/master/getxbook.1>
- <https://njw.name/getxbook/>
- <https://njw.name/getxbook/comparison>


## 安全说明

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

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

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

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