{"adoption": {"forks": 131, "observed_at": "2026-08-28T04:04:40.324617+00:00", "stars": 1419}, "canonical_url": "https://ross.abutalabs.com/products/go-homedir", "card": {"archived": true, "artifact_type": "library", "description": "Go library for detecting and expanding the user's home directory without cgo.", "domain": ["developer-tools", "cross-platform"], "enriched": true, "function": ["file-system", "developer-tools"], "health_score": 10, "homepage": "https://gist.github.com/mitchellh/90029601268e59a29e64e55bab1c5bdc", "language": "Go", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["mitchellh/go-homedir"], "name": "mitchellh/go-homedir", "platform": ["go", "cross-platform", "windows", "bsd"], "pushed_at": "2024-03-21T10:31:41+00:00", "repo": "mitchellh/go-homedir", "stars": 1419, "tags": ["home-directory", "tilde-expansion", "no-cgo", "cross-compilation", "go-library", "path-expansion", "command-line", "linux", "macos"], "topics": [], "urls": [], "use_cases": ["get the user's home directory in Go without cgo", "expand ~ in file paths to the home directory", "cross-compile Go programs that need the home directory", "replace os/user home directory lookups in Go tools", "resolve user home directory portably across Linux, macOS, and Windows"], "what_it_is": "A small Go library that detects the user's home directory and expands `~` in paths without requiring cgo. It exists because the standard `os/user` package needs cgo on Darwin, which breaks cross-compilation.", "when_to_avoid": ["you only target Linux, where os/user works without cgo", "you need more than home directory detection or ~ expansion", "you need a project with active issue triage and new feature development"], "when_to_choose": ["you need home directory detection in a Go program that must cross-compile", "you want to expand ~ paths without pulling in cgo dependencies", "you need a tiny, dependency-free utility for path expansion"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/go-homedir", "repo": "mitchellh/go-homedir", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:40.324617+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:37:53.981719+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "283773545296a7006a0287be99b48fa27c88238aca71a8adeeb3941cd2f12987", "fetched_at": "2026-08-28T04:04:40.324617+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mitchellh/go-homedir"}, {"content_hash": "45ba7fc863a7dc7e914b6bb32e9676c53bb0963df67fa41acf30192b688da18a", "fetched_at": "2026-08-29T11:50:19.338063+00:00", "kind": "homepage", "missing": false, "url": "https://gist.github.com/mitchellh/90029601268e59a29e64e55bab1c5bdc"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:40.324617+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:37:53.981719+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "283773545296a7006a0287be99b48fa27c88238aca71a8adeeb3941cd2f12987", "fetched_at": "2026-08-28T04:04:40.324617+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mitchellh/go-homedir"}, {"content_hash": "45ba7fc863a7dc7e914b6bb32e9676c53bb0963df67fa41acf30192b688da18a", "fetched_at": "2026-08-29T11:50:19.338063+00:00", "kind": "homepage", "missing": false, "url": "https://gist.github.com/mitchellh/90029601268e59a29e64e55bab1c5bdc"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:37:53.981719+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "283773545296a7006a0287be99b48fa27c88238aca71a8adeeb3941cd2f12987", "fetched_at": "2026-08-28T04:04:40.324617+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mitchellh/go-homedir"}, {"content_hash": "45ba7fc863a7dc7e914b6bb32e9676c53bb0963df67fa41acf30192b688da18a", "fetched_at": "2026-08-29T11:50:19.338063+00:00", "kind": "homepage", "missing": false, "url": "https://gist.github.com/mitchellh/90029601268e59a29e64e55bab1c5bdc"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:40.324617+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:40.324617+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:40.324617+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:37:53.981719+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "283773545296a7006a0287be99b48fa27c88238aca71a8adeeb3941cd2f12987", "fetched_at": "2026-08-28T04:04:40.324617+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mitchellh/go-homedir"}, {"content_hash": "45ba7fc863a7dc7e914b6bb32e9676c53bb0963df67fa41acf30192b688da18a", "fetched_at": "2026-08-29T11:50:19.338063+00:00", "kind": "homepage", "missing": false, "url": "https://gist.github.com/mitchellh/90029601268e59a29e64e55bab1c5bdc"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:40.324617+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:40.324617+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:37:53.981719+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "283773545296a7006a0287be99b48fa27c88238aca71a8adeeb3941cd2f12987", "fetched_at": "2026-08-28T04:04:40.324617+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mitchellh/go-homedir"}, {"content_hash": "45ba7fc863a7dc7e914b6bb32e9676c53bb0963df67fa41acf30192b688da18a", "fetched_at": "2026-08-29T11:50:19.338063+00:00", "kind": "homepage", "missing": false, "url": "https://gist.github.com/mitchellh/90029601268e59a29e64e55bab1c5bdc"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:40.324617+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:40.324617+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:40.324617+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:37:53.981719+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "283773545296a7006a0287be99b48fa27c88238aca71a8adeeb3941cd2f12987", "fetched_at": "2026-08-28T04:04:40.324617+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mitchellh/go-homedir"}, {"content_hash": "45ba7fc863a7dc7e914b6bb32e9676c53bb0963df67fa41acf30192b688da18a", "fetched_at": "2026-08-29T11:50:19.338063+00:00", "kind": "homepage", "missing": false, "url": "https://gist.github.com/mitchellh/90029601268e59a29e64e55bab1c5bdc"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:40.324617+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:40.324617+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:37:53.981719+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "283773545296a7006a0287be99b48fa27c88238aca71a8adeeb3941cd2f12987", "fetched_at": "2026-08-28T04:04:40.324617+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mitchellh/go-homedir"}, {"content_hash": "45ba7fc863a7dc7e914b6bb32e9676c53bb0963df67fa41acf30192b688da18a", "fetched_at": "2026-08-29T11:50:19.338063+00:00", "kind": "homepage", "missing": false, "url": "https://gist.github.com/mitchellh/90029601268e59a29e64e55bab1c5bdc"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:37:53.981719+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "283773545296a7006a0287be99b48fa27c88238aca71a8adeeb3941cd2f12987", "fetched_at": "2026-08-28T04:04:40.324617+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mitchellh/go-homedir"}, {"content_hash": "45ba7fc863a7dc7e914b6bb32e9676c53bb0963df67fa41acf30192b688da18a", "fetched_at": "2026-08-29T11:50:19.338063+00:00", "kind": "homepage", "missing": false, "url": "https://gist.github.com/mitchellh/90029601268e59a29e64e55bab1c5bdc"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:37:53.981719+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "283773545296a7006a0287be99b48fa27c88238aca71a8adeeb3941cd2f12987", "fetched_at": "2026-08-28T04:04:40.324617+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mitchellh/go-homedir"}, {"content_hash": "45ba7fc863a7dc7e914b6bb32e9676c53bb0963df67fa41acf30192b688da18a", "fetched_at": "2026-08-29T11:50:19.338063+00:00", "kind": "homepage", "missing": false, "url": "https://gist.github.com/mitchellh/90029601268e59a29e64e55bab1c5bdc"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:37:53.981719+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "283773545296a7006a0287be99b48fa27c88238aca71a8adeeb3941cd2f12987", "fetched_at": "2026-08-28T04:04:40.324617+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mitchellh/go-homedir"}, {"content_hash": "45ba7fc863a7dc7e914b6bb32e9676c53bb0963df67fa41acf30192b688da18a", "fetched_at": "2026-08-29T11:50:19.338063+00:00", "kind": "homepage", "missing": false, "url": "https://gist.github.com/mitchellh/90029601268e59a29e64e55bab1c5bdc"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases", "archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4397, "days_push": 895, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 10, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}