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 πŸ’…βœ¨