{"id":23662780,"url":"https://github.com/kezhengjie/coroutinetool","last_synced_at":"2025-10-17T02:23:45.926Z","repository":{"id":163339224,"uuid":"514507944","full_name":"kezhengjie/coroutinetool","owner":"kezhengjie","description":"functional c++ tiny lib based on c++20 coroutine,for learning and utility purpose.","archived":false,"fork":false,"pushed_at":"2022-08-16T16:47:06.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-20T18:18:56.808Z","etag":null,"topics":["async-executor","coroutine","cpp","cpp-coroutines","cpp20","cpp20-library","fluent","modern","shell-command","shell-executor","system-commands"],"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/kezhengjie.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}},"created_at":"2022-07-16T07:19:46.000Z","updated_at":"2022-08-16T16:47:35.000Z","dependencies_parsed_at":"2023-05-18T12:12:43.438Z","dependency_job_id":null,"html_url":"https://github.com/kezhengjie/coroutinetool","commit_stats":null,"previous_names":["kezhengjie/coroutinetool","alpsmonaco/coroutinetool"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kezhengjie/coroutinetool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kezhengjie%2Fcoroutinetool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kezhengjie%2Fcoroutinetool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kezhengjie%2Fcoroutinetool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kezhengjie%2Fcoroutinetool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kezhengjie","download_url":"https://codeload.github.com/kezhengjie/coroutinetool/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kezhengjie%2Fcoroutinetool/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261243219,"owners_count":23129595,"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":["async-executor","coroutine","cpp","cpp-coroutines","cpp20","cpp20-library","fluent","modern","shell-command","shell-executor","system-commands"],"created_at":"2024-12-29T05:07:43.423Z","updated_at":"2025-10-17T02:23:40.881Z","avatar_url":"https://github.com/kezhengjie.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# coroutinetool\nfunctional c++ tiny lib based on c++20 coroutine,for learning and utility purpose.\n\ncurrently a async shell executor implemented.You could run system command in place with calling `fgets` etc...  \n\n## Start\n\n```c++\n#include \"async_shell_executor.h\"\n#include \u003ciostream\u003e\n\nusing namespace std;\nusing namespace coroutinetool;\n\nint main(int argc, char **argv)\n{\n    auto ae = AsyncExecutor::Run(\"ipconfig\");\n    while (ae)\n        cout \u003c\u003c ae();\n    cout \u003c\u003c \"return code is: \" \u003c\u003c ae.Code() \u003c\u003c endl;\n    ae = AsyncExecutor::Run(\"ipconfig\");\n    while (ae)\n        cout \u003c\u003c ae();\n    cout \u003c\u003c \"return code is: \" \u003c\u003c ae.Code() \u003c\u003c endl;\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkezhengjie%2Fcoroutinetool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkezhengjie%2Fcoroutinetool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkezhengjie%2Fcoroutinetool/lists"}