{"id":37106027,"url":"https://github.com/donutloop/command-pipeline","last_synced_at":"2026-01-14T12:46:44.574Z","repository":{"id":57602370,"uuid":"70983573","full_name":"donutloop/command-pipeline","owner":"donutloop","description":null,"archived":true,"fork":false,"pushed_at":"2016-11-12T19:47:58.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T15:57:36.825Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/donutloop.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}},"created_at":"2016-10-15T11:21:20.000Z","updated_at":"2023-01-28T19:37:10.000Z","dependencies_parsed_at":"2022-09-26T20:01:01.112Z","dependency_job_id":null,"html_url":"https://github.com/donutloop/command-pipeline","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/donutloop/command-pipeline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donutloop%2Fcommand-pipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donutloop%2Fcommand-pipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donutloop%2Fcommand-pipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donutloop%2Fcommand-pipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/donutloop","download_url":"https://codeload.github.com/donutloop/command-pipeline/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donutloop%2Fcommand-pipeline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28420814,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-14T12:46:43.918Z","updated_at":"2026-01-14T12:46:44.556Z","avatar_url":"https://github.com/donutloop.png","language":"Go","readme":"[![Build Status](https://travis-ci.org/donutloop/command-pipeline.svg?branch=master)](https://travis-ci.org/donutloop/command-pipeline)\n\n# Command pipeline\n\nCommandPipeline is a lightweight high performance pipeline (using \"concurrency\" to execute the commands) for Go.\n\n## Usage\n\nThis is just a quick introduction\n\nLet's start with a trivial Hello World example:\n\n```go\n    package main\n\n    import (\n        \"github.com/donutloop/command-pipeline\"\n        \"bytes\"\n    )\n\n    func main() {\n\n\t    buildCommand := func(letter string) func(input *bytes.Buffer) (*bytes.Buffer, error) {\n        \t\treturn func(input *bytes.Buffer) (*bytes.Buffer, error) {\n        \n        \t\t\tinput.WriteString(letter)\n        \n        \t\t\treturn input, nil\n        \t\t}\n        \t}\n        \n        \tfirstInput := bytes.NewBufferString(\"H\")\n        \n        \tpipeline := command_pipeline.New(\n        \t\tfirstInput,\n        \t\tbuildCommand(\"E\"),\n        \t\tbuildCommand(\"L\"),\n        \t\tbuildCommand(\"L\"),\n        \t\tbuildCommand(\"O\"),\n        \t\tbuildCommand(\" \"),\n        \t\tbuildCommand(\"W\"),\n        \t\tbuildCommand(\"O\"),\n        \t\tbuildCommand(\"R\"),\n        \t\tbuildCommand(\"L\"),\n        \t\tbuildCommand(\"D\"),\n        \t)\n        \n        \tdata, _ := pipeline.Execute()\n        \n        \tprint(data.String()) //Output: HELLO WORLD\n    }\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonutloop%2Fcommand-pipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonutloop%2Fcommand-pipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonutloop%2Fcommand-pipeline/lists"}