Hacker GitHub

← All repos

swift-things/swift-sh

View on GitHub ↗ ★ 8 Swift

Easily script with third-party Swift dependencies.

6 mentions on Hacker News by 1 person: 0 stories, 6 comments · first 2025-03-30 · latest 2026-01-28

Mentions per year 6 mentions · busiest year 2025 (4)
20082026
  1. …(re-)wrote swift-sh[0] to make it possible to import external modules in a script (à la uv). [0] https://github.com/xcode-actions/swift-sh
    comment by frizlab · 2026-01-28 · in Make.ts
  2. …it. (And installing swift-sh itself is as easy as `brew install xcode-actions/tap/swift-sh`.) [1] https://github.com/xcode-actions/swift-sh
  3. …but for Swift. (Also Swift specifically supports an actual shebang for Swift scripts.) [1] https://github.com/xcode-actions/swift-sh
    comment by frizlab · 2025-12-30 · in Go away Python
  4. …(first run of the script) can be a bit long. A problem which uv (Python) probably won’t have… [1] https://github.com/xcode-actions/swift-sh
    comment by frizlab · 2025-07-22 · in Uv: Running a script with dependencies
  5. …ever. I even wrote a tool to be able to run Swift scripts that have non-system dependencies![1] [1] https://github.com/xcode-actions/swift-sh PS: Yes, it’s a fork, but at the point I’m at there is nothing left from the original…
    comment by frizlab · 2025-04-25 · in Swift Container Plugin
  6. …rewritten what Homebrew’s creator did some time ago, but does not maintain anymore, to be precise.) https://github.com/xcode-actions/swift-sh
    comment by frizlab · 2025-03-30 · in Self-contained Python scripts with uv