# go-bindata/go-bindata

Turn data file into go code.

Repository: https://github.com/go-bindata/go-bindata
Canonical: https://ross.abutalabs.com/products/go-bindata
Language: Go
License: NOASSERTION
License Family: other
Topics: go-bindata, golang, bindata
Last push: 2024-07-13T06:20:02+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3104, "days_push": 781, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1910, forks 153 (observed 2026-08-28T04:05:53.071909+00:00)

## What it is
go-bindata converts any data file into Go source code so binary assets can be embedded directly into a Go program. It ships as a command line tool that generates a bindata.go file with an Asset function for accessing embedded data, with optional gzip compression and debug-mode file loading.

## Use cases
- embed static assets like html, css and js into a go binary
- generate go source code from data files
- bundle templates and config files into a single executable
- serve embedded static files from a go webserver
- compress binary data into byte slices at build time

## When to choose
- you need a single self-contained go binary with no external asset files
- you want debug mode that loads assets from disk during development
- you are on an older go toolchain without go:embed support

## When to avoid
- you are on go 1.16 or newer, where the standard go:embed directive is preferred
- you need frequent asset updates without recompiling in production
- you want actively developed tooling with modern features

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: build-tool, developer-tools, compression
- domain: developer-tools, web-development
- platform: go, cli, cross-platform
- tags: asset-embedding, code-generation, static-assets, embed-files, command-line

## Member repositories
- go-bindata/go-bindata (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:53.071909+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:11:04.024859+00:00, confidence not recorded.
  - readme: https://github.com/go-bindata/go-bindata (fetched 2026-08-28T04:05:53.071909+00:00, sha 3446fe74366d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
