# 使用 Homebrew 安装 gemgen

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

## 安装

```sh
sudo av install brew:gemgen
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gemgen
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:gemgen
- **软件包管理器:** Homebrew
- **版本:** 0.6.0
- **来源摘要:** Command-line tool for converting Commonmark Markdown to Gemtext
- **主页:** <https://sr.ht/~kota/gemgen/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gemgen (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

gemgen is a small command-line converter from CommonMark Markdown to Gemtext, the lightweight markup used by Gemini protocol capsules. Its history is best understood as part of the early-2020s tooling wave around maintaining text-first Gemini sites from more common Markdown source material.

### 项目历史

The SourceHut repository began in August 2021 and reached tagged releases through v0.6.0 by February 2022. The README describes a Go tool built on goldmark and a companion goldmark-gemtext renderer, with options for preserving or adapting Markdown constructs to produce readable Gemtext rather than a purely mechanical dump.

The project scope stayed deliberately narrow: it converts files concurrently or streams Markdown from standard input to Gemtext on standard output, with extra support for link rewriting, templates, wiki-style links, and formatting choices useful when publishing static Gemini content.

### 采用历史

gemgen's adoption evidence is modest and niche. The upstream README lists Arch AUR and Homebrew packaging, and Go package metadata identifies it as a command module rather than a widely imported library.

### 使用方式

Practitioners use gemgen to keep Markdown as the editable source for Gemini capsules, then generate `.gmi` output during publishing. The tool pays special attention to Gemtext conventions: links are placed after paragraphs, headings and lists are simplified, emphasis can be removed or retained, and code blocks are emitted in fenced Gemtext form.

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

For package maintainers, gemgen is a compact example of Gemini-era publishing tooling: a single-purpose CLI, small Go dependency tree, manpage-oriented installation, and enough release discipline to appear in Homebrew despite its narrow audience.

### 时间线

- 2021: Initial public commits and v0.1.0 release.
- 2021: v0.5.0 adds to the early sequence of SourceHut-hosted releases.
- 2022: v0.6.0 is tagged after several months of Markdown-to-Gemtext iteration.

### Related projects

- gemgen is related to CommonMark, goldmark, goldmark-gemtext, the Gemini protocol, and other capsule publishing tools that bridge web-era Markdown into Gemtext.

### 来源

- <https://formulae.brew.sh/formula/gemgen>
- <https://git.sr.ht/~kota/gemgen>
- <https://pkg.go.dev/git.sr.ht/~kota/gemgen>


## 安全说明

narrow executable package without higher-risk signals.

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


## Combined YAML source

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


## 来源

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