{"id":26061966,"url":"https://github.com/cloud-org/msgpush","last_synced_at":"2026-04-17T18:33:21.459Z","repository":{"id":40697016,"uuid":"464889060","full_name":"cloud-org/msgpush","owner":"cloud-org","description":"通用推送消息 simple sdk","archived":false,"fork":false,"pushed_at":"2022-07-02T04:16:14.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-08T15:49:58.981Z","etag":null,"topics":["feishu","golang","pushdeer","slack","wecom"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloud-org.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-01T12:44:16.000Z","updated_at":"2023-02-21T16:58:53.000Z","dependencies_parsed_at":"2022-07-08T04:55:18.752Z","dependency_job_id":null,"html_url":"https://github.com/cloud-org/msgpush","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/cloud-org/msgpush","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-org%2Fmsgpush","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-org%2Fmsgpush/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-org%2Fmsgpush/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-org%2Fmsgpush/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloud-org","download_url":"https://codeload.github.com/cloud-org/msgpush/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-org%2Fmsgpush/sbom","scorecard":{"id":292259,"data":{"date":"2025-08-11","repo":{"name":"github.com/cloud-org/msgpush","commit":"d86037315ddc8ca84fe823e92100daeef453df30"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"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":"Code-Review","score":0,"reason":"Found 0/5 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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2024-3098 / GHSA-cj55-gc7m-wvcq"],"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-17T18:33:54.863Z","repository_id":40697016,"created_at":"2025-08-17T18:33:54.863Z","updated_at":"2025-08-17T18:33:54.863Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31940933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"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":["feishu","golang","pushdeer","slack","wecom"],"created_at":"2025-03-08T15:48:51.523Z","updated_at":"2026-04-17T18:33:21.439Z","avatar_url":"https://github.com/cloud-org.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n**Table of Contents**  *generated with [DocToc](https://github.com/thlorenz/doctoc)*\n\n- [msgpush](#msgpush)\n  - [usage](#usage)\n  - [acknowledgement](#acknowledgement)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n### msgpush\n\n通用推送消息 simple sdk\n\n#### usage\n\n```sh\ngo get -v github.com/cloud-org/msgpush\n```\n\n```go\ntype NotifyPush struct {\n\tNotifys []msgpush.NotifyPush\n}\n\nfunc GetNotify(software, token string) (msgpush.NotifyPush, error) {\n\tswitch software {\n\tcase \"dingtalk\": // 钉钉推送\n\t\treturn msgpush.NewDingTalk(token), nil\n\tcase \"wecom\": // 企业微信推送\n\t\treturn msgpush.NewWeCom(token), nil\n\tcase \"slack\": // slack 推送\n\t\treturn msgpush.NewSlack(token), nil\n\tcase \"pushdeer\":\n\t\treturn msgpush.NewPushDeer(token), nil\n\tcase \"feishu\":\n\t\treturn msgpush.NewFeiShu(token), nil\n\tdefault:\n\t\treturn nil, fmt.Errorf(\"暂时不支持类型 %v\", software)\n\t}\n}\n\nfunc (n *NotifyPush) Push(content string) {\n\tif n == nil {\n\t\tlogx.Infof(\"notify push not init\")\n\t\treturn\n\t}\n\tfor i := 0; i \u003c len(n.Notifys); i++ {\n\t\tif err := n.Notifys[i].Send(content); err != nil {\n\t\t\tlogx.Infof(\"notify err: %v\", err)\n\t\t\tcontinue\n\t\t}\n\t}\n}\n\n```\n\n#### acknowledgement\n\n- github.com/imroc/req","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud-org%2Fmsgpush","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloud-org%2Fmsgpush","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud-org%2Fmsgpush/lists"}