# 使用 Homebrew 安装 literate-git

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

## 安装

```sh
sudo av install brew:literate-git
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install literate-git
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:literate-git
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/literate-git>
- **版本:** 0.5.5
- **来源摘要:** Render hierarchical git repositories into HTML
- **主页:** <https://github.com/bennorth/literate-git>
- **仓库:** <https://github.com/bennorth/literate-git>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://files.pythonhosted.org/packages/67/36/c0d78cde182822b1df78b3f4b1db3a5d21bc80663557d0373d7e61a75747/literategit-0.5.5.tar.gz>
- **最后更新:** 2026-07-12T12:39:17Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- git-dump-all-trees (cli)
- git-literate-render (cli)
- git-dump-all-trees (别名)
- git-literate-render (别名)

## 依赖

- pygit2
- python@3.14

## 构建依赖

- pkgconf

## macOS 提供的库

- libffi

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.5.5
- 管理器更新时间: 2026-07-12
- 本地数据: OK
- 上游仓库: https://github.com/bennorth/literate-git
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

literate-git is Ben North's proof-of-concept tool for rendering hierarchical Git histories into HTML. It treats a repository's commit graph as material for a literate-programming-style narrative, where merge commits can become expandable sections.

### 项目历史

The project pairs with `git-dendrify`, another Ben North tool that converts between linear and hierarchical Git histories. literate-git renders that hierarchy as a document containing parsed commit messages and source diffs, with top-level commits presented as sections and sub-commits available for expansion.

The README frames the work as an experiment in presenting software development the way articles or papers are structured: sections, subsections, and navigable explanation instead of one flat stream of commits.

### 采用历史

Adoption appears small and experimental. The project is distributed as the `literategit` Python package and as a Homebrew formula, and its README points to a Tamagotchi-style web-app demo rendered from a structured Git history.

### 使用方式

The package installs `git literate-render` and `git dump-all-trees`. A typical workflow creates or dendrifies a structured branch, renders commit messages and diffs to an `index.html` file, and optionally exports source trees for result links.

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

literate-git is package-nerd notable because it packages an unusual Git-history presentation idea rather than a mainstream VCS command. It turns commit topology into publishable documentation, which makes it adjacent to literate programming, tutorial authoring, and repository visualization.

### 时间线

- 2020-02-15: PyPI recorded 0.3.1 and 0.3.1rc1 releases of `literategit`.
- 2021-03-14: The README's demo branch and linked demo identify a Tamagotchi-style web-app render dated 2021-03-14.
- 2024-04-08: PyPI recorded version 0.4.6.
- 2026-04-03: PyPI recorded versions 0.5.2 and 0.5.3.

### Related projects

- Related projects include Git, git-dendrify, literate-programming systems, static HTML documentation tools, and repository-visualization experiments.

### 来源

- <https://github.com/bennorth/git-dendrify>
- <https://github.com/bennorth/literate-git>
- <https://pypi.org/project/literategit/>
- <https://redfrontdoor.org/blog/?p=1287>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** literate-git
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [libgit2](https://pkg.so/zh-hans/brew/libgit2/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [lazygit](https://pkg.so/zh-hans/brew/lazygit/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [doxygen](https://pkg.so/zh-hans/brew/doxygen/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation.
- [docutils](https://pkg.so/zh-hans/brew/docutils/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation.
- [docbook-xsl](https://pkg.so/zh-hans/brew/docbook-xsl/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation.
- [lefthook](https://pkg.so/zh-hans/brew/lefthook/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [asciidoc](https://pkg.so/zh-hans/brew/asciidoc/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation.
- [commitizen](https://pkg.so/zh-hans/brew/commitizen/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [all-repos](https://pkg.so/zh-hans/brew/all-repos/) - Both packages touch the same language runtime or ecosystem. Shared terms: all, cli, control, developer, developer-tools.
- [pass-git-helper](https://pkg.so/zh-hans/brew/pass-git-helper/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, control, developer, developer-tools, git.
- [pygitup](https://pkg.so/zh-hans/brew/pygitup/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, control, developer, developer-tools, git.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
