# hashicorp/go-getter

Package for downloading things from a string URL using a variety of protocols.

Repository: https://github.com/hashicorp/go-getter
Canonical: https://ross.abutalabs.com/products/go-getter
Language: Go
License: MPL-2.0
License Family: copyleft
Last push: 2026-08-25T15:01:34+00:00

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

## Adoption (not part of the score)
Stars 1823, forks 271 (observed 2026-08-28T04:05:41.142163+00:00)

## What it is
A Go library for downloading files or directories from a variety of sources (HTTP, Git, Mercurial, local paths, etc.) using a single URL string as input. It includes extensible detectors that turn shorthand strings into proper URLs and is used by Terraform and Nomad.

## Use cases
- download files from a url in go
- fetch terraform modules from git
- download a directory from http or git with one string
- resolve shorthand urls like github.com/org/repo to git urls
- fetch remote binaries for my application
- download artifacts from multiple protocols without writing protocol-specific code

## When to choose
- you need to download files or directories from heterogeneous sources in a Go application
- you want automatic detection of source types from user-supplied strings
- you are building tooling similar to Terraform or Nomad that fetches modules or binaries

## When to avoid
- you only need simple HTTP downloads and a plain http client suffices
- you cannot safely handle user-supplied URLs given SSRF and path traversal risks
- you need a full package manager rather than a fetching library

## Facets
- artifact type: library
- maturity: stable
- function: http-client, file-system, developer-tools
- domain: developer-tools, files
- platform: go, cross-platform, cli
- tags: downloading, url-fetching, git-download, terraform-modules, hashicorp, automation

## Member repositories
- hashicorp/go-getter (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:41.142163+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:19:44.856465+00:00, confidence not recorded.
  - readme: https://github.com/hashicorp/go-getter (fetched 2026-08-28T04:05:41.142163+00:00, sha b3065ac176e2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
