{"adoption": {"forks": 63, "observed_at": "2026-08-28T04:05:50.308456+00:00", "stars": 1892}, "canonical_url": "https://ross.abutalabs.com/products/swift-sh", "card": {"archived": false, "artifact_type": "cli-tool", "description": "Easily script with third-party Swift dependencies.", "domain": ["developer-tools", "programming-languages"], "enriched": true, "function": ["cli", "package-manager", "developer-tools"], "health_score": 79, "homepage": null, "language": "Swift", "license": "Unlicense", "license_family": "permissive", "maturity": "active", "member_repos": ["mxcl/swift-sh"], "name": "mxcl/swift-sh", "platform": ["cli"], "pushed_at": "2026-06-03T18:37:10+00:00", "repo": "mxcl/swift-sh", "stars": 1892, "tags": ["swift-scripting", "shebang", "dependency-management", "scripting", "command-line", "automation", "macos", "linux", "swift"], "topics": ["swift", "scripting"], "urls": [], "use_cases": ["write quick swift scripts with third-party dependencies", "run a single swift file that imports a github package", "replace heavyweight swift package setup for small scripts", "make executable swift scripts with a shebang", "pin exact versions or commits of script dependencies", "prototype swift code without swift build"], "what_it_is": "swift-sh is a command-line tool that lets you write Swift scripts with third-party dependencies declared inline via import comments, without creating a full Swift package. It fetches and resolves dependencies automatically so single-file scripts can run directly.", "when_to_avoid": ["you need a full multi-file package with tests and resources", "you need Windows support today", "your project is a library or app rather than a script"], "when_to_choose": ["you want one-file swift scripts that use external packages", "you find swift package manager too heavy for quick automation tasks", "you need version pinning inline in scripts", "you work on macOS or Linux with Swift installed"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/swift-sh", "repo": "mxcl/swift-sh", "role": "main", "score": 61}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:50.308456+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:12:57.988361+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3b17d4fc4c84706b82c1495c948673d2c83fd968675a882bf4580f788d3b8199", "fetched_at": "2026-08-28T04:05:50.308456+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mxcl/swift-sh"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:50.308456+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:12:57.988361+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3b17d4fc4c84706b82c1495c948673d2c83fd968675a882bf4580f788d3b8199", "fetched_at": "2026-08-28T04:05:50.308456+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mxcl/swift-sh"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:12:57.988361+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3b17d4fc4c84706b82c1495c948673d2c83fd968675a882bf4580f788d3b8199", "fetched_at": "2026-08-28T04:05:50.308456+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mxcl/swift-sh"}], "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:05:50.308456+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:50.308456+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:50.308456+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:12:57.988361+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3b17d4fc4c84706b82c1495c948673d2c83fd968675a882bf4580f788d3b8199", "fetched_at": "2026-08-28T04:05:50.308456+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mxcl/swift-sh"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:50.308456+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:50.308456+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:12:57.988361+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3b17d4fc4c84706b82c1495c948673d2c83fd968675a882bf4580f788d3b8199", "fetched_at": "2026-08-28T04:05:50.308456+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mxcl/swift-sh"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:50.308456+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:50.308456+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:50.308456+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:12:57.988361+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3b17d4fc4c84706b82c1495c948673d2c83fd968675a882bf4580f788d3b8199", "fetched_at": "2026-08-28T04:05:50.308456+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mxcl/swift-sh"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:50.308456+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:50.308456+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:12:57.988361+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3b17d4fc4c84706b82c1495c948673d2c83fd968675a882bf4580f788d3b8199", "fetched_at": "2026-08-28T04:05:50.308456+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mxcl/swift-sh"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:12:57.988361+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3b17d4fc4c84706b82c1495c948673d2c83fd968675a882bf4580f788d3b8199", "fetched_at": "2026-08-28T04:05:50.308456+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mxcl/swift-sh"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:12:57.988361+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3b17d4fc4c84706b82c1495c948673d2c83fd968675a882bf4580f788d3b8199", "fetched_at": "2026-08-28T04:05:50.308456+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mxcl/swift-sh"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:12:57.988361+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3b17d4fc4c84706b82c1495c948673d2c83fd968675a882bf4580f788d3b8199", "fetched_at": "2026-08-28T04:05:50.308456+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mxcl/swift-sh"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 85, "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": 2790, "days_push": 91, "days_rel": 721, "gap_med": null, "n_releases_24m": 1}, "score": 61, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}