# Install gemgen with Homebrew

Command-line tool for converting Commonmark Markdown to Gemtext. Version 0.6.0 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gemgen
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:gemgen
- **Package manager:** Homebrew
- **Version:** 0.6.0
- **Source summary:** Command-line tool for converting Commonmark Markdown to Gemtext
- **Homepage:** <https://sr.ht/~kota/gemgen/>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- gemgen (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.6.0
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- 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)


## Sources

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