13 open-source projects similar to geertjohan/go.rice, ranked by shared indexed features. Tags may describe platforms or build tools rather than the same primary purpose. Check each project’s use case, license, and deployment requirements before treating it as a replacement.
The simple and easy way to embed static files into Go binaries.
Takes an input http.FileSystem (likely at go generate time) and generates Go code that statically implements it.
Statik is a build tool for the Go language that transforms directory structures and files into byte arrays within source code. This process enables the creation of single-binary distributions by embedding static assets directly into the compiled executable. The tool ensures deterministic builds by stripping file modification timestamps, resulting in consistent binary outputs across different environments. It also includes a build-time asset filter to limit the inclusion of specific file extensions and minimize the final executable size. To access these embedded assets, the project provides a
Turn data file into go code.
Embed static files in Go binaries (replacement for gobuffalo/packr)