stuffbin
« Back to VersTracker
Description:
Compress and embed static files and assets into Go binaries
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: go embedding compression cli development
Install: brew install stuffbin
About:
Stuffbin is a Go library and CLI tool that compresses static assets like HTML, CSS, and JS files and embeds them directly into a Go binary. This creates a single, self-contained executable that requires no external files or dependencies at runtime. It provides a virtual filesystem interface to access these embedded files seamlessly.
Key Features:
  • Embeds static files directly into Go binaries
  • Supports multiple compression algorithms (e.g., gzip, zstd)
  • Provides a virtual filesystem interface for accessing embedded files
  • CLI tool for easy integration into build pipelines
  • Zero-dependency deployment
Use Cases:
  • Distributing CLI tools with web-based user interfaces
  • Packaging web applications as single-file executables
  • Embedding configuration or migration files into applications
Alternatives:
  • packr – Packr is a similar tool, but stuffbin focuses on compression and provides a more lightweight, standard library-like interface.
  • go:embed – Go's native embed directive is simpler but lacks built-in compression and advanced filesystem features that stuffbin provides.
Version History
Detected Version Rev Change Commit
Sep 13, 2024 1:06am 0 VERSION_BUMP 95c1b7e3