go-statik
« Back to VersTracker
Description:
Embed files into a Go executable
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: golang web-development dev-tools asset-management packaging
Install: brew install go-statik
About:
GoStatik is a command-line tool that bundles static files such as HTML, CSS, JavaScript, and images into a single Go source file. This generated file implements a virtual filesystem that allows your application to serve these assets without depending on the underlying file system. It simplifies deployment by ensuring all necessary assets are compiled directly into the binary.
Key Features:
  • Embeds static assets directly into Go binaries
  • Implements an in-memory virtual filesystem (http.FileSystem)
  • Zero-dependency deployment of web assets
  • Integrates with the standard Go build process
Use Cases:
  • Deploying Go web applications with embedded frontend assets
  • Creating self-contained command-line tools with web-based UIs
  • Distributing single-file binaries without external asset directories
Alternatives:
  • packr – Packr is a similar tool but often requires a separate CLI step, whereas statik focuses on generating a single source file.
  • go:embed – Go 1.16+ native directive that achieves similar goals without third-party tools, making statik less necessary for modern projects.
Version History
Detected Version Rev Change Commit
Oct 9, 2025 5:06pm 0 VERSION_BUMP 27da56ca
Sep 11, 2025 12:34pm 0 VERSION_BUMP 0f2a1772
Sep 13, 2024 11:52am 0 VERSION_BUMP ffd4234b