# Install gostatic with Homebrew, Nix

Fast static site generator. Version 2.36 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:gostatic
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gostatic
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gostatic
```

  Evidence: nixpkgs package indexes: pkgs/by-name/go/gostatic/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:gostatic
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/gostatic>
- **Version:** 2.36
- **Source summary:** Fast static site generator
- **Homepage:** <https://github.com/piranha/gostatic>
- **Repository:** <https://github.com/piranha/gostatic>
- **Upstream docs:** <https://github.com/piranha/gostatic#readme>
- **License:** ISC
- **Source archive:** <https://github.com/piranha/gostatic/archive/refs/tags/2.36.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- gostatic (cli)
- gostatic (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.36
- Local data: ok
- Upstream repository: https://github.com/piranha/gostatic
- Upstream latest detected: 2.36 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

gostatic is a fast static site generator written in Go. Its README emphasizes a single binary, dependency tracking, Markdown support, a Make-like configuration format, filters, pagination, an HTTP server and watcher, and automation through commands such as gostatic --dump.

### Project history

The project fits the early Go-era static-site-generator pattern: compile a standalone binary, read a site source tree, transform Markdown and templates, and write static output. The README presents its design around dependency tracking and re-rendering only changed pages, making rebuild speed a central feature.

Release notes in the GitHub feed show incremental maintenance rather than a large platform pivot: hot reload changes, template helpers, syntax highlighting, Markdown parser changes, and dependency updates.

### Adoption history

gostatic is available through Homebrew and Nix in the batch input, and the README directs users to GitHub Releases or source builds. That is a small but natural footprint for a single-purpose developer tool whose users often install it directly in build scripts or personal-site toolchains.

### How it is used

A typical user runs gostatic -i to scaffold a site, edits the generated config file, writes content under the source directory, and runs gostatic or make targets to build or watch the site. The configuration model uses constants and rules resembling Makefile syntax, which lets users wire Markdown, templates, tags, and external processors into a static build.

### Why package nerds care

gostatic is a package-nerd example of the compact static-site-generator niche: no runtime service, no database, no Node toolchain requirement, just one binary and a config file. It matters less as a mass-market SSG than as a small, auditable tool with deterministic local builds.

### Timeline

- 2021: 2.27 adds the datefilename processor; later 2021 releases add hot reload and template/highlighting updates.
- 2022: 2.33 through 2.35 add template functions and highlighting improvements.
- 2023: 2.36 release notes mention Markdown attribute parsing and major dependency updates.

### Related projects

- goldmark is the CommonMark parser named in the README.
- chroma appears in release notes and README-related documentation as syntax-highlighting support.
- The author's solovyov.net repository is linked from the README as an advanced usage example.

### Sources

- <https://formulae.brew.sh/formula/gostatic>
- <https://github.com/piranha/gostatic>
- <https://github.com/piranha/gostatic/releases.atom>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: config
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gostatic
- **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

## Other Package-Manager Records

- Nix - gostatic: normalized package name match | nixpkgs package indexes: pkgs/by-name/go/gostatic/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [hugo](https://www.automicvault.com/pkg/brew/hugo/) - Shares av.db curated category or tags: cli, developer-tools, go, markdown, static-site-generator.
- [docfx](https://www.automicvault.com/pkg/brew/docfx/) - Shares av.db curated category or tags: cli, developer-tools, markdown, static-site-generator.
- [eleventy](https://www.automicvault.com/pkg/brew/eleventy/) - Shares av.db curated category or tags: cli, developer-tools, markdown, static-site-generator.
- [jbake](https://www.automicvault.com/pkg/brew/jbake/) - Shares av.db curated category or tags: cli, developer-tools, markdown, static-site-generator.
- [marmite](https://www.automicvault.com/pkg/brew/marmite/) - Shares av.db curated category or tags: cli, developer-tools, markdown, static-site-generator.
- [pelican](https://www.automicvault.com/pkg/brew/pelican/) - Shares av.db curated category or tags: cli, developer-tools, markdown, static-site-generator.
- [zola](https://www.automicvault.com/pkg/brew/zola/) - Shares av.db curated category or tags: cli, developer-tools, markdown, static-site-generator.
- [cobalt](https://www.automicvault.com/pkg/brew/cobalt/) - Shares av.db curated category or tags: cli, developer-tools, static-site-generator.
- [publish](https://www.automicvault.com/pkg/brew/publish/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, generator, site.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
