# gobuffalo/packr

The simple and easy way to embed static files into Go binaries.

Repository: https://github.com/gobuffalo/packr
Canonical: https://ross.abutalabs.com/products/packr
Language: Go
License: MIT
License Family: permissive
Topics: gobuffalo, build, packr
Archived: true
Last push: 2021-12-04T19:53:01+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3458, "days_push": 1733, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3386, forks 194 (observed 2026-08-28T04:07:58.747446+00:00)

## What it is
Packr is a Go library and CLI tool for embedding static files (templates, assets) directly into Go binaries. It is now in maintenance mode, with the README recommending migration to Go's native embed package or pkger.

## Use cases
- embed static files into a go binary
- bundle templates and assets in a single executable
- serve embedded html templates from a go app
- ship a self-contained go application with assets
- access static files during development and in compiled binaries

## When to choose
- maintaining an existing project that already uses packr
- working on Go 1.15 or older where native embed is unavailable
- you need a developer-friendly asset embedding workflow with a CLI helper

## When to avoid
- starting a new project on Go 1.16+ - use the standard library embed package instead
- you want actively maintained tooling with modern Go support
- you need minimal dependencies or transparent tooling

## Facets
- artifact type: library
- maturity: maintenance
- function: build-tool, file-system, developer-tools
- domain: developer-tools, web-development, backend
- platform: go, cli, cross-platform
- tags: static-assets, embedded-files, go-binaries, single-binary, deprecated

## Member repositories
- gobuffalo/packr (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:58.747446+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-29T18:39:10.316467+00:00, confidence not recorded.
  - readme: https://github.com/gobuffalo/packr (fetched 2026-08-28T04:07:58.747446+00:00, sha 2e34eb630f4d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
