Embed files into a Go executable (by rakyll)


Basic statik repo stats
5 months ago

rakyll/statik is an open source project licensed under Apache License 2.0 which is an OSI approved license.

Statik Alternatives

Similar projects and alternatives to statik

  • GitHub repo go

    The Go programming language

  • GitHub repo go.rice

    go.rice is a Go package that makes working with resources such as html,js,css,images,templates, etc very easy.

  • GitHub repo parcello

    Golang Resource Bundler [deprecated]

  • GitHub repo TinyGo

    Go compiler for small places. Microcontrollers, WebAssembly, and command-line tools. Based on LLVM.

  • GitHub repo goa

    Design-based APIs and microservices in Go

  • GitHub repo CORS

    Go net/http configurable handler to handle CORS requests (by rs)

  • GitHub repo go-bindata

    Turn data file into go code.

  • GitHub repo vfsgen

    Takes an input http.FileSystem (likely at go generate time) and generates Go code that statically implements it.

  • GitHub repo rules_go

    Go rules for Bazel

  • GitHub repo esc

    A simple file embedder for Go

  • GitHub repo go-resources

    Unfancy resources embedding for Go with out of box http.FileSystem support.

  • GitHub repo OpenPokemonRed

    WIP: An open-source re-implementation of Pokémon Red

  • GitHub repo go-bindata

    A small utility which generates Go code from any file. Useful for embedding binary data in a Go program. (by shuLhan)

  • GitHub repo pcopy

    pcopy is a temporary file host, nopaste and clipboard across machines. It can be used from the Web UI, via a CLI or without a client by using curl.

  • GitHub repo statics

    :file_folder: Embeds static resources into go files for single binary compilation + works with http.FileSystem + symlinks

  • GitHub repo httpfs

    Collection of Go packages for working with the http.FileSystem interface.

  • GitHub repo gobundle

    DEPRECATED: I recommend

  • GitHub repo go-bindata

    A small utility that generates Go code from any file. Useful for embedding binary data in a Go program. (by gnoso)

  • GitHub repo templify

    A tool to be used with 'go generate' to embed external template files into Go code.

  • GitHub repo dog

    Dog is a debug tool that serves a web page that opens a websocket back to itself for sharing real-time logs, as well as for arbitrary two-way communication. (by danbrakeley)

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better statik alternative or higher similarity.


Posts where statik has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-01-16.
  • REST Servers in Go: Part 1 – standard library | 2021-01-16
    > I've had this a few times, most recently with "how do I add this data file to my binary". At least that one made it to master now, and will be in 1.16!

    And before 1.16, there is statik:

  • Going Places: How I used Golang for literally every part of an IoT system | 2021-01-11
    Aren't our web assets part of the system as well? So to make it completely Go, we've gotta some how make them part of the Go code. The most obvious choice for that is to turn them into binaries and embed right inside our backend code. This task is relatively simple with a wide range of tools to choose from. For this project, I went with statik, and simply generate the embeddings with this command.
  • OpenPokémonRed - An Go re-implementation of Pokémon Red | 2020-12-26
    It seems it's using -- probably some assets?
  • What is the preferred way to package static files (html/css/js) along with your standalone binary in 2020? | 2020-12-25
    statik -