bitfield/script

Making it easy to write shell-like scripts in Go

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 36 minutes ago
Added to GitGenius on September 9th, 2026
Created on April 20th, 2019
Open Issues & Pull Requests: 15 (+0)
GitHub issues: Enabled
Number of forks: 369
Total Stargazers: 7,034 (-1)
Total Subscribers: 44 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.1 hours
Mean response time: 64.7 days
90th percentile: 39.6 hours
Tracked items: 40

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 2% of issues opened in the past year have been closed. Three people close 95% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 6
New in 7 days: 0
Closed in 7 days: 1
Avg open age: 877 days
Stale 30+ days: 4
Stale 90+ days: 3

Recent activity

Opened in 7 days: 0
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

Detailed Description

script is a Go library for writing shell-like scripts that operate on data pipelines.

The library addresses the friction of writing system administration programs in Go by providing an API modeled on Unix shell pipelines. Rather than manually handling file I/O, subprocess execution, and data transformation, developers compose operations sequentially on streams of data. Each stage in the pipeline can read files, execute external commands, filter through HTTP requests, apply transformations via Go functions or JQ queries, and write results to files or standard output. Errors encountered at any stage propagate through the pipeline and can be checked at the end.

The tool suits developers who want to write administrative utilities in Go with the conciseness of shell scripts. It works well for tasks like reading and filtering files, counting lines, matching patterns, executing subprocesses, and making HTTP requests. The library handles both simple operations and more complex scenarios such as custom HTTP clients, request headers, and JSON data interrogation. Anyone building system tools in Go who finds shell scripting more natural than traditional Go I/O patterns should consider it.

The maintainers respond to new issues and pull requests within hours.