{"id":20610522,"url":"https://github.com/reugn/tpack","last_synced_at":"2025-09-02T11:37:30.489Z","repository":{"id":57559828,"uuid":"192225601","full_name":"reugn/tpack","owner":"reugn","description":"Pack a Go workflow/function as a Unix-style pipeline command","archived":false,"fork":false,"pushed_at":"2024-08-31T14:17:47.000Z","size":74,"stargazers_count":55,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-20T14:44:08.348Z","etag":null,"topics":["command","command-line","pipe","pipeline","pipes","shell","stream","unix-command","workflow"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/reugn/tpack","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reugn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-06-16T18:49:49.000Z","updated_at":"2024-08-31T14:14:57.000Z","dependencies_parsed_at":"2025-08-20T14:36:52.283Z","dependency_job_id":"0bf0b449-dfda-4bc5-9f9c-a2697f5c61a2","html_url":"https://github.com/reugn/tpack","commit_stats":null,"previous_names":["reugn/packer"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/reugn/tpack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reugn%2Ftpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reugn%2Ftpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reugn%2Ftpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reugn%2Ftpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reugn","download_url":"https://codeload.github.com/reugn/tpack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reugn%2Ftpack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273278976,"owners_count":25077307,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command","command-line","pipe","pipeline","pipes","shell","stream","unix-command","workflow"],"created_at":"2024-11-16T10:17:05.177Z","updated_at":"2025-09-02T11:37:30.447Z","avatar_url":"https://github.com/reugn.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tpack\n[![Test](https://github.com/reugn/tpack/actions/workflows/test.yml/badge.svg)](https://github.com/reugn/tpack/actions/workflows/test.yml)\n[![PkgGoDev](https://pkg.go.dev/badge/github.com/reugn/tpack)](https://pkg.go.dev/github.com/reugn/tpack)\n[![Go Report Card](https://goreportcard.com/badge/github.com/reugn/tpack)](https://goreportcard.com/report/github.com/reugn/tpack)\n\nPack a Go workflow/function into a Unix-style pipeline command.\n\n![tpack](./docs/images/tpack.png)\n\n\u003e [Wiki](https://en.wikipedia.org/wiki/Pipeline_(Unix))  \n\u003e In Unix-like computer operating systems, a pipeline is a mechanism for inter-process communication using message passing. A pipeline is a set of processes chained together by their standard streams, so that the output text of each process (stdout) is passed directly as input (stdin) to the next one.\n\nUse `tpack` to write Go applications that act as pipeline commands.\nEmploy channels, goroutines, regular expressions and more to build powerful concurrent workflows.\n\n## Usage\nSee the ETL workflow in the [examples](examples) folder.\n\n```go\npackage main\n\nimport \"github.com/reugn/tpack\"\n\nfunc main() {\n\ttpack.NewPackerStd(tpack.NewProcessor(\n\t\tdoETL,\n\t)).Execute()\n}\n```\n\nTest command\n```sh\ncat input.txt | go run *.go 2\u003e/dev/null | wc -l\n```\n\n## License\nLicensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freugn%2Ftpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freugn%2Ftpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freugn%2Ftpack/lists"}