Automic VaultAutomic Vault

brew

Install go-statik with Homebrew, MacPorts, Nix

Embed files into a Go executable. Version 0.1.8 via Homebrew; verified from local package data. Also installable with macports: sudo port install statik.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install go-statik

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install statik

MacPorts ports tree · devel/statik/Portfile · source: api.github.com

Linux

Nixverified · 92%
nix profile install nixpkgs#statik

nixpkgs package indexes · pkgs/by-name/st/statik/package.nix · source: api.github.com

overview

Package summary

Embed files into a Go executable

Commands and aliases

  • statik

history

Project history and usage

statik is a Go command-line tool and library for embedding a directory of static files into a Go executable and serving them through an http.FileSystem.

Project history

The statik repository was created in 2014 by rakyll. Its README says the idea and implementation were taken from Camlistore and split out because the author needed the pattern across multiple projects.

Adoption history

statik became part of the pre-Go-1.16 static-asset embedding ecosystem, especially for Go services with a small web component that wanted a single binary instead of separate CSS, JavaScript, image, or HTML deployment steps.

How it is used

Practitioners run statik against a public directory, import the generated statik package for side effects, initialize the statik filesystem, and pass it to http.FileServer or open individual embedded files.

Why package nerds care

The package remains a concise example of the generated-source approach that the Go 1.16 embed feature later made part of the standard toolchain.

Timeline

  • 2014: GitHub repository created for statik.
  • 2021: Go 1.16 added standard static-file embedding through //go:embed.

Related projects

  • statik is related to Camlistore, go.rice, and the Go standard library embed package.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
statikcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-25
manager version0.1.8
manager updated
local dataok
upstreamcurrent
latest detectedv0.1.8

https://github.com/rakyll/statik

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:go-statik
Version0.1.8
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/go-statik
Homepagehttps://github.com/rakyll/statik
Repositoryhttps://github.com/rakyll/statik
Upstream docshttps://github.com/rakyll/statik#readme
LicenseApache-2.0
Source archivehttps://github.com/rakyll/statik/archive/refs/tags/v0.1.8.tar.gz
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namego-statik
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

MacPorts94%

statik

sudo port install statik
  • installed executable or alias match
  • Matched by: Statik
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/statik/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Nix92%

statik

nix profile install nixpkgs#statik
  • installed executable or alias match
  • Matched by: Statik
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/st/statik/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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