# 使用 Homebrew 安装 gemgen

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gemgen
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:gemgen
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/gemgen>
- **版本:** 0.6.0
- **来源摘要:** Command-line tool for converting Commonmark Markdown to Gemtext
- **主页:** <https://sr.ht/~kota/gemgen/>
- **仓库:** <https://git.sr.ht/~kota/gemgen>
- **上游文档:** <https://sr.ht/~kota/gemgen>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://git.sr.ht/~kota/gemgen/archive/v0.6.0.tar.gz>
- **已生成:** 2026-07-10T07:20:53+00:00

## 可执行文件

- gemgen (cli)
- gemgen (别名)

## 构建依赖

- go
- scdoc

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-07-10
- 管理器版本: 0.6.0
- 本地数据: OK
- 上游仓库: https://sr.ht/~kota/gemgen/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

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

## 源数据库详情

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


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [scdoc](https://www.automicvault.com/zh-hans/pkg/brew/scdoc/) - Build dependency declared by Homebrew.
- [cmark](https://www.automicvault.com/zh-hans/pkg/brew/cmark/) - Shares av.db curated category or tags: cli, commonmark, developer-tools, markdown.
- [cmark-gfm](https://www.automicvault.com/zh-hans/pkg/brew/cmark-gfm/) - Shares av.db curated category or tags: cli, commonmark, developer-tools, markdown.
- [comrak](https://www.automicvault.com/zh-hans/pkg/brew/comrak/) - Shares av.db curated category or tags: cli, commonmark, developer-tools, markdown.
- [go-md2man](https://www.automicvault.com/zh-hans/pkg/brew/go-md2man/) - Shares av.db curated category or tags: cli, converter, developer-tools, markdown.
- [html2markdown](https://www.automicvault.com/zh-hans/pkg/brew/html2markdown/) - Shares av.db curated category or tags: cli, converter, developer-tools, markdown.
- [markdownlint-cli](https://www.automicvault.com/zh-hans/pkg/brew/markdownlint-cli/) - Shares av.db curated category or tags: cli, commonmark, developer-tools, markdown.
- [markdownlint-cli2](https://www.automicvault.com/zh-hans/pkg/brew/markdownlint-cli2/) - Shares av.db curated category or tags: cli, commonmark, developer-tools, markdown.
- [md4c](https://www.automicvault.com/zh-hans/pkg/brew/md4c/) - Shares av.db curated category or tags: cli, commonmark, developer-tools, markdown.

## Combined YAML source

View the package source record on GitHub. [combined/gemgen.yml](https://github.com/automic-vault/db/blob/main/combined/gemgen.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
