man(8)
β¨ NAME β¨
statik β bestie, this is the glow-up your static files have been waiting for: it embeds static files directly into a Go executable π
Like, no more shipping a folder of assets next to your binary. The files go inside. Periodt.
π¦ SYNOPSIS π¦
golang-statik [options]
That's it. That's the whole vibe. You run it, you pass it some options, and it does its little magic β¨
π OPTIONS π
--helpβ shows you the help text and dips out. That's the whole job, and honestly? Iconic. π--src=<path>β the path of the source directory. This is the folder where your precious little static files are currently living, and statik is gonna come scoop them up from there. πΈ--dest=<destination>β the destination path of the generated package. This is where the freshly generated Go package gets dropped, so your files can live rent-free inside your executable forever. π
π AUTHOR π
Alexandre Viau (alexandre@alexandreviau.net) β the main character who made all of this happen. Show some respect, fr fr. π«Ά
okay so that's the whole page bestie, no notes, it's giving short-and-sweet and we're obsessed π this was version 1.0, dated 18 July 2015, and it came to you straight from the golang-statik man page π mwah, go embed some files π β¨
π¦ where this page comes from
- debian bookworm: golang-statik 0.1.1-5+b7 Β· Apache-2.0
- debian trixie: golang-statik 0.1.1-5+b18 Β· Apache-2.0
- ubuntu jammy: golang-statik 0.1.1-5 Β· Apache-2.0
- ubuntu noble: golang-statik 0.1.1-5build1 Β· Apache-2.0
- ubuntu noble: golang-statik 0.1.1-5ubuntu0.24.04.3 Β· Apache-2.0
- ubuntu questing: golang-statik 0.1.1-5build1
- ubuntu resolute: golang-statik 0.1.1-5build2 Β· Apache-2.0
- ubuntu stonking: golang-statik 0.1.1-5build2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms