{"id":22317543,"url":"https://github.com/neshkeev/cppipe","last_synced_at":"2025-12-31T14:32:36.921Z","repository":{"id":174441028,"uuid":"474777200","full_name":"neshkeev/cppipe","owner":"neshkeev","description":"A bash's pipe-like operator for c++","archived":false,"fork":false,"pushed_at":"2022-05-09T23:42:25.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T03:41:57.925Z","etag":null,"topics":["cpp20","header-only","monadic","pipeline","variant"],"latest_commit_sha":null,"homepage":"","language":"C++","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/neshkeev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2022-03-27T22:40:43.000Z","updated_at":"2022-04-06T23:49:33.000Z","dependencies_parsed_at":"2023-07-27T12:01:11.358Z","dependency_job_id":null,"html_url":"https://github.com/neshkeev/cppipe","commit_stats":null,"previous_names":["neshkeev/cppipe"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/neshkeev/cppipe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neshkeev%2Fcppipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neshkeev%2Fcppipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neshkeev%2Fcppipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neshkeev%2Fcppipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neshkeev","download_url":"https://codeload.github.com/neshkeev/cppipe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neshkeev%2Fcppipe/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265837591,"owners_count":23836557,"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","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":["cpp20","header-only","monadic","pipeline","variant"],"created_at":"2024-12-03T23:10:09.180Z","updated_at":"2025-12-31T14:32:36.866Z","avatar_url":"https://github.com/neshkeev.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview\n\nIntroduce the bash-like pipe functionality to C++. This is a header only library.\n\n# Building\n\n```\n$ cd cppipe # local repository\n$ mkdir build\n$ cd build\n$ cmake ..\n$ cmake --build .\n$ ctest -C Debug # run tests if needed\n$ sudo cmake --install .\n```\n\n# Example\n\n```cpp\n#include \u003ccppipe.h\u003e\n\nusing namespace cppipe;\n\nint main(int argc, char** argv)\n{\n  Result\u003cint\u003e start = 1;\n  auto inc = [](auto\u0026\u0026 i) -\u003e Result\u003cint\u003e { return i + 1; };\n  Result\u003cint\u003e result = start\n    \u003e\u003e [](auto\u0026\u0026 i) -\u003e Result\u003cint\u003e { return i * 2; }\n    \u003e\u003e inc\n    \u003e\u003e inc;\n\n  int res = run(result,\n    [](auto\u0026\u0026 i) { return i; },\n    [](auto\u0026\u0026 err) { return -1; });\n\n  ...\n}\n```\nPlease take a look at [tests](test/) for more\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneshkeev%2Fcppipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneshkeev%2Fcppipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneshkeev%2Fcppipe/lists"}