mxcl/swift-sh
Easily script with third-party Swift dependencies. observed · 2026-08-28
Health v2 · maintenance only
61/100
- Activity 85
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2790
- days_rel: 721
- days_push: 91
- n_releases_24m: 1
Adoption not part of the score
1892 stars · 63 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
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.
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
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
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
Facets
cli-tool · maturity active
cli package-manager developer-tools developer-tools programming-languages cli swift-scripting shebang dependency-management scripting command-line automation macos linux swift
1 source
- readme: https://github.com/mxcl/swift-sh · fetched 2026-08-28 · 3b17d4fc4c84
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mxcl/swift-sh | main | 61 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem