codeskyblue/go-sh
like python-sh, for easy call shell with golang. observed · 2026-08-28
Health v2 · maintenance only
41/100
- Activity 20
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: 4590
- days_rel: n/a
- days_push: 481
- n_releases_24m: 0
Adoption not part of the score
1129 stars · 137 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go library modeled after Python's sh and os/exec that makes calling shell commands easy, with support for pipes, sessions, environment variables, aliases, timeouts, and shell built-ins. It provides a fluent API for composing command pipelines in Go code.
Use cases
- run shell commands from go
- pipe shell commands in golang
- execute subprocess with timeout in go
- keep environment variables across shell commands in go
- replace bash scripts with go programs
- capture command output in go
When to choose
- you want a Python-sh-like ergonomic wrapper around os/exec
- you need command pipelines, sessions, aliases, or timeouts in Go
- you're porting shell scripts to Go
When to avoid
- you only need simple one-off command execution - os/exec suffices
- you need a full shell interpreter or cross-platform shell abstraction
- your project is not in Go
Facets
library · maturity active
developer-tools cli concurrency developer-tools go windows cross-platform shell-wrapper os-exec pipe session subprocess command-line automation linux macos
1 source
- readme: https://github.com/codeskyblue/go-sh · fetched 2026-08-28 · d7c648a413c1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| codeskyblue/go-sh | main | 41 |
For agents
markdown · JSON · MCP: product_card(name="codeskyblue/go-sh")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem