mxcl/swift-sh
Some data may be outdated — see provenance labels.
Easily script with third-party Swift dependencies. observed · 2026-09-22
Health v2 · maintenance only
57/100
- Activity 77
- 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-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2839
- days_rel: n/a
- days_push: 139
- n_releases_24m: 0
Adoption not part of the score
1891 stars · 63 forks observed · 2026-09-22
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-09-22 · 3b17d4fc4c84
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mxcl/swift-sh | main | 57 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem