{"id":39015012,"url":"https://github.com/goexl/gex","last_synced_at":"2026-01-17T17:24:18.735Z","repository":{"id":44495815,"uuid":"446642364","full_name":"goexl/gex","owner":"goexl","description":"Golang exec extension library，Golang外部程序执行扩展库，提供更友好的操作API以及各种功能扩展，方便使用者更好的操作外部程序","archived":false,"fork":false,"pushed_at":"2025-03-28T01:44:08.000Z","size":620,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T02:36:36.853Z","etag":null,"topics":["call","exec","framework","go","golang","library"],"latest_commit_sha":null,"homepage":"https://gex.storezhang.tech","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goexl.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-01-11T01:49:43.000Z","updated_at":"2025-03-28T01:44:13.000Z","dependencies_parsed_at":"2024-04-25T05:29:23.689Z","dependency_job_id":"8e804605-993d-49d1-8467-306421ddbdfe","html_url":"https://github.com/goexl/gex","commit_stats":null,"previous_names":["golangex/exec"],"tags_count":47,"template":false,"template_full_name":null,"purl":"pkg:github/goexl/gex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goexl%2Fgex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goexl%2Fgex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goexl%2Fgex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goexl%2Fgex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goexl","download_url":"https://codeload.github.com/goexl/gex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goexl%2Fgex/sbom","scorecard":{"id":433688,"data":{"date":"2025-08-11","repo":{"name":"github.com/goexl/gex","commit":"be0a0b3b33ece0e0205ed4d3a19ca78ac93d631f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/approve.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/goexl/gex/approve.yml/master?enable=pin","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/approve.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T04:03:04.222Z","repository_id":44495815,"created_at":"2025-08-19T04:03:04.222Z","updated_at":"2025-08-19T04:03:04.222Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28512835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: 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":["call","exec","framework","go","golang","library"],"created_at":"2026-01-17T17:24:17.987Z","updated_at":"2026-01-17T17:24:18.716Z","avatar_url":"https://github.com/goexl.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gex\n\n[![Sourcegraph](https://sourcegraph.com/github.com/goexl/gex/-/badge.svg?style=flat-square)](https://sourcegraph.com/github.com/goexl/gex?badge)\n[![GoDoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](https://pkg.go.dev/github.com/goexl/gex)\n[![Go Report Card](https://goreportcard.com/badge/github.com/goexl/gex?style=flat-square)](https://goreportcard.com/report/github.com/goexl/gex)\n[![Build Status](https://github.ruijc.com:20443/api/badges/goexl/gex/status.svg)](https://github.ruijc.com:20443/goexl/gex)\n[![Codecov](https://img.shields.io/codecov/c/github/golangex/gex.svg?style=flat-square)](https://codecov.io/gh/goexl/gex)\n[![License](https://img.shields.io/github/license/goexl/gex)](https://raw.githubusercontent.com/goexl/gex/master/LICENSE)\n\nGolang exec extension library，Golang外部命令执行扩展库，有如下功能\n\n- 非常容易使用\n- 一切皆可配置\n- 可变参数\n- 运行时目录\n- 环境变量\n- 管道\n- 检查器\n    - 字符串包含`Contains`\n    - 字符串全包含`ContainsAll`\n    - 字符串任何包含`ContainsAny`\n    - 字符串相等`Equal`\n    - 路径模式匹配`PathMatch`\n    - 正则匹配`Regexp`\n- 通知器\n    - 应用内方法通知`Func`\n    - 其它通知器，通过额外代码库实现，不增加`Gex`的复杂度\n- 收集器\n    - 字符串`String`\n    - 文件`File`\n    - 文件名`Filename`\n    - 写入者`Writer`\n- 自动解决乱码\n\n## 快速开始\n\n`Gex`使用非常简单\n\n```go\npackage main\n\nimport (\n  `github.com/goexl/gex`\n)\n\nfunc main() {\n  _, _ = gex.Exec(`ping`, gex.Args(`www.163.com`, `-c`, 10))\n}\n```\n\nor\n\n```go\npackage main\n\nimport (\n  `github.com/goexl/gex`\n)\n\nfunc main() {\n  _, _ = gex.Exec(`ping`, gex.Cli(`www.163.com -c 10`))\n}\n```\n\n\u003e `Gex`有非常多的配置项，请参看[**使用文档**](https://gex.storezhang.tech)\n\n## 文档\n\n[点击这里查看最新文档](https://gex.storezhang.tech)\n\n## 使用示例\n\n[点击这里查看最新的代码示例](example)\n\n## 交流\n\n## 捐助\n\n![支持宝](https://github.com/storezhang/donate/raw/master/alipay-small.jpg)\n![微信](https://github.com/storezhang/donate/raw/master/weipay-small.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoexl%2Fgex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoexl%2Fgex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoexl%2Fgex/lists"}