{"adoption": {"forks": 765, "observed_at": "2026-08-28T04:10:31.819785+00:00", "stars": 9547}, "canonical_url": "https://ross.abutalabs.com/products/swiftgen", "card": {"archived": false, "artifact_type": "cli-tool", "description": "The Swift code generator for your assets, storyboards, Localizable.strings, … — Get rid of all String-based APIs!", "domain": ["developer-tools", "mobile-development"], "enriched": true, "function": ["developer-tools", "cli"], "health_score": 72, "homepage": null, "language": "Swift", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["SwiftGen/SwiftGen"], "name": "SwiftGen/SwiftGen", "platform": ["cli"], "pushed_at": "2026-04-16T08:20:58+00:00", "repo": "SwiftGen/SwiftGen", "stars": 9547, "tags": ["swift", "ios", "type-safety", "stencil-templates", "asset-catalogs", "localization", "storyboards", "code-generator", "code-generation", "macos"], "topics": ["ios", "swift", "code-generator", "templates", "uistoryboard", "uiimage", "uifont", "localization", "stencil", "stencil-template", "uicolor"], "urls": [], "use_cases": ["generate type-safe constants for iOS asset catalogs", "avoid typos in localized strings lookups", "generate Swift code for storyboards and XIBs", "make UIColor and UIFont usage compiler-checked", "customize code generation with Stencil templates", "integrate resource code generation into Xcode build phase"], "what_it_is": "SwiftGen is a command-line code generator that produces type-safe Swift constants for project resources like asset catalogs, storyboards, fonts, colors, and localized strings. It uses customizable Stencil templates and helps eliminate String-based APIs and runtime crashes from typos.", "when_to_avoid": ["your project is not in Swift or not Apple-platform focused", "you only need one-off code generation without template customization", "you prefer runtime dynamic resource access over generated constants"], "when_to_choose": ["you develop iOS/macOS apps in Swift and want compile-time safety for assets and strings", "your team wants auto-completion instead of String-based resource APIs", "you need customizable code generation via templates"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/swiftgen", "repo": "SwiftGen/SwiftGen", "role": "main", "score": 57}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:31.819785+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:21:57.895606+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3b1e6119ebf21f292de837bb46fce930a8545d4c44c6db347ac088919fe501d6", "fetched_at": "2026-08-28T04:10:31.819785+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SwiftGen/SwiftGen"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:31.819785+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:21:57.895606+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3b1e6119ebf21f292de837bb46fce930a8545d4c44c6db347ac088919fe501d6", "fetched_at": "2026-08-28T04:10:31.819785+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SwiftGen/SwiftGen"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:21:57.895606+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3b1e6119ebf21f292de837bb46fce930a8545d4c44c6db347ac088919fe501d6", "fetched_at": "2026-08-28T04:10:31.819785+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SwiftGen/SwiftGen"}], "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:10:31.819785+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:31.819785+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:31.819785+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:21:57.895606+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3b1e6119ebf21f292de837bb46fce930a8545d4c44c6db347ac088919fe501d6", "fetched_at": "2026-08-28T04:10:31.819785+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SwiftGen/SwiftGen"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:31.819785+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:31.819785+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:21:57.895606+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3b1e6119ebf21f292de837bb46fce930a8545d4c44c6db347ac088919fe501d6", "fetched_at": "2026-08-28T04:10:31.819785+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SwiftGen/SwiftGen"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:31.819785+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:31.819785+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:31.819785+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:21:57.895606+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3b1e6119ebf21f292de837bb46fce930a8545d4c44c6db347ac088919fe501d6", "fetched_at": "2026-08-28T04:10:31.819785+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SwiftGen/SwiftGen"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:31.819785+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:31.819785+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:21:57.895606+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3b1e6119ebf21f292de837bb46fce930a8545d4c44c6db347ac088919fe501d6", "fetched_at": "2026-08-28T04:10:31.819785+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SwiftGen/SwiftGen"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:21:57.895606+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3b1e6119ebf21f292de837bb46fce930a8545d4c44c6db347ac088919fe501d6", "fetched_at": "2026-08-28T04:10:31.819785+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SwiftGen/SwiftGen"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:21:57.895606+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3b1e6119ebf21f292de837bb46fce930a8545d4c44c6db347ac088919fe501d6", "fetched_at": "2026-08-28T04:10:31.819785+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SwiftGen/SwiftGen"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:21:57.895606+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3b1e6119ebf21f292de837bb46fce930a8545d4c44c6db347ac088919fe501d6", "fetched_at": "2026-08-28T04:10:31.819785+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SwiftGen/SwiftGen"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 77, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4067, "days_push": 139, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 57, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}